ansible-role-customize-gnome
ansible-role-customize-gnome copied to clipboard
Consider using dconf module
Hello,
I think it might be worth considering using the dconf module (https://docs.ansible.com/ansible/latest/collections/community/general/dconf_module.html) over command. It seams to work better at least in some cases. The following fails with customize_gnome
gnome_dconf:
- key: /org/gnome/desktop/wm/preferences/button-layout
value: "'close,minimize,maximize:'"
returning
error: 0-5:unknown keyword
But it works fine, when using dconf module.
Hi @radek-sprta - thanks for the suggestion. Yeah, using that module seems like a nicer way forward. However, this also implies some more dependencies (as in: the community collection). I'll dive into it.
I was having a few issues with the dconf aspect of the module too. When installing extensions sync, the gnome_dconf didn't like me submitting the github-gist-id and git-hub-user-token
Hi @radek-sprta - I've implemented the 'native' dconf module, and your example now works (again). Please see version 0.2.8.
Thanks for your suggestion!
It's working perfectly with all my dconf settings now. Thanks for the work!