adi1090x / dynamic-wallpaper

A simple bash script to set wallpapers according to current time, using cron job scheduler.
GNU General Public License v3.0
1.88k stars 115 forks source link

dwall says pywal isn't installed even if it is #47

Closed Lanhild closed 3 years ago

Lanhild commented 3 years ago

~$dwall -s lakeside & [1] 42971 ~$ [*] Using style : lakeside [!] pywal is not installed on your system, exiting.. ~$ echo $DESKTOP_SESSION xubuntu

~$ pip3 install pywal Requirement already satisfied: pywal in ./.local/lib/python3.8/site-packages (3.3.0)

@adi1090x

Sagyam commented 3 years ago

Pywal being not optional even though docs say it's optional is the root cause of most of our issues. Apparently this PR claims to fix the pywal bug. Looks like we will just have to wait.

Sagyam commented 3 years ago

Try add environment variable PATH to your cron file. Run echo $PATH Update cron file with

0 * * * * env PATH=<your-path> DISPLAY=:0 DESKTOP_SESSION=/usr/share/xsessions/plasma DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" /usr/bin/dwall -s lakeside
Lanhild commented 3 years ago

nope, doesn't work.

Sagyam commented 3 years ago

What's the error message this time?

Lanhild commented 3 years ago

The exact same

adi1090x commented 3 years ago

Try again, I've fixed it.

Vepnar commented 3 years ago

You could try installing pywal with super user. sudo pip3 install pywal This solved the issue for me.

Lanhild commented 3 years ago

You could try installing pywal with super user. sudo pip3 install pywal This solved the issue for me.

It solved it, thanks!