Closed four43 closed 1 year ago
Maybe this is just another :+1: for https://github.com/PeterMosmans/ansible-role-customize-gnome/issues/13
Hi @four43 - thanks for the feedback. Yeah, I agree with both statements: The current situation is difficult with regards to complex strings and YAML, and the community dconf module is the way forward. I'll be looking into that...
Much appreciated. Thanks for the great module here. I'm having a lot of fun with it!
Hi @four43 , please see version 0.2.8 where I've implemented the native dconf module. Let me know if this works for you...
I am having myself just a time trying to get dconf to work happily with some complex values. Gnome Clocks is the tricky one, they store their values as some sort of pickle like value? It has spaces in it, which don't get quoted when passed to the shell command call:
Results in an error:
See the
cmd
part that has all the args split on spaces. What compounds the issue is that thedconf write
command is really picky anyway, requiring some escaped quotes even if there aren't spaces.Seems to work however. Though strings really need to be strings
Any thoughts/tips? This is tough to convey in YAML