On Sun, Jun 26, 2011 at 7:44 AM, Bogdan Cristea <[email protected]> wrote:
> I would like to execute at startup a script allowing to launch synergy client.
> I have put this script in  /etc/init.d and made a soft link to the script in
> /etc/rc5.d, but the client is not running. What is the approach I need to
> follow in order to lauch a script at startup ?

The synergy client (synergyc) can not be started from an init.d
script, as this would not enable the client to connect to the X11
session and do it's work.

You need to make a desktop autostart file, and put it in
~/.config/autostart/. Something like this (adjust options
appropriately for your systems) will work:

$ cat ~/.config/autostart/synergy-client.desktop
[Desktop Entry]
Name=Synergy client
Exec=synergyc -n client server.com --no-daemon
X-MeeGo-Priority=Low
X-MeeGo-Watchdog=Restart

Auke
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to