Settings app
The settings application for Glaze on Taoci GNU/Linux. It is native
GTK4 with no libadwaita. Its structure follows the Windows 2000 Control
Panel: categories in a sidebar and one page per area. It uses the flat
cut-paper look: paper cards, 1 px warm hairlines, small radii,
terracotta accent, serif headings and Inter for the interface. The CSS
comes from the same glaze-design tokens as the shell, so
the window is its own live preview.
Run
| How | What happens |
|---|---|
| Launcher, then Glaze Settings | ~/.local/share/applications/glaze-settings.desktop runs
~/.local/bin/glaze-settings |
glaze-settings [--page PAGE] [--search TEXT] [--focus SETTING-ID] |
Opens the window. If it is already open, it is raised and focused
(single instance, org.glaze.Settings) |
glaze-settings --help |
Lists every option and command |
The window uses GTK's cairo renderer unless GSK_RENDERER
is set, because it maps faster on software rendering. When startup fails
(for example, no Wayland display), the app prints
glaze-settings: cannot start the window: ... and exits with
status 1.
Pages
| Category | Page | Controls |
|---|---|---|
| Personalise | Appearance | Theme gallery (Terracotta, Grey, Orange, Green, Blue and imported themes), colour scheme, theme colours, text size and reduced effects. Advanced holds exact accent colour, shape, paper texture, icons, fonts, interface scale and OLED black. |
| Wallpaper | Bundled wallpapers with light and dark previews, custom images, solid colour, dimming and desktop icons. | |
| Animation | Preview, style, speed, window movement and reduced motion. Frame-time logging is under Advanced. | |
| Desktop | Taskbar | Edge, density, auto-hide, window buttons and clock. Advanced holds thickness, section order, tray contents, date format, layout switch and per-display overrides. |
| Launcher | Apps and tiles, Classic menu or Compact grid, and pinned apps. Advanced holds layout-specific options and the search result limit. | |
| Windows | Stacking or tiling. Advanced holds workspace layouts and a reference for Glaze keyboard shortcuts. In a Sway session, this page shows Sway's window controls. | |
| System | Displays | Per output: resolution, scale, rotation and position through Sway
IPC (swaymsg output), or wlr-randr as a
fallback. Apply, then keep or revert within 15 s |
| Keyboard | Search and select a layout, then try it in the typing field. Glaze starts with the system layout and applies changes to running apps. | |
| Sound | Volume and mute through wpctl (or pactl as
a fallback). Without a sound server it shows a "No sound server found"
state |
|
| Network | Wi-Fi power, scan, join, disconnect and forget. NetworkManager saves new connections for the current user. Wired connections show addresses. | |
| Bluetooth | Power, scan, pair, connect, disconnect and forget through BlueZ. Settings prompts for a PIN or passkey when the device requires one. | |
| Power | Batteries from /sys/class/power_supply (or a "No
battery" state) |
|
| Default apps | Browser, file manager, text editor, image viewer, document viewer
and mail, written to ~/.config/mimeapps.list (XDG). Without
an explicit default, the app GIO would pick is shown as "(system
choice)" |
|
| About | Distribution logo and computer details. Advanced holds version information, licences, diagnostics, configuration files, reset and branding. |
Use Undo (Ctrl+Z) or Reset section… in the header. Search (Ctrl+F) matches titles, groups and keywords. Enter opens the first result and expands its Advanced section when needed.
Rows marked saved only store a value for future use. See Settings gaps.
Edit a theme
In Appearance, choose a theme and use Theme colours to change the accent, background or taskbar. Changes apply as you make them. Background and taskbar colours are saved for the current light or dark scheme. The desktop preview transitions as colours change and respects reduced motion. A reset button restores the selected theme’s colour for that control. The pickers keep the current colour when a new background or taskbar colour would make text hard to read. OLED black takes priority over a theme’s dark background and taskbar colours.
Save as theme… adds the current look to the gallery under a name you choose. Use Export file… in the same dialog to share it as a TOML file. Choosing a different theme restores that theme’s colours. Undo brings your edits back.
Window controls (Sway)
Sway ignores GTK's minimise and maximise requests for floating windows, so Settings has its own buttons:
- Minimise moves the window to the scratchpad. The taskbar shows it as minimised and a click restores it. Launching Settings again also restores it.
- Maximise fills the workspace's usable area (the taskbar is excluded) and Restore puts back the previous geometry. Double-clicking the title bar toggles it.
- Close quits.
On other compositors the buttons send the normal GTK requests.
Keyboard layout
System layout follows the installer or the
distribution's keyboard configuration. A selection in Settings overrides
the system layout for this account. Session overrides set through
XKB_DEFAULT_LAYOUT or XKB_DEFAULT_VARIANT take
precedence. Glaze keeps the system keyboard model and options, such as
the Compose key, when you choose another layout.
Glaze updates the seat when the system file or the Settings selection changes. If the chosen layout is unavailable, it uses the system layout and falls back to English (US) if needed. On a non-Latin layout, Glaze can use Latin letters from another configured group or the US key positions for its shortcuts. Ordinary typing keeps the selected layout. Sway manages its own layout.
Dark mode for other apps
Appearance > Colour scheme (Light, Dark, Automatic) writes
config.toml, so Glaze itself switches live. Settings then
runs glaze-colour-scheme light|dark
(packaging/taocilinux/bin/) whenever the effective scheme
changes, including on undo, reset, external edits and the 07:00/19:00
switch while Settings is open. Results checked in the VM
(docs/screens/settings/colour-scheme/):
| App | What happens |
|---|---|
| GTK 4 / libadwaita (Calculator) | Switches live |
| Glaze shell, wallpaper, Sway frames | Switch live |
| GTK 3 (Thunar), already open | Keeps the old scheme until it is restarted |
| Qt (VLC) | Follows ~/.config/glaze/colour-scheme from the next
login (/etc/profile.d/taoci-theme.sh) |
About > This computer shows the "Other apps" and "Qt apps" status.
Saving and safety
- Every change is saved immediately to
~/.config/glaze/config.tomlwithtoml_edit, which keeps comments, key order and unknown keys. Writes are atomic (temp file plus rename). Keys that are not in the schema yet go to~/.config/glaze/settings.toml. - Live apply: glaze-shell watches
~/.config/glaze/and reloads CSS, taskbars and the wallpaper. Settings sends no extra signal. Settings also watches the directory and follows changes made elsewhere (shell pin edits,--set, a text editor). - Values are validated before they are written: an invalid value shows
an inline error on the row and the file is not touched. A broken
config.tomlputs the app in read-only mode with a banner that offers a reset (the broken file is backed up first). - Undo restores the previous file text. A backup of both files is made
once per session and before every destructive action (reset section,
reset all, import), in
~/.local/state/glaze/settings-backups/(newest 10 kept). Destructive actions ask for confirmation first. - The app never needs root.
Command line (same validation, backup and atomic write as the window)
glaze-settings --get desktop.wallpaper_set
glaze-settings --set desktop.wallpaper_set taoci # VALUE is TOML or a bare string
glaze-settings --set appearance.scheme dark
glaze-settings --unset appearance.accent
glaze-settings --set motion.intensity low
glaze-settings --check # validate config.toml
glaze-settings --export-theme my.toml --name "Mine"
glaze-settings --import-theme my.toml
glaze-settings --reset-section taskbar --yes
glaze-settings --find clock | --list
Build, test, verify
cd apps/glaze-settings
cargo test # portable core, any host (no GTK needed)
cargo fmt --check
cargo build --release # Linux only (GTK 4.14+); in the VM: ~/glaze-settings
cargo clippy --release --all-targets -- -D warnings # in the VM
scripts/vm-smoke.sh [BIN] # headless Sway: window must map and stay alive
scripts/vm-shots.sh OUT light dark classic # every page, per variant
KEEP=1 scripts/vm-smoke.sh; scripts/vm-input.sh click X Y type TEXT shot F cfg
vm-input.sh needs tools/vptr
(cd tools/vptr && cargo build --release): a
headless Sway has no input devices, so pointer input comes from a
wlr-virtual-pointer helper. Keys go through wtype.
Screenshots: docs/screens/settings/.
Source: docs/settings.md. Corrections go there.