Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > How to exec programs automatic after gdm bring up enlightenment?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 30th March 08:21
wang penghui
External User
 
Posts: 1
Default How to exec programs automatic after gdm bring up enlightenment?



Hi,all:

I am using enlightenment as the default session of my gentoo
installation. And i use gdm to bring up the session. I know that if
using xdm or wdm to bring up enlightenment there will be a file in one
user's home directory named .xsession. If you add some command in it, it
will exec the command automaticly. Is there any file could control the
automatic execd programs when i use gdm to bring up enlightenment.

Thanks in advance!

Wang Penghui

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


2 30th March 17:54
aaron walker
External User
 
Posts: 1
Default How to exec programs automatic after gdm bring up enlightenment?



You can select the Custom Session option in the gdm session selector.
Then all it will do is execute your ~/.xsession.

I do this with fluxbox; here's my .xsession to give you an idea:
<.xsession>
gnome-terminal --geometry 80x30+0+0 &
gnome-terminal --geometry 80x24+0+415 &
gkrellm2 &
fluxter -w &
root-tail -g 550x375+450+2 --wordwrap --shade -f /var/log/everything/current exec /usr/bin/startfluxbox
</.xsession>

You can run what you want (don't forget to use '&' if the program
doesn't exit back to the console immediately) and just change the last
line to your window/desktop manager. In your case,

exec /usr/bin/enlightenment

IIRC, your ~/.xsession must have the executable bit set (or is this
..xinitrc?) for things to work properly.

HTH
--
If Windows ****ed it would be good for something.

/* Aaron Walker
* http://butsugenjitemple.org/~ka0ttic/
*/


--
gentoo-user@gentoo.org mailing list
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666