Closed jans23 closed 3 years ago
Thanks! I’ve just added an installation section to the readme, I hope it will help you.
Thanks. I followed the instructions and it looks good:
$ systemctl --user enable spotlight.timer
Created symlink /home/me/.config/systemd/user/default.target.wants/spotlight.timer → /home/me/.local/share/systemd/user/spotlight.timer.
But my desktop background didn't change. What to do?
It will change daily now that you have enabled it, until you disable the timer again by running systemctl --user disable spotlight.timer
.
To trigger it once you can either use the desktop entry by looking for spotlight in your gnome app menu, run spotlight.sh
in a terminal, or trigger the service manually with systemctl --user start spotlight.service
.
I installed it the "local" way, as described in the installation documentation. Executing spotlight.sh manually does change the background successfully. But the following doesn't work:
$ systemctl --user start spotlight.service
Failed to start spotlight.service: Unit spotlight.service not found.
It will change daily now that you have enabled it, until you disable the timer again by running systemctl --user disable spotlight.timer.
To trigger it once you can either use the desktop entry by looking for spotlight in your gnome app menu, run spotlight.sh in a terminal, or trigger the service manually with systemctl --user start spotlight.service.
Perhaps it would be good to add this information to the README.
It will change daily now that you have enabled it, until you disable the timer again by running systemctl --user disable spotlight.timer. To trigger it once you can either use the desktop entry by looking for spotlight in your gnome app menu, run spotlight.sh in a terminal, or trigger the service manually with systemctl --user start spotlight.service.
Perhaps it would be good to add this information to the README.
I already did that yesterday :)
I installed it the "local" way, as described in the installation documentation. Executing spotlight.sh manually does change the background successfully. But the following doesn't work:
$ systemctl --user start spotlight.service Failed to start spotlight.service: Unit spotlight.service not found.
And I guess consequently the daily change doesn't work? Weird, because you could enable the timer. Can you verify that the service is in the same directory as the timer. I will try to reproduce it later.
Can you verify that the service is in the same directory as the timer.
Confirmed.
I just removed my package and did the local installation and it worked.
After a day the wallpaper did changed successfully. Still the error above happens when executing manually.
I noticed that the wallpaper on the locked screen is different from the wallpaper on the (logged in) desktop (both are from Microsoft). Is this expected?
Weird, because the timer is using the service as well.
Indeed, that is expected behavior.
Since installation a few days ago, the wallpaper didn't change. What to do?
Did you had a look at the log yet, e.g systemctl --user status spotlight.timer
or systemctl --user status spotlight.service
?
$ systemctl --user status spotlight.timer
Unit spotlight.timer could not be found.
$ systemctl --user status spotlight.service
Unit spotlight.service could not be found.
Maybe the paths are different on Ubuntu? But couldn't you enable the timer and haven't you reported that it once changed?
Enabling the timer succeeded but starting the timer doesn't.
Unfortunately it doesn't fix this issue.
I can confirm, spotlight.sh
is working properly on Ubuntu 20.04 LTS (64 bit)! Nice work! :-)
Thanks for the confirmation, @CodeFinder2!
Cool project. Could you give a few hints how to install it on Ubuntu Linux, please?