Synergy in Debian
What if you have more computers then mouses and keyboards, or if you just do not want to switch mouse or keyboard everytime you want to use "the other" computer?
If this is the case then there is a nice tool that can help you do this. I am talking "synergy" (click here for more info). This nice little app is available for Linux, MacOS and even Ms Windows. Well, in short... I don't know hhow it is for MacOS as I did never try, but for Windows the install is as easy as ever and will not be covered here. For Linux it is also as easy, especially if you use Debian. Just type
sudo aptitude install quicksynergy
and the little app, with a nice user interface will be downloaded and installed in a blink of an eye.
Of course, there is a bit more to say about all this. For example, what if you want to start it before login and what if you want to use it as a synergy server? Then it becomes a bit more complicated. Let us first discuss how to start synergy in Debian before login.
Autostart the synergy client in Debian
Well, there is actually a great How-To about this on the Synergy website. You can find it here. You will notice that the folders in Debian differ a bit, but I assume that this will not a big problem. If it is then here you get a hint from my side:
|KDM (for KDE 4.11)||GDM|
Ow, and if a file does not exist yet... then you create it, but I guess there was no need to actually say that!
One more thing; instead of the "synergy-server-hostname" you can also put here the ip address of the computer that will become ther synergy server (= the computer that actually is connected to the mouse and keyboard).
if synergy does not load after your login, then you can try to let Gnome (System->Preferences->Sessions) or KDE (?no idea?) to autostart it.
Now you can follow the rest of the guide.
Start the synergy server in Debian
Well, to start the server we need to know some things. First; does that server have a fixed ip address. This can be very useful (as hostnames not always seem to work well). If this is the case then you can use the same procedure as above to make the computer start with synergy. The only difference is that instead o
/usr/bin/synergyc [<options>] synergy-server-hostname
you will have to use:
/usr/bin/synergys --config <config file> /usr/bin/synergys --config /home/patrick/.quicksynergy/synergy.conf
Now it should work. Good luck and I hope it helped.