Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. 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

Has anyone succeeded in installing Awesome WM on Raspbian? If yes, how do you switch between LXDE and Awesome?

I know that Arch will likely allow installation of Awesome WM as a window manager, but I find Debian and hence Raspbian easier to use, moreover I am fairly comfortable with Debian having used it on x86.

share|improve this question
Lua runs really well on the Pi, so Awesome shouldn't be any issue. Just install it via your package manager. – Jivings Nov 11 '12 at 21:22
@Jivings I did install it using apt-get but still have not figured out how to switch to it; startx still invokes LXDE and just typing awesome at the command line produces an error. – haziz Nov 11 '12 at 21:27
Ah right, got it. I'll post you an answer. – Jivings Nov 11 '12 at 21:38
up vote 5 down vote accepted

You need to edit your ~/.xinitrc file, removing or commenting this line:

exec ck-launch-session startlxde

and adding this line:

exec awesome

Then run startx as usual. The .xinitrc file defines the commands that execute when X is started.

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.