ArticleslgStudy

computer science

Awesome (window manager)

Awesome (window manager) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Awesome (window manager) rather than just read about it. In short: awesome, formerly jdwm, is a dynamic window manager for the X Window System developed in the programming languages C and Lua. Lua is also used to configure and extend the system.

Awesome (window manager) — main illustration
Awesome (window manager) — illustration

Key takeaways

  • Awesome (window manager) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Awesome (window manager) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Awesome (window manager) from memory before moving on to harder problems.

Reference excerpt

awesome, formerly jdwm, is a dynamic window manager for the X Window System developed in the programming languages C and Lua. Lua is also used to configure and extend the system. Its development began as a fork of dwm, though has diverged largely since. It aims to be very small and fast, yet highly customizable. It enables managing windows via 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, after the same phrase used by the How I Met Your Mother character Barney Stinson. awesome was officially announced on the dwm mailing list on September 20, 2007.

Aim 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. 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 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. As such, its configuration file format, and the process of configuration itself, was subject to special attention by the author.

Early configuration file formats Before the third major release, one of awesome's features was what Danjou termed a 'no complicated configuration'. 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 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 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, and a tutorial-style article about configuring awesome is posted on the awesome Wiki.

Themes and widgets It is possible to theme (or skin) awesome by using the window manager's Beautiful library. 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. 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, 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, 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. 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, Debian, Fedora Linux, Gentoo, Ubuntu, Source Mage, openSUSE, 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. The release names are related to music. awesome v4.x uses song names from Daft Punk.

See also

Comparison of X window managers dwm wmii i3 (window manager) Ion (window manager) Stacking window manager StumpWM Tiling window manager xmonad

References

External links

… excerpt ends here. Continue reading the full article.

Illustrations

Awesome (window manager) illustration
Awesome (window manager) illustration

Worked examples

Example 1 — a first encounter with Awesome (window manager)

Start with the simplest possible case. Write down what Awesome (window manager) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Awesome (window manager) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Awesome (window manager) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Awesome (window manager)

In research
Awesome (window manager) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Awesome (window manager) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Awesome (window manager) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free X window managers, Lua (programming language)-scriptable software, Lua (programming language)-scripted software, so understanding it makes those chapters shorter.
In everyday life
Look for Awesome (window manager) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Awesome (window manager)” →

How to study Awesome (window manager) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Awesome (window manager) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Awesome (window manager) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Awesome (window manager) in simple terms?

awesome, formerly jdwm, is a dynamic window manager for the X Window System developed in the programming languages C and Lua. Lua is also used to configure and extend the system.

Why does Awesome (window manager) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Awesome (window manager)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Awesome (window manager).

Tags

  • Free X window managers
  • Lua (programming language)-scriptable software
  • Lua (programming language)-scripted software
  • Tiling window managers
  • Unix windowing system-related software
  • X window managers extensible by scripting

Keep exploring