You are not logged in.
Taken from:
http://haskell.org/haskellwiki/Xmonad/C … figuration
and modified abit
Since most people put exec xmonad into xinitrc, hence the question
#!/bin/bash
# Load resources
xrdb -merge .Xresources
# Set up an icon tray
trayer --edge top --align right --SetDockType true --SetPartialStrut true \
--expand true --width 10 --transparent true --tint 0x191970 --height 12 &
# Set the background color
xsetroot -solid black
# Fire up apps
# gajim &
# xscreensaver -no-splash &
# if [ -x /usr/bin/nm-applet ] ; then
# nm-applet --sm-disable &
# fi
# if [ -x /usr/bin/gnome-power-manager ] ; then
# sleep 3
# gnome-power-manager
# fi
exec xmonad
Offline
AFAIK you should choose .xsession if you use use a login manager (like [xgk]dm), and .xinitrc otherwise.
Finally, thanks go to Dennis Ritchie and Ken Thompson, who showed a generation of programmers that complexity is avoidable.
(Marc J. Rochkind in Advanced UNIX Programming)
Offline
ok, but what's the reason for that?
Offline
ok, but what's the reason for that?
Because, if you use it, your session manager (KDM/GDM/XDM/Whatever) will not read .xinitrc .;)
Offline
By default in Arch, .xsession just runs .xinitrc anyway, so you don't have to decide. Put everything in .xinitrc and enjoy another case of Arch simplicity.
Offline