Home > debian, dica > synergy (gdm and gnome) automatically

synergy (gdm and gnome) automatically

Hi all,

Imagine the mouse of your laptop going to the monitor of desktop as a magic.

Probably many of you know about a great application called synergy, it ables you to use 1 keyboard and mouse with many machines. I use a desktop and an laptop in my job and just use the keyboard and mouse of my laptop to control both. It’s much easy and fast. I’m using debian and to install it is very simple.

apt-get install synergy

My configuration file is :

alecrim@alecrim ~ $ cat /etc/synergy.conf
section: screens
senna:
alecrim:
end
section: links
senna:
right = alecrim
alecrim:
left = senna
end

Start the server in the control side.

synergys -c /etc/synergy.conf

And the client in the side controlled.

synergyc $SERVER_IP

Now, you can control both using just keyboard and mouse of control side(in my case, machine alecrim).

You don’t need to start you all the time put gdm init(/etc/gdm/Init/Default), before “exit 0″ the command to start synergy client.


synergyc 172.18.216.170

exit 0

And the in gnome startup applications put synergyc(in controlled side) and synergys(in control side). ;)

Easy and fast.

;)

Categories: debian, dica Tags:
  1. No comments yet.
  1. No trackbacks yet.