I'm a archlinux user and some time ago, 2 months, I had a custom command on thunar to set a wallpaper,,,
I searched again this command, but I can't set my wallpapers anymore.
the command is :
$ xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s /usr/share/backgrounds/xfce/xfce-blue.jpg
the terminal returns:
Property "/backdrop/screen0/monitor0/image-path" does not exist on channel "xfce4-desktop". If a new property should be created, use the --create option.
what should I do?
You need to make sure that you get the correct xfconf path. It varies from version to version and from setup to setup. To get it, do this:
xfconf-query -c xfce4-desktop -m
...then change the wallpaper using the GUI method. When it changes, it will display the path in the terminal window. Use that path instead of "/backdrop/screen0/monitor0/image-path" in your example.
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/last-image -s "/usr/share/backgrounds/xfce/xfce-blue.jpg"
Property "/backdrop/screen0/monitor0/last-image" does not exist on channel "xfce4-desktop". If a new property should be created, use the --create option
I believe I'm using the wrong options,,,
You're missing the workspace0 identifier in your command:
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image -s "/usr/share/backgrounds/xfce/xfce-blue.jpg"
it really works!!!