View previous topic :: View next topic |
Author |
Message |
Nimlot n00b
Joined: 28 Nov 2005 Posts: 27
|
Posted: Mon Sep 04, 2006 5:13 am Post subject: Running Synergy When Entrance Starts |
|
|
Hi everbody. I'm having some trouble figuring out how to get Synergy to run when Entrance starts on my inputless machine. I've tried changing /etc/init.d/xdm and also /etc/X11/StartDM.sh but I'm really not sure what I need to edit to do this. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Mon Sep 04, 2006 5:54 am Post subject: |
|
|
For one, you have to make sure synergy is started after X has started. Synergy needs X to be fully up and running before it can start. _________________ Part of "The adopt an unanswered post initiative" |
|
Back to top |
|
|
Nimlot n00b
Joined: 28 Nov 2005 Posts: 27
|
Posted: Mon Sep 04, 2006 6:34 am Post subject: |
|
|
Well yes, that's the idea. I'm just not sure what script will be running right after X starts since the two I mentioned didn't work. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Mon Sep 04, 2006 7:00 am Post subject: |
|
|
Unfortunately I don't have a computer with X available to me this very minute. But I would suggest you begin with the init script you use to start X and then read the code and follow it untill you find where X is started, then add it after that. I think /etc/X11/X might be a candidate. _________________ Part of "The adopt an unanswered post initiative" |
|
Back to top |
|
|
Nimlot n00b
Joined: 28 Nov 2005 Posts: 27
|
Posted: Mon Sep 04, 2006 7:47 pm Post subject: |
|
|
I think that entranced is starting X, rather than a script. I ran
Code: | grep -r "/usr/X11R6/bin/X" /etc/ |
and only entrance_config.cfg came back. Also tried ~/.xprofile but that seems to execute on login, not when Entrance (and X) starts.
Edit: I also tried
Code: | grep -r "startx" /etc/
grep -r "xinit" /etc/ |
but still can't figure out where X starts (following /etc/init.d/xdm didn't lead me to X starting).
Edit 2: To be more specific, I need Synergy to start every time Entrance starts, whether that's when the computer boots up or when I log off my WM. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Tue Sep 05, 2006 5:41 am Post subject: |
|
|
Well, that is true, but then since entrance is started by xdm, maybe xdm could start synergy as well, but maybe that is oversimplification on my part.
What I would really do is contact the developers of Entrance and ask them if there is a good hook where you can add synergy. Unfortunately, Entrance seems to have been on hiatus a while and the documentation is gone, so you might have to do some detective work there. _________________ Part of "The adopt an unanswered post initiative" |
|
Back to top |
|
|
|