synergy

DODATAK: 20-2-2011
skracena verzija pokretanja pri podizanju sistema:
dodati file: "/home/~/.config/autostart/synergy.desktop"
sadrzaj fajla:

[Desktop Entry]

Exec=synergys -c /etc/pupit/synergy.conf



uspesno podesen jos pre godinu dana uz pomoc ovog howto-a
http://www.mattcutts.com/blog/how-to-configure-synergy-in-six-steps/

a sada me je kopkalo posto imam 2 racuanara
da podesim da mi se to automatski dize na Slackware
sistemima.

mcedit /etc/X11/xinit/xinitrc.kde
#koristim kde, shodno tome
dodao sam liniju bas na pocetak:
synergys -c /putanja/do/configuracionog/fajla/synergy.conf

izgleda ovako:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

synergys -c /home/p/synergy.conf

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
ck-launch-session startkde
else
startkde
fi


na ovakav nacin je moguce podesiti 99% Linux/GNU OS-a
koji koriste KDE kao graficko okruzenje.

Нема коментара:

Постави коментар