Sun, 14 Sep 2008

Custom X startup using GDM

I wanted to run my own startup script, since I've been using awesome windows manager lately, and wanted to run a few items at startup as well. This ended up being more difficult than it should have been probably, but it works. I ended up just creating a ~/.xsession file like so:
xbindkeys &
exec awesome
Then just made that file executable. I then edited my ~/.dmrc file and changed "Session=awesome" to "Session=custom". That tells GDM to launch X using your ~/.xsession instead of a specific windows manager, allowing you to run whatever you want at startup as well.

posted at: 01:55 | path: /debian | permanent link to this entry


Powered by PyBlosxom | RSS 2.0