Because awesome seems to lack an inbuild method of starting programs at startup
(unlike my previous wm-of-choice, fluxbox), and kdm, gdm and other display
managers completely ignore .xinitrc and .Xsession, I made the following wrapper
script:

#!/bin/bash
STARTFILE=${HOME}/.config/awesome/startup
if [ ! -e $STARTFILE ]; then
        touch $STARTFILE
        chmod +x $STARTFILE
fi
$STARTFILE
exec awesome

Then I modified the /usr/share/xsessions/awesome.desktop to run the wrapper
script. (KDM uses the mentioned .desktop file, at least on Gentoo). The programs
to start should be placed in the ~/.config/awesome/startup file.

Maybe something similar could be integrated in the future versions of awesome?

Jouni Rinne

-- 
| [EMAIL PROTECTED] ~$whoami            ^ ^  | "Trust me, I know what I'm 
doing!" |
| Jouni 'Mad Max' Rinne      ('x') | - Sledge Hammer                    |
| [EMAIL PROTECTED] ~$man woman       C " "  | -------[ph34r t3h 
p3Ngu1n]-------- |
| Segmentation fault (core dumped) | ::   Last.fm user ID: l33tmmx   :: |

-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to