This how-to purpose is to help you build Awesome 3 on Ubuntu Intrepid Ibex.
Table of contents:
1. What is Awesome 3
2. Why building?
3. Building
4. Troubleshooting
5. Infos and References
1. What is Awesome 3
Awesome is a dynamic window manager for the X Window System. Its development began in September 2007 as a fork of dwm. It aims at being extremely small and fast and supports multiple layouts such as floating, tiling, and maximized. Like many other tiling window managers, it strives to make it possible for the user to productively manage windows without the use of the mouse.
[From Wikipedia]
Awesome 3 is very speedful, uses XCB and Lua for configuration, and provide pipes for which you can build widgets to enhance your experience.
2. Why building?
At the time of writing Awesome version in Intrepid is 2.3.2-1 while the last release version is 3.x.
3. Building
Get utilities for building
Code:
$ sudo apt-get install build-essential autoconf automake libtool gperf xmlto git git-core cmake
Get dependencies for awesome
Code:
$ sudo apt-get install libx11-dev libxinerama-dev libxrandr-dev libpango1.0-dev libimlib2-dev libgtk2.0-dev libxcb-shm0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-shape0-dev libcairo2-dev libxcb-xinerama0-dev liblua5.1-filesystem0 liblua5.1-logging libdirectfb-dev libxt-dev libx11-xcb-dev libev3 libev-dev libxcb-aux0
Get lua
Code:
$ sudo apt-get install lua5.1 liblua5.1-0-dev
Get Xcb utils and compile (Version in Intrepid Ibex is too old)
Code:
$ git clone git://anongit.freedesktop.org/git/xcb/util
$ cd util && ./autogen.sh && make && sudo make install
Get Awesome and compile
Code:
$ wget http://awesome.naquadah.org/download/awesome-3.1.tar.gz && tar xzf awesome-3.1.tar.gz
$ cd awesome-3.1 && make && sudo make install
[Partially from Awesome Wiki]
Finally, create an entry in GDM
Create a new .desktop file in /usr/share/xsessions, for example awesome.desktop
And copy paste :
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Awesome!
Comment=This session starts Awesome 3
Exec=/usr/local/bin/awesome
Type=Application
Log out, choose your Awesome session, enjoy.
See 5 for configuration and extras.
4. Troubleshooting
1. If cmake complains about cairo-xcb :
Get Cairo and compile
Code:
$ wget http://www.cairographics.org/releases/cairo-1.8.0.tar.gz && tar xzf cairo-1.8.0.tar.gz && cd cairo* && ./configure --enable-xcb && make && sudo make install
You are not supposed to update Cairo with .deb at this point unless they are built with XCB support
Please tell me if you have any problem so I can update this how to.
5. Infos and References
- Awesome webpage
- Wikipedia Article
- Awesome Wiki
- Configure Awesome 3
- Contributed Widgets for Awesome
Bookmarks