Awesome (window manager) explained

awesome
Screenshot Size:300px
Author:Julien Danjou
Released:[1]
Genre:Window manager
License:GPL-2.0-or-later[2]
Website:awesomewm.org
Programming Language:C and Lua
Operating System:Unix-like

awesome is a dynamic window manager for the X Window System developed in the C and Lua programming languages. Lua is also used for configuring and extending the window manager. Its development began as a fork of dwm, though has differed considerably since.[3] It aims to be extremely small and fast, yet extensively customizable. It makes it possible for the user to manage windows with the use of keyboard.

The fork was initially nicknamed jdwm, where "jd" denoted the principal programmer's initials and dwm denoted the software project it was 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.[4] awesome was officially announced on the dwm mailing list on September 20, 2007.

Aim

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 for users to expand and adapt to their own needs.

Features

Configuration and customization

From the very beginning, awesome was conceived as a dwm fork with an external configuration file. 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.

New configuration file

On May 20, 2008, Danjou announced in an e-mail to the 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 the 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.

The awesome Lua API is now hosted on awesome's homepage,[7] and a tutorial-style article about configuring awesome is posted on the awesome Wiki.[8]

Themes and widgets

It is possible to theme (or skin) awesome by using the window manager's Beautiful library.[9] 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.[10] Data for the widgets is supplied using arbitrary Lua code since widgets are defined in the main configuration file.

Migration to XCB

The 3.0 version, released September 18, 2008, uses the XCB library to communicate with the X server,[11] 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,[12] in January 2008.

Arnaud Fontaine announced the move to XCB on the XCB mailing list on April 9, 2008. 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.

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. The rc1 of the new Lua-scriptable implementation was announced in August 2008.[13] In September 2008, the first version of awesome with Lua API completed in parallel with XCB implementation.

Distribution package availability

awesome is distributed on a wide range of Unix-like operating systems, including Arch Linux,[14] Debian,[15] Fedora Linux, Gentoo,[16] Ubuntu,[17] Source Mage, openSUSE,[18] Mageia, NixOS, FreeBSD, NetBSD and OpenBSD.

Named releases

awesome versions 1.0 through 1.3 (September–October 2007) were not named. Starting with the first 2.0 release candidate (November 2007), awesome has used named releases.[19] The release names are related to music. awesome v4.x uses song name from Daft Punk.

See also

External links

Notes and References

  1. https://github.com/awesomeWM/awesome/releases/tag/v1.0 1.0 release tag
  2. Web site: github.com/awesomeWM/awesome. GitHub. 28 April 2022.
  3. Web site: Project announcement from dwm mailing list. . 2008-12-13 . https://web.archive.org/web/20090406012657/http://article.gmane.org/gmane.comp.window-managers.dwm/3285/match=awesome . 2009-04-06. Gmane. Danjou. Julien. 20 September 2007.
  4. Web site: Taking the other direction. Julien. Danjou. 14 August 2011. https://web.archive.org/web/20110713052507/http://julien.danjou.info/blog/2009.html. 13 July 2011 . live . 15 April 2009.
  5. http://julien.danjou.info/blog/index.php/post/2008/05/20/awesome-3:-Lua-integration awesome 3: Lua integration
  6. http://permalink.gmane.org/gmane.comp.window-managers.awesome/1794 News on awesome-3 and about latest commits (May 20, 2008)
  7. http://awesome.naquadah.org/doc/api/ awesome API documentation
  8. http://awesome.naquadah.org/wiki/Awesome_3_configuration Awesome 3 configuration
  9. http://awesome.naquadah.org/wiki/Beautiful awesome Wiki: Beautiful
  10. http://awesome.naquadah.org/wiki/Widgets_in_awesome awesome Wiki: Widgets in awesome
  11. http://lists.freedesktop.org/archives/xcb/2008-April/003471.html XCB transition announcement from XCB mailing list
  12. http://awesome.naquadah.org/community/ Community page on Awesome homepage: under Developers heading
  13. http://permalink.gmane.org/gmane.comp.window-managers.awesome/2480 3.0-rc1 announcement on awesome mailing list
  14. Web site: awesome package in the Arch Linux community repository . 2022-08-31 . 2010-09-11 . https://web.archive.org/web/20100911141142/https://archlinux.org/packages/community/x86_64/awesome/ . dead .
  15. http://packages.debian.org/squeeze/awesome Debian - Details of package awesome in squeeze
  16. http://packages.gentoo.org/package/x11-wm/awesome Gentoo Packages /package/x11-wm/awesome
  17. Web site: Ubuntu – Error .
  18. Web site: awesome - software.opensuse.org . automatically using date of last page refresh makes no sense for a citation --> .
  19. http://awesome.naquadah.org/wiki/Releases awesome Wiki: List of awesome releases