Fenster-Manager awesome auf Ubuntu 13.10

$ sudo apt-get install synaptic awesome-extra gksu
~/.config$ mkdir awesome
~/.config$ cd awesome
~/.config/awesome$ cp /etc/xdg/awesome/rc.lua .

rc.lua ändern :

~/.config/awesome$ mousepad rc.lua
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod3"
    tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[2])

In rc.lua unten anhängen :

awful.util.spawn_with_shell("~/.config/awesome/run_once nm-applet")
awful.util.spawn_with_shell("~/.config/awesome/mod3CapsLock.sh")

Skript mod3CapsLock.sh

xmodmap -e "clear lock"
xmodmap -e "clear mod3"
xmodmap -e "remove mod4 = Super_R"

# keycode 66 is Caps_Lock
xmodmap -e "keycode 66 = Super_R"
xmodmap -e "add mod3 = Super_R"