markubiak / wallpaper-reddit

Downloads and sets wallpapers pulled from reddit.com
GNU General Public License v3.0
113 stars 42 forks source link

xfce setcommand #39

Closed shigox23 closed 6 years ago

shigox23 commented 7 years ago

I was able to fix the "Your DE could not be detected to set the wallpaper." With the following

setcommand = xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image -s /home/####/.wallpaper/wallpaper.jpg

Where the backdrop is found following the instructions below:

To determine the correct location of the backdrop entry, run: xfconf-query -c xfce4-desktop -m ...and then change the wallpaper using the normal desktop dialog (or thunar's "set as wallpaper"). This will show you which xfconf setting was changed to display the image. Adjust your script to use this location. Thanks to -- numzob

and #### is replaced by your username.

markubiak commented 7 years ago

Thank you for filing this. XFCE should be automatically detected -- can you provide the output of echo $DESKTOP_SESSION? What distribution are you using?

Mark

markubiak commented 7 years ago

Any chance you could run that command for me?

rolandoislas commented 7 years ago

I experienced this running XFCE as well on Debian Stretch 9.2 with LightDM as the display manager.

> echo $DESKTOP_SESSION
lightdm-xsession
markubiak commented 6 years ago

I don't think I can say that lightdm is tied to xfce; people using lightdm could just as well be using another desktop. Sorry, I'm gonna close this one. If you can find another good way to check for XFCE please reopen this!