Dynamic Desktop Wallpaper under Ubuntu10.04

Source: Internet
Author: User
I don't know if you have noticed when using Ubuntu that multiple wallpapers can be dynamically switched under Ubuntu. It seems that Win7 also has similar functions (I used win7 For A While ). I also noticed this recently. The following is an experiment in Ubuntu10.04, and the previous version should also work. The implementation principle is to use an xml file to record the wallpaper that can be switched. The following is an example self-contained in Ubuntu10.04. First of all, Ubuntu

I don't know if you have noticed when using Ubuntu that multiple wallpapers can be dynamically switched under Ubuntu. It seems that Win7 also has similar functions (I used win7 For A While ). I have recently noticed this point. The following is an experiment in Ubuntu 10.04. The previous version should also work.
The implementation principle is to use an xml file to record the wallpaper that can be switched. The following is an example self-contained in Ubuntu 10.04.

First of all, the default Ubuntu wallpaper is stored in the/usr/share/backgrounds/directory. www.linuxidc.com also has a cosmos directory (meaning "Universe") in this directory, the xml file in cosmos is capable of switching live desktop wallpapers.

Jarson @ jarson-laptop:/usr/share/backgrounds/cosmos $ ls
Background-1.xml cloud.jpg earth-horizon.jpg helix-nebula.jpg sombrero.jpg
Blue-marble-west.jpg comet.jpg galaxy-ngc3370.jpg jupiter.jpg whirlpool.jpg
Jarson @ jarson-laptop:/usr/share/backgrounds/cosmos $ cat background-1.xml

The starttime label specifies the start time of the animation (slide). You can set the time according to your own time. This should not affect the functions to be implemented.
2009  
08  
04  
00  
00  
00  
 
Animation meaning
Static
1800.0 The duration label specifies the duration in seconds.
/Usr/share/backgrounds/cosmos/cloud.jpg The file tag specifies the path where the wallpaper is stored.
 
Meaning of "transition" Switch
5.0  
/Usr/share/backgrounds/cosmos/cloud.jpg From... to switch from wallpaper A to wallpaper B.
/Usr/share/backgrounds/cosmos/comet.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/comet.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/comet.jpg  
/Usr/share/backgrounds/cosmos/earth-horizon.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/earth-horizon.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/earth-horizon.jpg  
/Usr/share/backgrounds/cosmos/blue-marble-west.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/blue-marble-west.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/blue-marble-west.jpg  
/Usr/share/backgrounds/cosmos/galaxy-ngc3370.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/galaxy-ngc3370.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/galaxy-ngc3370.jpg  
/Usr/share/backgrounds/cosmos/helix-nebula.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/helix-nebula.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/helix-nebula.jpg  
/Usr/share/backgrounds/cosmos/jupiter.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/jupiter.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/jupiter.jpg  
/Usr/share/backgrounds/cosmos/sombrero.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/sombrero.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/sombrero.jpg  
/Usr/share/backgrounds/cosmos/whirlpool.jpg  
 

1800.0  
/Usr/share/backgrounds/cosmos/whirlpool.jpg  
 

5.0  
/Usr/share/backgrounds/cosmos/whirlpool.jpg  
/Usr/share/backgrounds/cosmos/cloud.jpg  
 
 

Note that from... to should constitute a loop.

Setting Dynamic Desktop wallpaper has two good functions: 1. Meeting the needs of setting multiple wallpapers; 2. Time reminder. For example, if I set switching once every half an hour, I will know that half an hour has passed...

After setting, right-click the desktop and choose "Change desktop background"> "add". In the lower-right corner of the dialog box that appears, select "all files" ("Images "), find the xml file of the Dynamic Desktop wallpaper you have defined and double-click it to add it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.