labwc/docs/labwc-config.5.md

115 lines
2.5 KiB
Markdown
Raw Normal View History

% labwc-config(5)
2020-07-22 21:58:27 +01:00
% Johan Malm
% 15 Sept, 2020
2020-07-22 21:58:27 +01:00
# NAME
labwc - Configuration
2020-07-22 21:58:27 +01:00
# CONFIGURATION
The configuration aims to be compatible with Openbox, but there are some
differences which are pointed out throughout the man pages.
2020-08-07 20:35:18 +01:00
Adhering to XDG Base Directory Specification, configuration files will
be searched for in the following order:
2020-08-07 20:35:18 +01:00
- `${XDG_CONFIG_HOME:-$HOME/.config}/labwc`
- `${XDG_CONFIG_DIRS:-/etc/xdg}/labwc`
2020-07-22 21:58:27 +01:00
2020-07-23 22:15:15 +01:00
# RC.XML `<lab>`
2020-07-22 21:58:27 +01:00
2020-07-23 22:15:15 +01:00
Labwc specific settings which are not present in Openbox.
2020-07-22 21:58:27 +01:00
<lab>
<xdg_shell_server_side_deco></xdg_shell_server_side_deco>
2020-07-22 21:58:27 +01:00
<keyboard>
<layout></layout>
</keyboard>
</lab>
`xdg_shell_server_side_deco` (__boolean__; default yes)
2020-07-23 22:15:15 +01:00
: Use server-side decorations for xdg-shell views where it is possible to
turn of CSD
2020-07-22 21:58:27 +01:00
2020-07-24 20:00:50 +01:00
`keyboard-layout` (__string__; not set by default)
2020-07-22 21:58:27 +01:00
2020-07-23 22:15:15 +01:00
: Set `XKB_DEFAULT_LAYOUT`. See xkeyboard-config(7) for details.
# RC.XML `<theme>`
2020-07-22 21:58:27 +01:00
<theme>
<name></name>
2020-08-06 15:13:27 +01:00
<font place="">
<name></name>
<size></size>
</font>
2020-07-22 21:58:27 +01:00
</theme>
2020-08-06 15:13:27 +01:00
`name` (__string__; default Clearlooks)
2020-07-23 22:15:15 +01:00
: The name of the Openbox theme to use
2020-07-22 21:58:27 +01:00
2020-08-06 15:13:27 +01:00
`font`
: The font to use for a specific element of a window, menu or OSD.
`place`
: Can be `ActiveWindow` (titlebar of active window)
`name`
: Describes font name (__string__; default sans)
`size`
: Describes font size in pixels (__integer__; default 8)
2020-07-23 22:15:15 +01:00
# RC.XML `<keyboard>`
2020-07-22 21:58:27 +01:00
2020-07-23 22:15:15 +01:00
Describe key bindings.
2020-07-22 21:58:27 +01:00
<keyboard>
2020-07-23 22:15:15 +01:00
<keybind key="KEY-COMBINATION">
2020-07-22 21:58:27 +01:00
ACTION
</keybind>
<keyboard>
2020-07-23 22:15:15 +01:00
`KEY-COMBINATION`
2020-07-22 21:58:27 +01:00
2020-07-23 22:15:15 +01:00
: The key combination to bind to an **ACTION** in the format
**modifier-key**, where supported **modifiers** include S (shift);
C (control); A (alt); W (super). Unlike Openbox, multiple space-separated
**KEY-COMBINATION** and key-chains are not supported.
2020-07-22 21:58:27 +01:00
Example:
<keyboard>
<keybind key="A-Escape">
<action name="Exit"/>
</keybind>
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="A-F3">
<action name="Execute">
<command>dmenu_run</command>
</action>
</keybind>
<keyboard>
2020-07-24 20:00:50 +01:00
Default:
If no rc.xml file is found, the following default values will be used:
- Alt+Escape: Exit labwc
- Alt+Tab: Cycle windows
- Alt+F2: Cycle windows (if running on X11 and alt-tab bind already exists)
2020-07-24 20:00:50 +01:00
- Alt+F3: Launch dmenu
2020-07-22 21:58:27 +01:00
# SEE ALSO
labwc(1), labwc-actions(5), labwc-theme(5)