How do I make it so that whenever the file blah.pdf on computer A is changed, its copy at computer B is updated? I believe I must setup some daemons on A and B.
A is a Linux system and B is a Windows system.
Motivation: I'm editing and compiling TeX documents on A and it'd be good if I can see the output on B's monitor. Alt-tabbing is kind of pain. Maybe I should really just buy a second monitor or a bigger one.
There are several possibilities. You could script some file replication system like rsync; or you could just share a drive between the two computers, e.g. via SAMBA.
Or just use VNC/RDP/etc. to work on one computer while using the other. Then there's no need to push files around.
If its just that you want two monitors, try synergy2 . its basically a software KVM. lets you move your mouse from one screen to the next and use the same keyboard, as if the screen was extended. Really cool little app. Doesnt solve the moving the file thing, but it seems like thats not your primary problem, and that you really just want more desktop space.
Hope that helps
Mark
You can share a drive from Windows, or use Samba to share a directory on Linux, then use
rsync
on Linux to ensure the remote drive/shared directory is synced with your working copy.However you're likely to have the problem that the Windows-based viewer program won't automatically reload the document, so you'll have to go and do something manually on the Windows machine to view the new document. I'd suggest synergy2 (From @Mark) or Win2VNC (or something similar with Linux in control). Then you don't have to switch mouse and keyboard to reload the document, merely move the mouse.
Dropbox would actually work really well for this. Plus it's cross-platform.