| 
									
										
										
										
											2019-05-12 21:44:41 +01:00
										 |  |  | # labwc
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-21 21:27:41 +01:00
										 |  |  | <h3 align="center">[<a | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | href="https://labwc.github.io/">Website</a>] [<a | 
					
						
							| 
									
										
										
										
											2022-06-22 21:12:54 +01:00
										 |  |  | href="https://github.com/labwc/labwc-scope#readme">Scope</a>] [<a | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | href="https://web.libera.chat/gamja/?channels=#labwc">IRC Channel</a>] [<a | 
					
						
							| 
									
										
										
										
											2022-04-21 21:27:41 +01:00
										 |  |  | href="NEWS.md">Release Notes</a>]</h3> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | - [1. Project Description](#1-project-description) | 
					
						
							|  |  |  |   - [1.1 What Is This?](#11-what-is-this) | 
					
						
							|  |  |  |   - [1.2 Why](#12-why) | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  |   - [1.3 Why The Openbox Theme Specification?](#13-why-the-openbox-theme-specification) | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  |   - [1.4 Very High Level Scope](#14-very-high-level-scope) | 
					
						
							|  |  |  |   - [1.5 Videos](#15-videos) | 
					
						
							|  |  |  |   - [1.6 Screenshot](#16-screenshot) | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | - [2. Build and Installation](#2-build-and-installation) | 
					
						
							|  |  |  | - [3. Configuration](#3-configuration) | 
					
						
							|  |  |  | - [4. Theming](#4-theming) | 
					
						
							| 
									
										
										
										
											2023-12-23 14:04:29 +01:00
										 |  |  | - [5. Translations](#5-translations) | 
					
						
							|  |  |  | - [6. Usage](#6-usage) | 
					
						
							|  |  |  |   - [6.1 Gaming](#61-gaming) | 
					
						
							|  |  |  | - [7. Integration](#7-integration) | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | ## 1. Project Description
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### 1.1 What Is This?
 | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | Labwc stands for Lab Wayland Compositor, where lab can mean any of the | 
					
						
							|  |  |  | following: | 
					
						
							| 
									
										
										
										
											2021-11-13 22:28:01 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-14 21:01:24 +00:00
										 |  |  | - Lightweight And Box-inspired | 
					
						
							| 
									
										
										
										
											2021-11-13 22:28:01 +00:00
										 |  |  | - sense of experimentation and treading new ground | 
					
						
							| 
									
										
										
										
											2021-12-05 10:13:34 -05:00
										 |  |  | - inspired by BunsenLabs and ArchLabs | 
					
						
							| 
									
										
										
										
											2021-11-13 22:28:01 +00:00
										 |  |  | - your favorite pet | 
					
						
							| 
									
										
										
										
											2020-11-01 22:21:24 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | Labwc is a [wlroots]-based window-stacking compositor for [wayland], inspired | 
					
						
							|  |  |  | by [openbox]. | 
					
						
							| 
									
										
										
										
											2020-07-07 21:45:44 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | It is light-weight and independent with a focus on simply stacking windows well | 
					
						
							|  |  |  | and rendering some window decorations. It takes a no-bling/frills approach and | 
					
						
							| 
									
										
										
										
											2023-09-30 09:10:56 +01:00
										 |  |  | says no to features such as animations.  It relies on clients for panels, | 
					
						
							|  |  |  | screenshots, wallpapers and so on to create a full desktop environment. | 
					
						
							| 
									
										
										
										
											2019-05-12 21:44:41 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | Labwc tries to stay in keeping with [wlroots] and [sway] in terms of general | 
					
						
							|  |  |  | approach and coding style. | 
					
						
							| 
									
										
										
										
											2021-04-10 08:27:47 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | Labwc has no reliance on any particular Desktop Environment, Desktop Shell or | 
					
						
							|  |  |  | session. Nor does it depend on any UI toolkits such as Qt or GTK. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  | ### 1.2 Why?
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | Firstly, we believe that there is a need for a simple Wayland window-stacking | 
					
						
							|  |  |  | compositor which strikes a balance between minimalism and bloat approximately | 
					
						
							|  |  |  | at the level where Window Managers like Openbox reside in the X11 domain.  Most | 
					
						
							|  |  |  | of the core developers are accustomed to low resource Desktop Environments such | 
					
						
							|  |  |  | as Mate/XFCE or standalone Window Managers such as Openbox under X11.  Labwc | 
					
						
							|  |  |  | aims to make a similar setup possible under Wayland, with small and independent | 
					
						
							|  |  |  | components rather than a large, integrated software eco-system. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Secondly, the Wayland community has achieved an amazing amount so far, and we | 
					
						
							|  |  |  | want to help solve the unsolved problems to make Wayland viable for more | 
					
						
							|  |  |  | people. We think that standardisation and de-fragmentation is a route to | 
					
						
							|  |  |  | greater Wayland adoption, and wanting to play our part in this, Labwc only | 
					
						
							|  |  |  | understands [wayland-protocols] & [wlr-protocols], and it cannot be | 
					
						
							|  |  |  | controlled with dbus, sway/i3/custom-IPC or other technology. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Thirdly, it is important to us that scope is tightly controlled so that the | 
					
						
							|  |  |  | compositor matures to production quality. On the whole, we value robustness, | 
					
						
							|  |  |  | reliability, stability and simplicity over new features. Coming up with new | 
					
						
							|  |  |  | ideas and features is easy - maintaining and stabilising them is not. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Fourthly, we are of the view that a compositor should be boring in order to do | 
					
						
							|  |  |  | its job well. In this regard we follow in the footsteps of [metacity] which | 
					
						
							|  |  |  | describes itself as a "Boring window manager for the adult in you. Many window | 
					
						
							|  |  |  | managers are like Marshmallow Froot Loops; Metacity is like Cheerios." | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-01 19:48:22 +10:00
										 |  |  | Finally, we think that an elegant solution to all of this does not need to feel | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | square and pixelated like something out of the 1990s, but should look | 
					
						
							|  |  |  | contemporary and enable cutting-edge performance. | 
					
						
							| 
									
										
										
										
											2021-04-10 08:27:47 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  | ### 1.3 Why The Openbox Theme Specification?
 | 
					
						
							| 
									
										
										
										
											2021-02-26 19:18:52 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | In order to avoid reinventing configuration and theme syntaxes, the [openbox] | 
					
						
							|  |  |  | 3.6 specification is used. This does not mean that labwc is an openbox clone | 
					
						
							|  |  |  | but rather that configuration files will look and feel familiar. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Also, parsing GTK3+ and Qt themes for window decorations is very complicated, | 
					
						
							|  |  |  | so using much simpler specs such as those used by openbox and xfwm makes sense | 
					
						
							|  |  |  | for a compositor such as labwc, both in terms of implementation and for user | 
					
						
							|  |  |  | modification. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Openbox spec is somewhat of a stable standard considering how long it has | 
					
						
							|  |  |  | remained unchanged for and how wide-spread its adoption is by lightweight | 
					
						
							| 
									
										
										
										
											2024-03-08 21:59:20 +09:00
										 |  |  | distributions such as LXDE, LXQt, BunsenLabs, ArchLabs, Mabox and Raspbian. Some | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | widely used themes (for example Numix and Arc) have built-in support. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | We could have invented a whole new syntax, but that's not where we want to | 
					
						
							|  |  |  | spend our effort. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  | ### 1.4 Very High Level Scope
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | A lot of emphasis is put on code simplicity when considering features. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The main development effort is focused on producing a solid foundation for a | 
					
						
							|  |  |  | stacking compositor rather than adding configuration and theming options. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | See [scope] for full details on implemented features. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | High-level summary of items that Labwc supports: | 
					
						
							| 
									
										
										
										
											2021-08-09 17:30:21 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-01 23:24:27 +02:00
										 |  |  | - [x] Config files (rc.xml, autostart, shutdown, environment, menu.xml) | 
					
						
							| 
									
										
										
										
											2023-10-01 07:58:57 +01:00
										 |  |  | - [x] Theme files and xbm/png/svg icons | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | - [x] Basic desktop and client menus | 
					
						
							| 
									
										
										
										
											2021-08-09 17:30:21 +01:00
										 |  |  | - [x] HiDPI | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | - [x] wlroots protocols such as `output-management`, `layer-shell` and | 
					
						
							|  |  |  |   `foreign-toplevel` | 
					
						
							| 
									
										
										
										
											2021-08-09 17:30:21 +01:00
										 |  |  | - [x] Optionally xwayland | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  | ### 1.5 Videos
 | 
					
						
							| 
									
										
										
										
											2022-10-31 17:02:57 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-24 21:11:14 +01:00
										 |  |  | | video link                | date        | duration | 
					
						
							|  |  |  | | ------------------------- | ------------| ------- | 
					
						
							|  |  |  | | [0.7.2-release-video]     | 24-May-2024 | 3:17 | 
					
						
							|  |  |  | | [0.6.0-release-video]     | 31-Oct-2022 | 2:48 | 
					
						
							|  |  |  | | [0.3.0-release-video]     | 05-Aug-2021 | 1:10 | 
					
						
							|  |  |  | | [pre-0.1.0-release-video] | 25-Feb-2021 | 3:42 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [0.7.2-release-video]: https://youtu.be/gNIj6VU-IH8 | 
					
						
							|  |  |  | [0.6.0-release-video]: https://youtu.be/guBnx18EQiA | 
					
						
							|  |  |  | [0.3.0-release-video]: https://youtu.be/AU_M3n_FS-E | 
					
						
							|  |  |  | [pre-0.1.0-release-video]: https://youtu.be/rE1bQjSVJzg | 
					
						
							| 
									
										
										
										
											2024-05-24 20:50:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-15 12:43:22 +01:00
										 |  |  | ### 1.6 Screenshot
 | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | The obligatory screenshot: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-19 22:01:27 +00:00
										 |  |  | <a href="https://labwc.github.io/img/scrot1.png"> | 
					
						
							|  |  |  |   <img src="https://labwc.github.io/img/scrot1-small.png"> | 
					
						
							|  |  |  | </a><br /> | 
					
						
							|  |  |  | <a href="https://labwc.github.io/obligatory-screenshot.html"> | 
					
						
							|  |  |  |   <small>Screenshot description</small> | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | </a> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | ## 2. Build and Installation
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | To build, simply run: | 
					
						
							| 
									
										
										
										
											2019-05-12 21:44:41 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-06 21:14:23 +00:00
										 |  |  |     meson setup build/ | 
					
						
							|  |  |  |     meson compile -C build/ | 
					
						
							| 
									
										
										
										
											2020-05-30 21:28:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | Run-time dependencies include: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - wlroots, wayland, libinput, xkbcommon | 
					
						
							|  |  |  | - libxml2, cairo, pango, glib-2.0 | 
					
						
							| 
									
										
										
										
											2023-09-30 08:57:03 +01:00
										 |  |  | - libpng | 
					
						
							|  |  |  | - librsvg >=2.46 (optional) | 
					
						
							| 
									
										
										
										
											2025-02-01 19:48:22 +10:00
										 |  |  | - libsfdo (optional) | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | - xwayland, xcb (optional) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Build dependencies include: | 
					
						
							| 
									
										
										
										
											2020-08-17 21:26:03 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-02-19 23:33:21 +00:00
										 |  |  | - meson, ninja, gcc/clang | 
					
						
							| 
									
										
										
										
											2020-12-21 18:51:31 +00:00
										 |  |  | - wayland-protocols | 
					
						
							| 
									
										
										
										
											2020-10-07 21:40:53 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-15 18:09:36 +00:00
										 |  |  | Disable xwayland with `meson -Dxwayland=disabled build/` | 
					
						
							| 
									
										
										
										
											2020-12-30 10:29:21 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-06 02:09:04 +01:00
										 |  |  | For OS/distribution specific details see [wiki]. | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-30 08:57:36 +01:00
										 |  |  | If the right version of `wlroots` is not found on the system, the build setup | 
					
						
							|  |  |  | will automatically download the wlroots repo. If this fallback is not desired | 
					
						
							|  |  |  | please use: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     meson setup --wrap-mode=nodownload build/ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-28 22:07:05 +01:00
										 |  |  | To enforce the supplied wlroots.wrap file, run: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-30 08:57:36 +01:00
										 |  |  |     meson setup --force-fallback-for=wlroots build/ | 
					
						
							| 
									
										
										
										
											2023-09-28 22:07:05 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | If installing after using the wlroots.wrap file, use the following to | 
					
						
							|  |  |  | prevent installing the wlroots headers: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     meson install --skip-subprojects -C build/ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | ## 3. Configuration
 | 
					
						
							| 
									
										
										
										
											2021-03-07 21:25:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | User config files are located at `${XDG_CONFIG_HOME:-$HOME/.config/labwc/}` | 
					
						
							| 
									
										
										
										
											2024-08-26 10:16:43 +10:00
										 |  |  | with the following six files being used: [rc.xml], [menu.xml], [autostart], [shutdown], | 
					
						
							| 
									
										
										
										
											2023-04-01 22:19:58 +01:00
										 |  |  | [environment] and [themerc-override]. | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-01 22:19:58 +01:00
										 |  |  | Run `labwc --reconfigure` to reload configuration and theme. | 
					
						
							| 
									
										
										
										
											2021-08-09 17:30:21 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-01 22:19:58 +01:00
										 |  |  | For a step-by-step initial configuration guide, see [getting-started]. | 
					
						
							| 
									
										
										
										
											2021-08-10 21:32:32 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | ## 4. Theming
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-02 20:40:41 +00:00
										 |  |  | Themes are located at `~/.local/share/themes/\<theme-name\>/labwc/` or | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | equivalent `XDG_DATA_{DIRS,HOME}` location in accordance with freedesktop XDG | 
					
						
							|  |  |  | directory specification. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | For full theme options, see [labwc-theme(5)] or the [themerc] example file. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | For themes, search the internet for "openbox themes" and place them in | 
					
						
							|  |  |  | `~/.local/share/themes/`. Some good starting points include: | 
					
						
							| 
									
										
										
										
											2021-08-10 21:32:32 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | - https://github.com/addy-dclxvi/openbox-theme-collections | 
					
						
							|  |  |  | - https://github.com/the-zero885/Lubuntu-Arc-Round-Openbox-Theme | 
					
						
							| 
									
										
										
										
											2023-12-24 08:17:39 +01:00
										 |  |  | - https://github.com/BunsenLabs/bunsen-themes | 
					
						
							| 
									
										
										
										
											2021-08-10 21:32:32 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-23 14:04:29 +01:00
										 |  |  | ## 5. Translations
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The default window bar menu can be translated on the [weblate platform](https://translate.lxqt-project.org/projects/labwc/labwc/). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <a href="https://translate.lxqt-project.org/engage/labwc/?utm_source=widget"> | 
					
						
							|  |  |  | <img src="https://translate.lxqt-project.org/widgets/labwc/-/labwc/multi-blue.svg" alt="Translation status" /> | 
					
						
							|  |  |  | </a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## 6. Usage
 | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-06 11:45:45 +00:00
										 |  |  |     ./build/labwc [-s <command>] | 
					
						
							| 
									
										
										
										
											2021-02-17 20:38:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | > **_NOTE:_** If you are running on **NVIDIA**, you will need the
 | 
					
						
							|  |  |  | > `nvidia-drm.modeset=1` kernel parameter.
 | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-24 14:33:54 -05:00
										 |  |  | If you have not created an rc.xml config file, default bindings will be: | 
					
						
							| 
									
										
										
										
											2020-09-11 21:01:47 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-14 19:37:57 +01:00
										 |  |  | | combination              | action | 
					
						
							|  |  |  | | ------------------------ | ------ | 
					
						
							|  |  |  | | `alt`-`tab`              | activate next window | 
					
						
							| 
									
										
										
										
											2024-12-31 11:02:24 +09:00
										 |  |  | | `alt`-`shift`-`tab`      | activate previous window | 
					
						
							| 
									
										
										
										
											2021-10-14 19:37:57 +01:00
										 |  |  | | `super`-`return`         | alacritty | 
					
						
							|  |  |  | | `alt`-`F3`               | bemenu | 
					
						
							|  |  |  | | `alt`-`F4`               | close window | 
					
						
							|  |  |  | | `super`-`a`              | toggle maximize | 
					
						
							|  |  |  | | `alt`-`mouse-left`       | move window | 
					
						
							|  |  |  | | `alt`-`mouse-right`      | resize window | 
					
						
							|  |  |  | | `alt`-`arrow`            | move window to edge | 
					
						
							| 
									
										
										
										
											2021-10-17 21:36:06 +01:00
										 |  |  | | `super`-`arrow`          | resize window to fill half the output | 
					
						
							| 
									
										
										
										
											2024-03-10 19:38:33 +01:00
										 |  |  | | `alt`-`space`            | show the window menu | 
					
						
							| 
									
										
										
										
											2021-10-14 19:37:57 +01:00
										 |  |  | | `XF86_AudioLowerVolume`  | amixer sset Master 5%- | 
					
						
							|  |  |  | | `XF86_AudioRaiseVolume`  | amixer sset Master 5%+ | 
					
						
							|  |  |  | | `XF86_AudioMute`         | amixer sset Master toggle | 
					
						
							|  |  |  | | `XF86_MonBrightnessUp`   | brightnessctl set +10% | 
					
						
							|  |  |  | | `XF86_MonBrightnessDown` | brightnessctl set 10%- | 
					
						
							| 
									
										
										
										
											2021-08-05 22:09:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | A root-menu can be opened by clicking on the desktop. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-23 14:04:29 +01:00
										 |  |  | ### 6.1 Gaming
 | 
					
						
							| 
									
										
										
										
											2023-01-27 06:52:42 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-20 19:47:48 +00:00
										 |  |  | Cursor confinement is supported from version `0.6.2`. If using older versions, | 
					
						
							|  |  |  | use a nested [gamescope] instance for gaming.  It can be added to steam via | 
					
						
							|  |  |  | game launch option: `gamescope -f -- %command%`. | 
					
						
							| 
									
										
										
										
											2023-01-27 06:52:42 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-23 14:06:24 +01:00
										 |  |  | ## 7. Integration
 | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | Suggested apps to use with labwc: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-25 20:46:30 +01:00
										 |  |  | - Screen shooter: [grim] | 
					
						
							|  |  |  | - Screen recorder: [wf-recorder] | 
					
						
							| 
									
										
										
										
											2021-04-10 09:30:48 +01:00
										 |  |  | - Background image: [swaybg] | 
					
						
							| 
									
										
										
										
											2025-02-05 21:23:35 +10:00
										 |  |  | - Panel: [waybar], [yambar], [lavalauncher], [sfwbar], [xfce4-panel] | 
					
						
							| 
									
										
										
										
											2021-04-10 09:30:48 +01:00
										 |  |  | - Launchers: [bemenu], [fuzzel], [wofi] | 
					
						
							| 
									
										
										
										
											2022-03-09 19:08:59 +10:00
										 |  |  | - Output managers: [wlopm], [kanshi], [wlr-randr] | 
					
						
							| 
									
										
										
										
											2021-08-25 20:46:30 +01:00
										 |  |  | - Screen locker: [swaylock] | 
					
						
							| 
									
										
										
										
											2023-12-01 22:23:41 +00:00
										 |  |  | - Gamma adjustment: [gammastep] | 
					
						
							| 
									
										
										
										
											2020-09-01 19:45:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | See [integration] for further details. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [wayland]: https://wayland.freedesktop.org/ | 
					
						
							| 
									
										
										
										
											2024-11-08 15:38:09 -04:00
										 |  |  | [openbox]: https://openbox.org/help/Contents | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | [wlroots]: https://gitlab.freedesktop.org/wlroots/wlroots | 
					
						
							|  |  |  | [sway]: https://github.com/swaywm | 
					
						
							|  |  |  | [wayland-protocols]: https://gitlab.freedesktop.org/wayland/wayland-protocols | 
					
						
							|  |  |  | [wlr-protocols]: https://gitlab.freedesktop.org/wlroots/wlr-protocols | 
					
						
							|  |  |  | [scope]: https://github.com/labwc/labwc-scope#readme | 
					
						
							|  |  |  | [wiki]: https://github.com/labwc/labwc/wiki | 
					
						
							|  |  |  | [getting-started]: https://labwc.github.io/getting-started.html | 
					
						
							|  |  |  | [integration]: https://labwc.github.io/integration.html | 
					
						
							| 
									
										
										
										
											2022-11-29 19:45:29 +00:00
										 |  |  | [metacity]: https://github.com/GNOME/metacity | 
					
						
							| 
									
										
										
										
											2021-03-30 22:43:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-01 22:19:58 +01:00
										 |  |  | [rc.xml]: docs/rc.xml.all | 
					
						
							| 
									
										
										
										
											2021-04-10 09:20:10 +01:00
										 |  |  | [menu.xml]: docs/menu.xml | 
					
						
							|  |  |  | [autostart]: docs/autostart | 
					
						
							| 
									
										
										
										
											2024-06-01 23:24:27 +02:00
										 |  |  | [shutdown]: docs/shutdown | 
					
						
							| 
									
										
										
										
											2021-04-10 09:20:10 +01:00
										 |  |  | [environment]: docs/environment | 
					
						
							| 
									
										
										
										
											2022-12-05 21:46:16 +00:00
										 |  |  | [themerc-override]: docs/themerc | 
					
						
							| 
									
										
										
										
											2023-04-01 22:19:58 +01:00
										 |  |  | [themerc]: docs/themerc | 
					
						
							| 
									
										
										
										
											2022-07-10 16:43:05 +01:00
										 |  |  | [labwc-theme(5)]: https://labwc.github.io/labwc-theme.5.html | 
					
						
							| 
									
										
										
										
											2021-04-10 09:20:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-27 06:52:42 +01:00
										 |  |  | [gamescope]: https://github.com/Plagman/gamescope | 
					
						
							| 
									
										
										
										
											2021-04-10 09:30:48 +01:00
										 |  |  | [grim]: https://github.com/emersion/grim | 
					
						
							|  |  |  | [wf-recorder]: https://github.com/ammen99/wf-recorder | 
					
						
							|  |  |  | [swaybg]: https://github.com/swaywm/swaybg | 
					
						
							|  |  |  | [waybar]: https://github.com/Alexays/Waybar | 
					
						
							| 
									
										
										
										
											2021-10-17 21:36:32 +01:00
										 |  |  | [yambar]: https://codeberg.org/dnkl/yambar | 
					
						
							| 
									
										
										
										
											2021-11-13 22:28:28 +00:00
										 |  |  | [lavalauncher]: https://sr.ht/~leon_plickat/LavaLauncher | 
					
						
							| 
									
										
										
										
											2022-03-01 20:42:55 +00:00
										 |  |  | [sfwbar]: https://github.com/LBCrion/sfwbar | 
					
						
							| 
									
										
										
										
											2025-02-05 21:23:35 +10:00
										 |  |  | [xfce4-panel]: https://gitlab.xfce.org/xfce/xfce4-panel | 
					
						
							| 
									
										
										
										
											2021-04-10 09:30:48 +01:00
										 |  |  | [bemenu]: https://github.com/Cloudef/bemenu | 
					
						
							|  |  |  | [fuzzel]: https://codeberg.org/dnkl/fuzzel | 
					
						
							|  |  |  | [wofi]: https://hg.sr.ht/~scoopta/wofi | 
					
						
							| 
									
										
										
										
											2022-03-09 19:08:59 +10:00
										 |  |  | [wlopm]: https://git.sr.ht/~leon_plickat/wlopm | 
					
						
							| 
									
										
										
										
											2022-02-17 19:29:55 +02:00
										 |  |  | [kanshi]: https://sr.ht/~emersion/kanshi/ | 
					
						
							|  |  |  | [wlr-randr]: https://sr.ht/~emersion/wlr-randr/ | 
					
						
							| 
									
										
										
										
											2021-08-25 20:46:30 +01:00
										 |  |  | [swaylock]: https://github.com/swaywm/swaylock | 
					
						
							| 
									
										
										
										
											2023-12-01 22:23:41 +00:00
										 |  |  | [gammastep]: https://gitlab.com/chinstrap/gammastep | 
					
						
							| 
									
										
										
										
											2021-04-10 09:30:48 +01:00
										 |  |  | 
 |