ArticleslgStudy

computer science

Openbox

Openbox 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 Openbox rather than just read about it. In short: Openbox is a free, stacking window manager for the X Window System, licensed under the GNU General Public License. Originally derived from Blackbox 0.65.0 (a C++ project), Openbox has been completely re-written in the C programming language and since version 3.0 is no longer based upon any code from Blackbox.

Openbox — main illustration
Openbox — illustration

Key takeaways

  • Openbox 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 Openbox to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Openbox from memory before moving on to harder problems.

Reference excerpt

Openbox is a free, stacking window manager for the X Window System, licensed under the GNU General Public License. Originally derived from Blackbox 0.65.0 (a C++ project), Openbox has been completely re-written in the C programming language and since version 3.0 is no longer based upon any code from Blackbox. Since 2010, it has been considered feature complete project and only receives maintenance updates. Openbox is designed to be small, fast, and fully compliant with the Inter-Client Communication Conventions Manual (ICCCM) and Extended Window Manager Hints (EWMH). It supports many features such as menus by which the user can control applications or which display various dynamic information. Openbox is the standard window manager in LXDE, and often set as the default for LXQt. It is used in Linux distributions such as BunsenLabs, Lubuntu, Trisquel and Manjaro. The creator and primary author of Openbox is Dana Jansens of Carleton University in Ottawa, Ontario, Canada.

Features

Openbox provides a right-click (or any other key-binding) "root menu" on the desktop, and allows users to configure the way windows are managed. When a window is minimized, it becomes invisible. To bring windows up again, most use Alt+Tab ↹ or the Desktop menu, accessible by right-clicking. Or, sometimes, by middle-button-clicking. Extending Openbox with other small programs that add icons, taskbars, launchers, eyecandy and others is common.

There are only two configuration files, both located in ~/.config/openbox. They are named menu.xml and rc.xml. These can either be edited manually or with the graphical configuration tools ObConf and obmenu. All mouse and key-bindings can be configured. For example, a user can set:

a window to go to desktop 3 when the close button is clicked with the middle mouse button when scrolling on an icon to move to the next/previous desktop raise or not raise when clicking/moving a window Openbox has a dynamic menu system that uses "pipe menus". A menu item in a piped menu system can accept the standard output of a shell script (or other executable) in order to generate a sub-menu. Because the script runs every time the pointer activates it, and as the script can assess environmental conditions, piped menus enable conditional branching to be built into the menu system. When the window manager is restarted, a static menu system as used on most window managers gets its layout once and will not have the ability to modify the menu layout depending on environmental factors.

See also

Fluxbox – another fork of Blackbox Comparison of X window managers

References

External links

Official website

Illustrations

Openbox illustration
Openbox: ObConf, a GUI configuration editor for Openbox
ObConf, a GUI configuration editor for Openbox

Worked examples

Example 1 — a first encounter with Openbox

Start with the simplest possible case. Write down what Openbox 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 Openbox 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 Openbox 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 Openbox

In research
Openbox 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 Openbox 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
Openbox is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free X window managers, Free software programmed in C, LXDE, so understanding it makes those chapters shorter.
In everyday life
Look for Openbox 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 “Openbox” →

How to study Openbox in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Openbox 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 Openbox out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Openbox in simple terms?

Openbox is a free, stacking window manager for the X Window System, licensed under the GNU General Public License. Originally derived from Blackbox 0.65.0 (a C++ project), Openbox has been completely re-written in the C programming language and since version 3.0 is no longer based upon any code fro…

Why does Openbox 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 Openbox?

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 Openbox.

Tags

  • Free X window managers
  • Free software programmed in C
  • LXDE
  • Software using the GNU General Public License
  • Window managers that use GTK

Keep exploring