[Xmonad] Dynamically reloading Config

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri Apr 13 07:09:55 EDT 2007

> Hello,
> Is it possible to dynamically reload the Config?
> In a previous thread dons mentioned mod-ctrl-shift-q which calls
> 'restart' which exec()s itself. However when I do that xmonad closes
> and I'm back at my xdm prompt.

Hmm. You should you didn't 'quit' instead of 'restart'?

mod-shift-q == quit, back to xdm
mod-shift-q-ctrl == restart, fork the xmonad binary again.

If the latter doesn't work, its a bug report you need to write :-)

> Maybe that has to do with my ~/.xsession:
> #!/bin/bash
> xsetroot -gray                        &
> Esetroot ~/pictures/lastlight1280.jpg &
> firefox http://mail.google.com/mail &
> /home/bas/bin/xmonad

The last line should be:  
    exec /home/bas/bin/xmonad
I think.

-- Don

More information about the Xmonad mailing list