Results 1 to 2 of 2
I’ve got quick one…
I’m running synergy between Windoze and RedHat. I start the client on the RedHat machine by manually entering in:
Code:
synergyc 192.168.0.5
Well I want it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2005 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 22
Simple script question for X
I’ve got quick one…
I’m running synergy between Windoze and RedHat. I start the client on the RedHat machine by manually entering in:
Well I want it to kick on when I start my GUI instead of manually running it. I found that if you enter in a script in:Code:synergyc 192.168.0.5
The script will run when X starts, but when X is on I have an Emacs window up with my script contents? I know the script works because I have tried in from the path and given it the correct permissions. Here is my script file (mind you I’m very new at scripting)Code:/home/nice/.kde/Autostart
Is this wrong anyone got any input?Code:#bin/bash synergyc 192.168.0.5
- 08-05-2005 #2
Well, first off, the script doesn't even have to be that complex. Just make a file:
set it executable, and stick it somewhere.Code:synergyc 192.168.0.5
Now then, what I'd recommend is more of fiddling with ~/.xinitrc, because I know how that works. Basically, anything there will be executed after X starts up. So for you, stick the following there:
That'll start X, then run your script in the background, and boot up KDE. When you exit KDE, you'll return to the commandline.Code:/path/to/sysenrgyc/script & exec startkde


Reply With Quote
