User Tools

Site Tools


blog:change_windows_desktop_background_for_day_and_night_ubuntu_gnu:linux

This is an old revision of the document!


Change windows desktop background for day and night (Ubuntu, GNU/Linux)

Having a bright, blue wallpaper for day use and a darker, reddish wallpaper for evening/night is useful stay in synch with the real time of day. So, i wanted my windows xp machine automatically switch to the day wallpaper from 7-20 and to night from 20-7 hours. The following batch script does this, without any add-on software. To use, copy-paste the file and store it to your scripts directory (e:\etc in my case).

Advantages:

  • No additional software (apart from the script) has to be installed
  • No additional load on the computer by a desktop switcher, except from the tasks that you define yourself

Notes: directly use a jpg file as a windows wallpaper (the settings dialog creates a bmp file behind your back!).

  • Configuration is by changing the set … variable at the top of the file
  • Test by calling the batchfile
  • To automate the wallpaper switch:
    • make a link in the windows autostart folder
    • add an hourly task to the task manager (or even cleaner, two tasks at the switch times (7:00 and 20:00)

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
   ____   _  __   ____ __  __   ___ 
  / __/  | |/_/  /  _/ \ \/ /  / _ \
 / _/   _>  <   _/ /    \  /  / , _/
/___/  /_/|_|  /___/    /_/  /_/|_|
 
blog/change_windows_desktop_background_for_day_and_night_ubuntu_gnu/linux.1293695713.txt.gz · Last modified: 2010-12-30 08:55 by brb