dotfiles/.config/gnome-settings/local/README.md

62 lines
1.3 KiB
Markdown
Raw Normal View History

2026-08-03 14:30:55 +02:00
# Machine-Specific Overrides
`*.ini` files here are loaded *after* the shared files one level up
and may override any of their keys.
Use them for anything tied to one machine's hardware or capabilities,
for example, suspend/hibernate bindings, HiDPI scaling, or night light warmth.
Same rules as for the shared files:
paths are anchored at the root of `dconf`,
and `/home/user` is rewritten before loading.
Two files are *generated* and must not be edited by hand:
- `palette.ini` is written by [`color-palette`](../../../.local/bin/color-palette)
- `temporary_background.ini` is written by
[`randomize-background`](../../../.local/bin/randomize-background)
and removed again by
[`gnome-restore`](../../../.local/bin/gnome-restore)
on the next login
## Examples
Suspend and hibernate bindings are reserved
in [`key-bindings.ini`](../key-bindings.ini)
but only bound here
on machines that support them:
```ini
# local/power.ini
[org/gnome/settings-daemon/plugins/media-keys]
suspend=['<Super><Alt>Escape']
hibernate=['<Super><Alt><Shift>Escape']
```
A HiDPI panel:
```ini
# local/display.ini
[org/gnome/desktop/interface]
text-scaling-factor=1.25
```
A machine in a dim room that should run warmer by default:
```ini
# local/night-light.ini
[org/gnome/settings-daemon/plugins/color]
night-light-temperature=uint32 1800
```