[openbox] Run on startup

Lutz Schönemann lutz.schoenemann at sit.fraunhofer.de
Thu Dec 16 07:30:45 EST 2004



ivanova wrote:
> On Mon, 13 Dec 2004 17:33:00 +0000
> Lutz Schönemann <lutz.schoenemann at sit.fraunhofer.de> wrote:
> 
> 
>>>>I don't think that ~/.xsession works with gdm because gdm runs the 
>>>>chosen wm directly as far as I know. But maybe it is possible to add a 
>>>>action-tag into the rc.xml file? Is there any documentation that 
>>>>describes the rc.xml file?
>>>>
>>>>Jesper Noehr wrote:
>>>>
>>>>
>>>>>[...]
>>>>>
>>>>>
>>>>>
>>>>>>Does this work also with gdm? Is there no other way with a specific 
>>>>>>config file of openbox (i.e. rc.xml)?
>>>>>
>>>>>
>>>>>There is no "autoexec this" feature on openbox as far as I know.
>>>>>~/.xinitrc will not work with GDM, but I think I read somewhere that you
>>>>>can use ~/.xsession or equivalent for this. Correct me if I'm wrong.
>>>>>
>>>
>>>
>>>I use gdm and ~/.xsession without problems ;)
>>>
>>
>>hmm, maybe you can paste me your ~/.xsession so that I can look for some 
>>failures I made...
> 
> 
> Just a normal shell script - make sure it's executable.
> 
> ---------------------8<-------------------------------
> #!/bin/bash
>  
> export GDK_USE_XFT=1
> 
> /usr/libexec/gnome-settings-daemon --disable-sound &
> torsmo &
> irexec &
> xbindkeys &
> devilspie &
> feh --bg-tile /stuff/images/Synaptic_Terminal.jpg &
> pypanel &
> xscreensaver -nosplash &
> exec /usr/bin/openbox
> 
> ---------------------8<-------------------------------
> 

Okay, the script works fine... Now what you've done to make gdm run this 
script and not directly the openbox binary?



More information about the openbox mailing list