Skip to content

Having some trouble with the dconf and gsetting plugins #19

@elmehalawi

Description

@elmehalawi

I'm trying to set a dconf setting from an Ansible script (I cloned your repo). Here's my attempt:

- name: set resolution scaling
  dconf:
    key: /com/ubuntu/user-interface/scale-factor
    string: {'DP1': 12}

For some reason this isn't working. I also tried the equivalent using gsettings, and that also did not set the resolution scaling, and I don't get an error in either case. The strange thing is, if I set the scale factor to what it is right now, Ansible shows that nothing happened, but when I set it to something different, it shows that it was updated. That makes it sound like it's working perfectly, but for some reason, it's not actually changing.

It does change when I use either dconf write or gsettings set.

Anyway, I've been thinking about setting something like this up and this repo made it extremely easy. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions