Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have installed xmobar, xmonad on ubuntu 11.04.

#!/bin/bash

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 &

xmonad

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

2 Answers 2

up vote 8 down vote accepted

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

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

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.