adi1090x / dynamic-wallpaper

A simple bash script to set wallpapers according to current time, using cron job scheduler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dwall says pywal isn't installed even if it is

Lanhild opened this issue · comments

~$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

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.

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

nope, doesn't work.

What's the error message this time?

The exact same

Try again, I've fixed it.

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

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

It solved it, thanks!