View Single Post
  #5   (View Single Post)  
Old 12th September 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You can always check how your login manager knows what program to execute (e.g. wm2) and set it at a custom script. This is basically what ~/.xinitrc (X) or ~/.xsession (XDM) is for I think, but it's been a long time since I setup stuff that way...



My system uses GDM and a custom session file defined as executing a init.sh script in my home directory, instead of a window manager directly. Where ~/init.sh serves to execute a few programs in the background (e.g. my wall paper rotator, pidgin&, etc) and finally launches my window manager: blackbox, and being a humble shell script owned by my user, I can edit it later without being root lol.

While still working essentially the same way as X.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote