You are not logged in.
Thanks for your time.
I've seen a lot of threads googling about changing by a specific time or the standard system of changing based on time elapsed, but not changing based specifically on the day of the week.
Is this possible in XFCE without major hacking? If not, what kind of hacking would need to be done?
Appreciate any insight!
Offline
If you already know how to change it with a bash script, modify it to check week day before action.
Check date manpage , options %w and %u
Offline
If you never shut down your computer, you could try the setting in Settings/Desktop, at the bottom of that window, "Change the background (in minutes)." Enter 1440 as the variable - 1,440 minutes is 24 hours.
I suspect that if you turn your computer off the counter gets reset, but that is only my assumption.
Offline
There's not a pacman-friendly solution to this I guess? (I'm on Arch). If that's the case I'll go digging in the AUR.
If you already know how to change it with a bash script, modify it to check week day before action.
Check date manpage , options %w and %u
I don't actually, I wouldn't turn down some first person enlightenment but I've seen a lot of google pages about it so I don't want to ask lol...
If you never shut down your computer, you could try the setting in Settings/Desktop, at the bottom of that window, "Change the background (in minutes)." Enter 1440 as the variable - 1,440 minutes is 24 hours.
I suspect that if you turn your computer off the counter gets reset, but that is only my assumption.
Yeah that's the problem, I need it to check the date and then display a picture when xfce loads, rather than run an incremental timer.
Last edited by xmouse (2013-05-27 17:45:56)
Offline
Don't know if something already exists... Surely somebody has already done a bash script like this :-)
Anyway:
date '+%u'
outputs a number from 1 (monday) to 7 (sunday) , then with a bash case statement you do what you need
This is the code I use to change wallpaper with command line
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s "$WALLPAPER_FILE"
If you just want to have seven wallpapers rotating, just put together these parts and run the script at every startup...
Last edited by paolo321 (2013-05-28 10:40:46)
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 535.78 KiB (Peak: 536.63 KiB) ]