You are not logged in.
My goal is to be able to change wallpaper through bash command script, does not have to be gsettings but that's the only one I found. So I use this
~ gsettings set org.gnome.desktop.background picture-uri 'file:///home/Pictures/wall.jpg' # no errors in the console and no background has changed
~ gsettings get org.gnome.desktop.background picture-uri # value appears to have changed though as per below output
'file:///home/Pictures/wall.jpg'
~ gsettings set org.gnome.desktop.background picture-options 'centered' # this works by resizing current wallpaperI noticed someone had similar issue in the past https://www.reddit.com/r/gnome/comments … tings_set/ but no solution was provided.
I need help getting this working, not sure if anyone experienced this before?
Linux arch 6.7.5-arch1-1
GNOME Shell 45.4
gnome-control-center 45.3
Last edited by dab9966 (2024-02-25 01:52:52)
Offline
Finally got it! Found solution here: https://askubuntu.com/a/1427663
It appears that for dark mode you need a different command, bizzare but it makes sense. The correct command is
gsettings set org.gnome.desktop.background picture-uri-dark 'file:///home/Pictures/wall.jpg'`Offline