2007-09-12 14:29:51 +02:00
|
|
|
awesome
|
|
|
|
=======
|
2007-09-10 12:06:54 +02:00
|
|
|
awesome is an extremely fast, small, and dynamic window manager for X.
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
2008-01-09 14:26:27 +01:00
|
|
|
In order to build awesome itself, you need header files and libs of:
|
2008-05-20 15:39:47 +02:00
|
|
|
- Xlib, xcb and xcb-util.
|
|
|
|
- Lua 5.1
|
2008-01-09 14:26:27 +01:00
|
|
|
- cairo
|
2008-04-03 09:34:18 +02:00
|
|
|
- pango and pangocairo
|
2008-04-29 08:49:35 +02:00
|
|
|
- glib
|
2008-04-10 10:35:39 +02:00
|
|
|
- GTK+ or Imlib2 (use --with-imlib2 with ./configure)
|
2008-05-30 21:20:23 +02:00
|
|
|
- dbus (optional, use --with-dbus=no with ./configure to disable)
|
2008-01-09 14:26:27 +01:00
|
|
|
|
|
|
|
In order to build the awesome man pages, you need these tools:
|
|
|
|
- asciidoc (recent version)
|
|
|
|
- xmlto (recent version)
|
|
|
|
- docbook XSL stylesheets
|
|
|
|
|
|
|
|
In order to build the source code reference, you need these tools:
|
|
|
|
- doxygen
|
|
|
|
- graphviz
|
|
|
|
|
|
|
|
Building and Installation
|
|
|
|
-------------------------
|
2008-01-05 11:44:05 +01:00
|
|
|
If building from git sources, run "./autogen.sh". When autoreconf has
|
2008-01-04 20:49:49 +01:00
|
|
|
finished, you can follow the following instructions for building a dist
|
|
|
|
tarball.
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2008-01-04 20:49:49 +01:00
|
|
|
After extracting the dist tarball, run "./configure --help" and figure out
|
|
|
|
what you might want to adapt for your system. Then run ./configure with the
|
|
|
|
proper parameters, and build and install:
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2008-01-04 20:49:49 +01:00
|
|
|
./configure [...]
|
|
|
|
make
|
|
|
|
make install # might need root permissions
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2008-01-04 21:43:47 +01:00
|
|
|
If you're using gcc as your compiler and do not want awesome's default set
|
|
|
|
of warning flags, add AWESOME_CFLAGS="" to your "make" lines.
|
|
|
|
|
2008-01-09 14:26:27 +01:00
|
|
|
The source code reference can be built with "make doc".
|
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
Running awesome
|
2007-09-05 20:15:00 +02:00
|
|
|
-----------
|
2007-09-10 12:06:54 +02:00
|
|
|
Add the following line to your .xinitrc to start awesome using startx
|
|
|
|
or to .xsession to start awesome using gdm/kdm/xdm...:
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
exec awesome
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
In order to connect awesome to a specific display, make sure that
|
2007-09-05 20:15:00 +02:00
|
|
|
the DISPLAY environment variable is set correctly, e.g.:
|
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
DISPLAY=foo.bar:1 exec awesome
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
(This will start awesome on display :1 of the host foo.bar.)
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
Configuration
|
|
|
|
-------------
|
2008-05-20 15:39:47 +02:00
|
|
|
The configuration of awesome is done by creating a ~/.awesomerc.lua file.
|
2007-09-12 14:29:51 +02:00
|
|
|
An example is provided in the sources.
|