Hello,
This seems like a fantastic project that could allow me to easily use and swap dynamic wallpapers. So Kudos to the devs for than.
Unfortunately I've run into a couple of issues, which I just can not figure out. I'm pretty much a beginner and still learning, apologies for any mistakes.
I've read though the previous issues and #3 was a godsend. I'll list out everything I've encountered and resolved using it.
My system is Zorin OS 15
gnome-panel 3.26.0
Right off the bat, same thing happened to me with heif convert
, I'd installed libheif-dev
.
libheif-examples
fixed that problem.
Along those lines, the package for exiftool
was libimage-exiftool-perl
.
dynwalls setcmd 'feh --bg-fill --no-fehbg {}'
didn't work for me either, but the other command, gsettings set org.gnome.desktop.background picture-uri 'file:///home/rinzler/.local/share/dynwalls/images/wallpaper-1.jpg'
did work without a hitch.
The output of cat ~/.local/share/dynwalls/config.json
should be needed is:
{"wp_cmd": "gsettings set org.gnome.desktop.background picture-uri \"file://{}\"", "dyn_config": {"ti": [{"t": 0.0, "i": 0}, {"t": 0.125, "i": 1}, {"t": 0.25, "i": 2}, {"t": 0.375, "i": 3}, {"t": 0.5, "i": 4}, {"t": 0.625, "i": 5}, {"t": 0.75, "i": 6}, {"t": 0.875, "i": 7}], "ap": {"d": 7, "l": 0}}}
After that, python3 dynwalls setcmd "gsettings set org.gnome.desktop.background picture-uri file://{}"
resulted in Successfully updated wallpaper command.
Great? Now I should be able to use the "dynwalls use command" right?
Executing python3 dynwalls use ./Wallpapers/Big-macOS-Sur.heic
(Wallpapers is a directory I created) returns:
Could not read HEIF file: Invalid input: No 'meta' box
Usage:
gsettings [--schemadir SCHEMADIR] get SCHEMA[:PATH] KEY
Get the value of KEY
Arguments:
SCHEMADIR A directory to search for additional schemas
SCHEMA The name of the schema
PATH The path, for relocatable schemas
KEY The key within the schema
Well... perhaps a bad file, I tried again with python3 dynwalls use ./Wallpapers/Dome.heic
, this returns:
File contains 2 images
Can't open /home/rinzler/-1.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
Can't open /home/rinzler/-2.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
Usage:
gsettings [--schemadir SCHEMADIR] get SCHEMA[:PATH] KEY
Get the value of KEY
Arguments:
SCHEMADIR A directory to search for additional schemas
SCHEMA The name of the schema
PATH The path, for relocatable schemas
KEY The key within the schema
This message:
Oh you should probably use set
and not get
, sorry :D
Originally posted by @boi4 in #3 (comment)
Helps solve something, now the outputs are:
For python3 dynwalls use ./Wallpapers/Big-macOS-Sur.heic
:
Could not read HEIF file: Invalid input: No 'meta' box
And python3 dynwalls use ./Wallpapers/Dome.heic
:
File contains 2 images
Can't open /home/rinzler/-1.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
Can't open /home/rinzler/-2.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
At this point while @ng2303's wallpaper at least applied, I couldn't, but I haven't yet run dynwalls enable
if that matters.
My ~/.local/share/dynwalls/images
directory is very much empty at this point.
Now, while python3 dynwalls setcmd "gsettings set org.gnome.desktop.background picture-uri file://{}"
still returned Successfully updated wallpaper command.
, it didn't solve the above problem of using the wallpaper.
Yes it should have been setcmd. Okay run this:
systemctl --user disable dynwalls.timer
rm ~/.local/share/systemd/user/dynwalls.timer
rm ~/.local/share/systemd/user/dynwalls.service
rm -r ~/.local/share/dynwalls
systemctl --user daemon-reload
# in the dynwalls directory
git checkout master
python3 dynwalls setcmd "gsettings set org.gnome.desktop.background picture-uri file://{}"
python3 dynwalls use PATH_TO_HEIC
python3 dynwalls enable
Try to understand what these commands do before you use them.
Sorry for all the hassle, I think I will maybe run popos on a vm for testing and check whether this works.
Originally posted by @boi4 in #3 (comment)
I do understand what these do, and ran successfully, but trying to use my wallpaper, it's still:
File contains 2 images
Can't open /home/rinzler/-1.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
Can't open /home/rinzler/-2.local/share/dynwalls/images/wallpaper.jpg: No such file or directory
could not write image
I ran the command by @flohw python3 dynwalls setcmd 'gsettings set org.gnome.desktop.background picture-uri "file://{}"
, but that doesn't fix the problem.
That was a terribly long winded explanation, but I wanted there to be as little confusion as possible, I can see that dynwalls is trying to use /home/rinzler/**-1.**local
and /home/rinzler/**-2**.local
instead of /home/rinzler/.local
, but there's nothing on the internet, so I'm lost.
And as for journalctl --user -u dynwalls
, well, there are no logs.
All my wallpaper are from Dynamic Wallpaper Club so they should work perfectly?