awesome (window manager)
Original author(s) | Julien Danjou |
---|---|
Stable release | 3.4.4
/ March 2, 2010 |
Repository | |
Written in | C and Lua |
Operating system | Unix-like |
Type | Window manager |
License | GNU General Public License[1] |
Website | awesome.naquadah.org |
awesome is a dynamic tiling/stacking window manager for the X Window System developed in C and Lua programming language. The latter is also used for configuring and extending the window manager. Its development began as a fork of dwm[2]. It aims at being extremely small and fast and supports multiple layouts such as floating, tiling, and maximized. Like many tiling window managers, it strives to make it possible for the user to productively manage windows without the use of the mouse. It also supports the pango markup language, and D-Bus for communication.
The fork was initially nicknamed jdwm, with 'jd' denoting the first letters of its principal programmer's name, and with dwm reminding of the software project it forked from. The first git repository for what was to become awesome was set up in September 2007. jdwm was renamed to awesome, named after the same phrase used by the How I Met Your Mother character Barney Stinson[3]. awesome window manager was officially announced on dwm mailing list on September 20, 2007[2].
Aim of the project
A window manager is probably one of the most used software in your day-to-day tasks, with your Web browser, mail reader and text editor. Power users and programmers have a big range of choice between several tools for these day-to-day tasks. Some are heavily extensible and configurable.
awesome tries to complete these tools with what we miss: an extensible, highly configurable window manager.
To achieve this goal, awesome has been designed as a framework window manager. It's extremely fast, small, dynamic and heavily extensible using the Lua programming language.[4]
Awesome has emerged as a dwm fork featuring customization through external configuration files (see Configuration and customization below). Although highly extensible, the default setup of the window manager is deliberately simplified. In doing so, the author has created what he calls a framework window manager[3] for users to expand and adapt to their own needs.
Features
- Multiple and per screen status bars, including a variety of widgets (text and icon boxes, graphs, progress bars, and so on).
- Zero mouse dependency. Keyboard accelerated desktop environment.
- Multihead support (XRandR, Xinerama or Zaphod mode).
- EWMH support.
- Real transparency support (using Composite extension and xcompmgr).
- Customized entirely through editing a Lua script configuration file.
- Each function for manipulating the environment is bindable to keys/ mouse buttons and executable remotely via D-Bus (awesome-client).
Configuration and customization
From the very beginning, awesome was conceived as a dwm fork with an external configuration file[3]. As such, its configuration file format, and the process of configuration itself, was subject to special attention by the author.
Early configuration file formats
Prior to the third major release, one of awesome's features was what Danjou termed a 'no complicated configuration'[5]. First versions of awesome (1.x) were simple modification of dwm with flat file configuration which used libconfig. In 2.x branch, Danjou changed the configuration library from libconfig to libconfuse, a different flat file configuration library, somewhat resembling libconfig. During the development of 2.x releases, many customization features were added to awesome, such as titlebars and icon drawing.[3]
New configuration file
On May 20 2008, Danjou announced in an e-mail to awesome mailing list[6] that a new format for the configuration file will be used in 3.0 release. The new format was placed in a file ~/.awesomerc.lua, and was later moved to ~/.config/awesome/rc.lua. As the extension suggests, the configuration file is written in Lua programming language. Danjou argued that the new format and Lua integration would enable awesome users to customize awesome in ways he previously considered impossible: using a programming language for configuration made it possible to dynamically specify configuration options[6].
awesome Lua API is now hosted on awesome's homepage[7], and tutorial-style article about configuring awesome is posted on awesome Wiki[8].
awesome configuration converter
For users migrating from 2.x releases, awesome configuration converter is being developed, although its wiki page states that the development is still in early stages and the software "doesn't work at the moment"[9].
Themes and widgets
It is possible to theme (or skin) awesome by using the window manager's Beautiful library[10]. In line with rc.lua configuration file, theming is also done in Lua, allowing dynamic themes to be created.
Although the default awesome configuration as of 3.2.1 release does not have any status indicators (like wireless network status, battery indicators, etc), users can add these items using widgets[11]. Data for the widgets is supplied using arbitrary Lua code since widgets are defined in the main configuration file.
There is also an alternative Wicked Lua library which can be used for creating widgets[12]. Wicked is not included with awesome, but it can be obtained in binary package form, or otherwise installed with distribution's packaging system, in many distributions including Debian, Arch Linux, Source Mage GNU/Linux, and Gentoo Linux.
Migration to XCB
The 3.0 version, released September 18, 2008, uses the XCB library to communicate with the X server[13], making awesome the first window manager to use this library instead of Xlib. Work on the XCB port was started by Arnaud Fontaine, one of the current awesome developers[14], in January 2008[3].
Arnaud Fontaine announced the move to XCB on the XCB mailing list on April 9 2008[13]. In his message to the list, he emphasized the following as main advantages of using XCB: "modular architecture; direct access to the protocols; multithreading; asynchronous requests/replies;". The XCB port was completed the following month and Danjou created a new branch based on XCB[3].
Lua integration
Because of the perceived problems that limited expanding and customization in pre-3.0 version of awesome, the author decided to integrate Lua-based configuration into awesome[5]. The rc1 of the new Lua-scriptable implementation was announced in August 2008[15]. In September 2008, the first version of awesome with Lua API completed in parallel with XCB implementation.
As of release 3.2.1, awesome features following Lua libraries are included in awesome divided into modules[7]:
- awful – AWesome Functions very UsefuL, handles all of the window manager functionality
- awful.client – Client module for awful
- awful.completion – Completion module for awful
- awful.hooks – Hooks module for awful
- awful.layout – Layout module for awful
- awful.menu – Menu module for awful
- awful.mouse – Mouse module for awful
- awful.placement – Placement module for awful
- awful.prompt – Prompt module for awful
- awful.screen – Screen module for awful
- awful.tag – Tag module for awful
- awful.titlebar – Titlebar module for awful
- awful.util – Utility module for awful
- awful.widget – Widget module for awful
- beautiful – Theme library
- capi – awesome C API
- invaders – Space Invaders look-alike
- naughty – Notification library
- tabulous – Fabulous tabs
- telak – Root window image display library
Distribution package availability
awesome is distributed on a wide range of Unix-like operating systems, including Arch Linux, Debian, Gentoo, PLD Linux, Ubuntu, Source Mage GNU/Linux, T2 SDE, AuroraUX, FreeBSD, NetBSD and OpenBSD.
A list of supported packages can be found on download page.[16]
Named releases
Until version number 1.3 awesome window manager did not have named releases[17]. Since the release of 2.0 release candidate, awesome has used named releases starting with 2.0-rc1 nicknamed "Bumping Toaster", followed by 2.0-rc2 "Softened Lights", 2.0 "Fruit Fly", all the way to 3.2 "Accidental Babies", 3.2.1 "Complicated" , 3.3.2 "Half-Moon", 3.3.3 "Firelight" and 3.3.4 "Mercury".
Invaders module
Among standard awesome libraries, there is a library called 'invaders', which contains the Space Invaders video game clone, written by Gregor "farhaven" Best[18]. This module was first introduced in 3.1 release[19]. For the 3.4 release, the module has been removed due to its novelty nature, increasing needs for maintenance and fading interest.
Licensing
awesome is free software licensed under the GNU General Public License version 2.
See also
- Comparison of X window managers
- dwm
- wmii
- StumpWM
- Ion (window manager)
- Stacking window manager
- Tiling window manager
- XMonad
References
- ^ git.naquadah.org Git - awesome.git/history - LICENSE
- ^ a b Project announcement from dwm mailing list.
- ^ a b c d e f Julien Danjou's blog: Taking the other direction (April 15th, 2009)
- ^ "about - awesome window manager". Retrieved 2009-04-23.
- ^ a b awesome 3: Lua integration
- ^ a b News on awesome-3 and about latest commits (May 20, 2008)
- ^ a b awesome API documentation
- ^ Awesome 3 configuration
- ^ acc page on awesome Wiki: Just what I need. Where can I try it?
- ^ awesome Wiki: Beautiful
- ^ awesome Wiki: Widgets in awesome
- ^ awesome Wiki: Wicked library
- ^ a b XCB transition announcement from XCB mailing list
- ^ Community page on awesome homepage: under Developers heading
- ^ 3.0-rc1 announcement on awesome mailing list
- ^ awesome download page
- ^ awesome Wiki: List of awesome releases
- ^ Invaders library API documentation
- ^ Julien Danjou's blog: Changes in awesome 3.1
External links
- Official website
- Customization example
- Man page
- Screenshots
- Julien Danjou's blog: Space invaders for awesome
- Falko Benthin (2008-12-01). "Herr der Fenster. Schlanker Windowmanager Awesome". Linux User (in German) (12/2008). ISSN 1615-4444. Retrieved 2010-03-16.
{{cite journal}}
: Unknown parameter|trans_title=
ignored (|trans-title=
suggested) (help)