pywal icon indicating copy to clipboard operation
pywal copied to clipboard

Wallpaper not set on XFCE 4.16

Open ferorborja opened this issue 3 years ago • 1 comments

I'm trying to set a wallpaper with pywal on XFCE 4.16 and it doesnt work. I've tried installing feh and nitrogen but they don't work either. I remember being able to change my wallpaper with pywal a couple years ago, but it doesn't work now. It does work on Gnome though

ferorborja avatar Feb 18 '22 18:02 ferorborja

I can confirm the problem persists on my Kali Linux XFCE 4.16. I wrote a quick bash script that executes a wallpaper change command followed by the "wal -i ". Should work until the issue is not fixed, you just have to change the property value with the correct one for your system. More info here: https://unix.stackexchange.com/questions/596070/how-to-change-wallpaper-on-xfce-from-terminal

#!/bin/bash

echo Please provide image path

read FILE

if [ -f "$FILE" ]; then
    echo "$FILE exists."
    xfconf-query --channel xfce4-desktop --property /backdrop/screen0/monitorVirtual1/workspace0/last-image --set $FILE
    wal -i $FILE
    echo \n Wallpaper and Color Style successfully changed.
else 
    echo "$FILE does not exist."
fi

highonskooma avatar Feb 19 '22 19:02 highonskooma