Английская Википедия:Awesome (window manager)

Материал из Онлайн справочника
Версия от 16:09, 4 февраля 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{Short description|Window manager for X Window System}} {{lowercase title}} {{Infobox software | name = awesome | logo = Awesome logo.png | screenshot = Awesome screenshot.png | screenshot size = 300px | caption = awesome with a number of terminals open | author = Julien Danjou | released = {{Start date and age|2007|9|18}}<ref>[https://github.com/awesomeWM/aw...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Lowercase title Шаблон:Infobox software

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.[1] 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.[2] awesome was officially announced on the dwm mailing list on September 20, 2007.[1]

Aim

Шаблон:Quote

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

Features

  • Configured via a Lua configuration file.
  • Like dwm and wmii, awesome uses tags instead of workspaces. Windows can be assigned to several tags, and multiple tags can be selected at the same time.
  • As a dynamic window manager, awesome can switch between different layouts for each tag, including floating, several dynamic tiling layouts, maximized and magnifier.
  • Multiple and per screen status bars, including a variety of widgets (text and icon boxes, graphs, progress bars, and so on).
  • Everything can be done with the keyboard, so usage of a mouse is optional.
  • Multihead support (XRandR, Xinerama or Zaphod mode).
  • Implements freedesktop.org standards including EWMH, XDG Base Directory, XEmbed, Desktop Notification and System Tray.
  • Compositing and true transparency support through an external compositor such as xcompmgr.
  • Remote control via D-Bus (awesome-client).
  • Supports the pango markup language.

Configuration and customization

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

New configuration file

On May 20, 2008, Danjou announced in an e-mail to the awesome mailing list[4] 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.[4]

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

Themes and widgets

It is possible to theme (or skin) awesome by using the window manager's Beautiful library.[7] 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.[8] 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,[9] 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,[10] in January 2008.[2]

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

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

Distribution package availability

awesome is distributed on a wide range of Unix-like operating systems, including Arch Linux,[12] Debian,[13] Fedora Linux, Gentoo,[14] Ubuntu,[15] Source Mage, openSUSE,[16] 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.[17] The release names are related to music. awesome v4.x uses song name from Daft Punk.

See also

Шаблон:Portal

References

Шаблон:Reflist

External links

Шаблон:Commons category

Шаблон:X desktop environments and window managers