sunwxg / gnome-shell-extension-unlockDialogBackground

MIT License
46 stars 9 forks source link

Allow tiling background image #7

Open detly opened 5 years ago

detly commented 5 years ago

Ubuntu 19.04, Gnome 3.32.1.

I would like the image I select to be tiled, not stretched. Could this be provided as an option?

detly commented 5 years ago

Your schema seems to indicate that this setting exists, and should at least be accessible via the Dconf editor. However, when I browse to your extension's settings, I see:

unlock

sunwxg commented 5 years ago

You need to use extension settings ui to change background at once, then you can see it in Dconf.

detly commented 5 years ago

Workaround:

gsettings --schemadir .local/share/gnome-shell/extensions/unlockDialogBackground@sun.wxg@gmail.com/schemas/ set org.gnome.shell.extensions.unlockDialogBackground picture-options 'wallpaper'
detly commented 5 years ago

You need to use extension settings ui to change background at once, then you can see it in Dconf.

I had used the settings UI to change the background path, that Dconf screenshot was after that. There is no option in the extension settings UI itself on my system.

sunwxg commented 5 years ago

Yes, It works. Why don't you use UI to change background?

detly commented 5 years ago

*no option for picture mode, I mean.

detly commented 5 years ago

Why don't you use UI to change background?

I did. There is no option for picture mode though, and Dconf doesn't know it should be there.

sunwxg commented 5 years ago

Okay, I get it. Maybe you need to log out then log in, then you can see it in Dconf.

detly commented 5 years ago

I tried that, even rebooted. It didn't show up.

sunwxg commented 5 years ago

If you want to change background stretched option, you can try to change this key: org/gnome/desktop/backgound/picture-options

detly commented 5 years ago

If you want to change background stretched option, you can try to change this key: org/gnome/desktop/backgound/picture-options

Note that gsettings/dconf-editor won't let you set the key if it doesn't know the schema. See my workaround above for the full command required.

LoneFenris commented 4 years ago

I think this is because dconf is unaware of extension schemas in .local by default? At least it doesn't seem to link any of my installed extensions' settings to a schema (ie. the keys are listed under "Keys not defined by a schema" in dconf and have "No schema found" noted under them). So without something in the prefs to set the key, they never get set unless done manually.