
KDE time-affected/seasonal backgrounds
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
I had this idea while I was deciding which background I should choose earlier! Basically, I think it would be fantastic to have backgrounds that, possibly as well as fading slowly from one to the next and having slight movement such as snowflakes falling, also changed according to the time of day, or maybe even season or other factor.
I'm not sure if this has been done before, but imagine if as it got darker outside, your pc switched to the background you had chosen for night-time, and then changed again for the day!
For seasons, maybe a range could be stored online, and KDE could consult the online server which would give it a range of suitable backdrops.
Taking it further, maybe it could be used for topical backgrounds, such as if there is an event on that day. I think the possibilities are pretty fantastic!
We would need to think of a really cool sounding name for it though, mine was just an idea =)
Thanks for reading!
Mike
PS As a small idea of what I mean, I have included pictures of my desktop with images from the rather cool vladstudio.com (which gave me part of this idea). One is at night, and one is of rain =)
abarbarian
11 years ago
Report
dragonauta
12 years ago
#!/bin/bash
HORA=$(date +%H)
MANANA="/pictures/wpmanana.jpg"
DIA="/pictures/wpdia.jpg"
NOCHE="/pictures/wptarde.jpg"
if [[ "$HORA" -eq "9" || "$HORA" -lt "11" ]]; then
dcop kdesktop KBackgroundIface setWallpaper "$MANANA" 6
elif [[ "$HORA" -ge "11" && "$HORA" -lt "14" ]]; then
dcop kdesktop KBackgroundIface setWallpaper "$DIA" 6
elif [[ "$HORA" -ge "14" && "$HORA" -lt "19" ]]; then
dcop kdesktop KBackgroundIface setWallpaper "$NOCHE" 6
fi
Because I work between 9 and 18:30, this script changes my wallpaper three times.
It's included at /etc/init.d so it will start when I boot my system, and it's added into crontab:
0 11,14 * * * /pictures/changewp
so it will run at 11 and 14 o'clock changing the wallpaper.
:)
Report
dragonauta
12 years ago
I've removed the script from init.d.
It won't start like that.
It must start when you login, add a link to ~/.kde/Autostart
Report
themer
12 years ago
Report
yoalieh2
12 years ago
Report
seepage87
12 years ago
I've never changed a background in the terminal, but whatever the command is, it'd be pretty simple to set up a chron task to take care of it.
Better to have a more robust version where you have conditionally dependent categories/tags you assigned to the wallpapers (be it weather, time, season, whether you're playing music, whatever) and randomly selects a wallpaper that meets all (or the most of) the tags that are applicable given the conditions. Sorry if that wasn't as clear as it could be.
Report
inckie
12 years ago
dcop kdesktop KBackgroundIface setWallpaper "$path_to_wallpaper" $mode
, where $mode is an integer.
Report
dasein
12 years ago
Report
Enderandrew
12 years ago
What I'd like to see is taking any picture that you set as your wallpaper, and adjusting the hue or something like that subtly through out the day.
When I start up my PS3, the "wave" background of the PS3 adjusts colors depending on the time of day.
Obviously, the shifting color thing should be an option you can turn on or off.
Report
jonico
12 years ago
Thanks for making the app~
Report
Ekardnam
12 years ago
With KDE4 and Plasma, I don't think it would be very hard to do.
Report
explosion
12 years ago
Report
anderslund
12 years ago
Report
PhilippeP
12 years ago
It changes the wallpaper based on weather station info ... and it's not windows :)
Report
silentdissonance
12 years ago
I think they got the sunrise/sunset times for your town, then divided it up for 4 images: morning, afternoon, evening, night, and changed them appropriately. Seasons were pulled via the equinoxes.
This is still a great little thing, and I'd love to see more improvement on it, and it would be nice to have something cool like this on Linux. :)
Report