![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2008
Beans: 18
|
Autostart Synergy w/ Sudo
Help! I'm in BRAND new to Ubuntu. I decided to try it out on my secondary machine because windows needed a format. I used multiplicity before and saw that Synergy does the same thing. There is a bug with Synergy and the newest Ubuntu (8.0.4?) that causes so much lag it renders Synergy un-usable. The work-around to this is to run the synergy client (synergyc) with 'sudo'.
I follow the autostart directions exactly and it works (with lots of lag). The instructions say to use this script (/etc/X11/Xsession.d/85synergyc): /usr/bin/killall synergyc sleep 1 /usr/bin/synergyc <HOST NAME> This works, but with the lag as mentioned above. I tried changing it to: /usr/bin/killall synergyc sleep 1 sudo /usr/bin/synergyc <HOST NAME> & /usr/bin/killall synergyc sleep 1 /usr/bin/sudo synergyc <HOST NAME> I'm sure these attempts are laughable because neither worked. Any help would be greatly appreciated. Signed, Linux Newb, Wedgiey1 |
|
|
|
|
|
#2 | |
|
May the Ubuntu Be With You!
![]() |
Re: Autostart Synergy w/ Sudo
when I want to autostart I go to system>preferences>sessions then create new then add the program that I want to autostart for sudo add a gksu then a space then the program path
__________________
Quote:
|
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2008
Beans: 18
|
Re: Autostart Synergy w/ Sudo
I looked into this too; is there a way to make it run as the root that way?
|
|
|
|
|
|
#4 | |
|
May the Ubuntu Be With You!
![]() |
Re: Autostart Synergy w/ Sudo
gksu then a space then path to program
__________________
Quote:
|
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2008
Beans: 18
|
Re: Autostart Synergy w/ Sudo
I'll try this; to make certain though, do I run the "85synergyc" that I created? Or just the 'synergyc' command? And can I add arguments to the end of it? Lol, sorry for all the dumb questions, but this is all very new to me.
|
|
|
|
|
|
#6 | |
|
May the Ubuntu Be With You!
![]() |
Re: Autostart Synergy w/ Sudo
if the script you created opens the program just point the path to the script if you need to run the script and then open the program I think you put one of these (>) in between them like /path/to/script>/path/to/program don't quote me on that though
__________________
Quote:
|
|
|
|
|
| Bookmarks |
| Tags |
| autostart, client, sudo, synergy, ubuntu |
| Thread Tools | |
| Display Modes | |
|
|