-
-
Notifications
You must be signed in to change notification settings - Fork 17
-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to setting new daily wallpaper automatically everyday without restart linux? #47
Comments
00 09 * * 1-7 env XDG_RUNTIME_DIR=/run/user/1000 bing-wall in crontab -e each day at 9:00 but you need to close it afterwards. maybe need to use /snap/bin/bing-wall |
@hifron that env does not work for me. i had to copy my entire |
You can use bing-wall --set |
@keshavbhatt do you know exactly which environment variables are required to make it able to run from inside crontab? |
I dont know why we need env variables. The app executable should be callable directly. |
@keshavbhatt according to this it is edit: im using wayland. |
fix: #!/bin/bash
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
export QT_QPA_PLATFORM=offscreen
/snap/bin/bing-wall --set to test: note: |
If there is some script to delete old wallpapers in bash/powershell, it needs non-gui part of user and maybe it won't work, but not tested this way from crontab. |
Is there a way to setting new daily wallpaper automatically everyday without restart linux?
I use Ubuntu 24.04.
The text was updated successfully, but these errors were encountered: