Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running Synergy When Entrance Starts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Nimlot
n00b
n00b


Joined: 28 Nov 2005
Posts: 27

PostPosted: Mon Sep 04, 2006 5:13 am    Post subject: Running Synergy When Entrance Starts Reply with quote

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
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Mon Sep 04, 2006 5:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Nimlot
n00b
n00b


Joined: 28 Nov 2005
Posts: 27

PostPosted: Mon Sep 04, 2006 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Mon Sep 04, 2006 7:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Nimlot
n00b
n00b


Joined: 28 Nov 2005
Posts: 27

PostPosted: Mon Sep 04, 2006 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Tue Sep 05, 2006 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum