View previous topic :: View next topic |
Author |
Message |
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Oct 24, 2002 11:10 am Post subject: starting programs on X login |
|
|
im currently using fluxbox, and i want to know how i can startup programs when i login from gdm/kdm/xdm, i tried .xinitrc and .xsession, there isnt a fluxbox Autostart, i cant think of anywhere else to put X startup programs (im thinking about amsn and xscreensaver here) _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Thu Oct 24, 2002 11:27 am Post subject: |
|
|
I recently solved this "misfeature" (i.e. .xinitrc not working) like this:
Code: |
/etc/X11/Sessions/enlightenment:
#!/bin/sh
. ~/.xsession
# put programs that have to be run for every user running enlightenment here
/usr/bin/enlightenment
|
Make sure .xsession returns immediately (i.e. execute programs in there with &).
The last program run in the above script should be your WM, without &, since the end of this script is the end of your session.
Cheers _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
simon Apprentice
Joined: 26 Apr 2002 Posts: 225 Location: Vienna
|
Posted: Thu Oct 24, 2002 11:36 am Post subject: Re: starting programs on X login |
|
|
TheCoop wrote: | there isnt a fluxbox Autostart |
You can use the Quote: | Unofficial 'Remember Patch' | which adds a submenu called Startup and some other little things.
http://fluxbox.sourceforge.net/
Simon |
|
Back to top |
|
|
|