Manage Gnome Shell settings via dconf or gsetting #17

Closed
opened 2023-06-28 11:17:43 +00:00 by benie · 3 comments
Owner

On Gnome Wayland applications which intend to expose global keyboard shortcuts but do so through the Gnome Shell settings custom keyboard shortcuts menu. It is also possible to set these via the command line via dconf or gsetting although the exact concoction must be known ahead of time. There is an Ansible dconf module which is not very clear how it would work for this use case. There are also some community modules, ansible-dconf, and ansible-gsetting which might fit the bill.

In any case, the following custom keyboard shortcuts are required:

  • 1Password quick access - Alt-Shift-Space
  • ULauncher toggle - Alt-Space
On Gnome Wayland applications which intend to expose global keyboard shortcuts but do so through the Gnome Shell settings custom keyboard shortcuts menu. It is also possible to set these via the command line via `dconf` or `gsetting` although the exact concoction must be known ahead of time. There is an Ansible [dconf module](https://docs.ansible.com/ansible/latest/collections/community/general/dconf_module.html) which is not very clear how it would work for this use case. There are also some community modules, [ansible-dconf](https://github.com/jistr/ansible-dconf), and [ansible-gsetting](https://github.com/jistr/ansible-gsetting) which might fit the bill. In any case, the following custom keyboard shortcuts are required: * 1Password quick access - Alt-Shift-Space * ULauncher toggle - Alt-Space
benie added the
enhancement
label 2023-06-28 11:17:43 +00:00
Author
Owner

This is not so straight forwards. Managed to set the relevant dconf variables to match a working system with some custom keybingins only for the Gnome Settings app to crash when attempting to load those settings.

Not actually tried this after a reboot, though. 🤔

This is not so straight forwards. Managed to set the relevant `dconf` variables to match a working system with some custom keybingins only for the Gnome Settings app to crash when attempting to load those settings. Not actually tried this after a reboot, though. :thinking:
Author
Owner

Reboot didn't work. Not sure how to progress this now. Haven't tried gsettings yet, maybe it does other magic to make things not crash.

Reboot didn't work. Not sure how to progress this now. Haven't tried `gsettings` yet, maybe it does other magic to make things not crash.
Author
Owner

Fixed in 8e0743cbba, 1965529cb6, and 3e9b32b32f.

Fixed in 8e0743cbbadf0d0028b0117a24bdcf5504f78422, 1965529cb684b142ee27ccf391016fb27fb45c2f, and 3e9b32b32f8e7b0502ca9b26af7fc57181bc5b3b.
benie closed this issue 2024-07-07 20:22:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: config/local#17
No description provided.