gnome role automatically configures GNOME desktop environment settings using the community.general.dconf module. All settings are applied idempotently through Ansible.
Configuration Overview
GNOME settings are managed inansible/roles/gnome/tasks/settings.yml and cover:
- Color scheme (dark mode)
- Clock display options
- Power management settings
Current Settings
Dark Mode
Enables GNOME’s dark color scheme preference:Clock Settings
Configures the top bar clock to show the date and hide seconds:Power Settings
Disables automatic sleep when on AC power:Complete settings.yml File
Fromansible/roles/gnome/tasks/settings.yml:
Running GNOME Configuration
Adding New GNOME Settings
To add additional GNOME settings:1. Find the dconf Key
Usedconf watch / to monitor changes as you modify settings through GNOME Settings:
2. Add Task to settings.yml
Add a new task toansible/roles/gnome/tasks/settings.yml:
3. Value Format Notes
String values: Use single quotes inside double quotesCommon GNOME Settings
Here are some commonly customized settings you might want to add:Window Management
Keyboard Settings
Touchpad Settings
Dependencies
The GNOME role requires thecommunity.general Ansible collection: