Development/기타
Ubuntu 에서 Synergy 사용하기
까 치
2011. 1. 1. 13:29
Starting the Synergy SERVER on boot up.
Sample configuration file
Make a directory in /etc to store the configuration:
Setup my synergy server configuration file:
To make the server run when gdm runs, but before anyone has logged in:
edit /etc/gdm/Init/Default:
Added the following lines in the middle of the file BEFORE the "sysmodmap=/etc/X11/Xmodmap" line:
The only problem with that is once you log in it kills off the server, so you need to make it start again for you.
edited /etc/gdm/Init/Default:
Added the following lines in the middle of the file BEFORE the "XSETROOT=`gdmwhich xsetroot`" line:
Log out and back in again.
The synergy server should now startup and run whenever your gdm session does.
Starting the Synergy CLIENT on boot up.
Sample configuration file
section: screens
youngseok7_lee:
magpie-desktop:
super = meta
end
section: links
youngseok7_lee:
left = magpie-desktop
magpie-desktop:
right = youngseok7_lee
end
section: options
switchDelay = 0
end
youngseok7_lee:
magpie-desktop:
super = meta
end
section: links
youngseok7_lee:
left = magpie-desktop
magpie-desktop:
right = youngseok7_lee
end
section: options
switchDelay = 0
end
Make a directory in /etc to store the configuration:
Code:
sudo mkdir /etc/synergy
Code:
sudo gedit /etc/synergy/synergy.conf
edit /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/Init/Default
Code:
SYNERGYS=`gdmwhich synergys`
if [ x$SYNERGYS != x ] ; then
$SYNERGYS --config /etc/synergy/synergy.conf
fi
edited /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/PreSession/Default
Code:
SYNERGYS=`gdmwhich synergys`
if [ x$SYNERGYS != x ] ; then
$SYNERGYS --config /etc/synergy/synergy.conf
fi
The synergy server should now startup and run whenever your gdm session does.
Starting the Synergy CLIENT on boot up.
These instructions should work for running the synergy client on your UBUNTU machine to connect to a locally networked computer running the synergy server. (I've not actually tried them myself.)
Let us know how you get on.
NOTE:
The <address of server machine> will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string <address of server machine>)
To make the client run when gdm runs, but before anyone has logged in:
edit /etc/gdm/Init/Default:
Let us know how you get on.
NOTE:
The <address of server machine> will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string <address of server machine>)
To make the client run when gdm runs, but before anyone has logged in:
edit /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/Init/Default
Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC <address of server machine>
fi
edited /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/PreSession/Default
Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC <address of server machine>
fi
The synergy client should now startup and run whenever your gdm session does.
NOTE:
The <address of server machine> will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string <address of server machine>)