Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed xmobar, xmonad on ubuntu 11.04.


trayer --edge top --align right --SetDockType true --SetPartialStrut true \
   --expand true --width 10 --transparent true --tint 0x191970 --height 12 &

nm-applet --sm-disable &

sleep 3
gnome-power-manager &


I put this in my .xsession file. But it does not seem to execute. I believe so because I do not see any of the applications in my processes list after the xmonad starts. Is there anything I am missing?

share|improve this question
up vote 9 down vote accepted

I think the most probable stopper here would be that your .xsession script lacks the execute permission (+x).

In gdm, you also need to choose “Custom Session” (and not the standard “Xmonad” session) in the Session menu before logging in.

share|improve this answer

Can also use .xprofile to execute additional programs (no +x needed btw) to xmonad.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.