LightDM startup scripts
Hi all,
I'm wanting to upgrade from 11.04 to 11.10 and everything looks ok except one thing. I am using Synergy Foss to share my mouse & keyboard with other PCs. The server is the Ubuntu box about to be upgraded, so it won't have GDM anymore since LightDM took over. I would like it to be running when the login screen is on (so I don't have to log into it to be able to use another machine) and running when the user logs into the session. I am currently using the following to achieve this:
• /etc/gdm/
[code start]
/usr/bin/killall synergys
while [ $(pgrep -x synergys) ]; do sleep 0.1; done
/usr/bin/synergys --config /etc/synergy.conf
[code stop]
• /etc/gdm/
[code start]
/usr/bin/killall synergys
while [ $(pgrep -x synergys) ]; do sleep 0.1; done
[code stop]
• /etc/X11/
[code start]
/usr/bin/killall synergys # not sure why this is here, the examples on the net had this, probably a mistake)
while [ $(pgrep -x synergys) ]; do sleep 0.1; done
/usr/bin/synergys --config /etc/synergy.conf
[code stop]
What is the preferred way of doing this on the new Ubuntu that uses LightDM?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Gabriel for more information if necessary.