Ubuntu 9.10 desktop wallpaper Automatic Switch

Source: Internet
Author: User

<! --
@ Page {margin: 0.79in}
P {margin-bottom: 0.08in}
-->

New Year's Day holiday, never go out, suddenly want to give his book a nice desktop wallpaper. Because Hayao Miyazaki's cartoons are quite popular, he has collected some anime pictures and made a desktop background that could be automatically switched. Well, let's just talk about it. The steps are as follows:

1. It may take a lot of time to collect images, if you do not have a ready-made image.

2. Find the path

/Usr/share/backgrounds/Cosmos, with

Cosmos, which is
Ubuntu 9.10
Scheduled switch of the default desktop background. There is

Background-1.xml file, control regular replacement wallpaper.
If you want to create a regular switch wallpaper, you need to create a new directory and copy the wallpaper to the directory:
Assume that the name is
Replace Xiaotao with your own.

 
Command
:

Sudo mkdir-P
/Usr/share/backgrounds/Xiaotao

Sudo CP
/Usr/share/backgrounds/COSMOS/background-1.xml
/Usr/share/backgrounds/Xiaotao/

Sudo CP # directory of your wallpaper File
#
/Usr/share/backgrounds/Xiaotao

Then edit the control script:

Command
:

Sudo
Gedit
/Usr/share/backgrounds/Xiaotao/background-1.xml

After this is done, you cannot display your own background images in the background list. You also need to set up a control.
The script of the gnome background attribute.

Command
:

Sudo
CP/usr/share/gnome-Background-properties/cosmos. xml
/Usr/share/gnome-Background-properties/Xiaotao. xml
Then
In Xiaotao. XML
The background-1.xml path is changed to yours.

Sudo
Gedit
/Usr/share/gnome-Background-properties/Xiaotao. xml

Inside
Switch cosmos
The last path of Xiaotao (your directory name) is changed to your
Background-1.xml path

View
In the middle of filename, give your own path

<FILENAME>/usr/share/background/Xiaotao/background-1.xml </FILENAME>

Last Modified
Background-1.xml

Set
Replace cosmos
Xiaotao

Replace the file name with your own file name.

Sudo
Gedit
/Usr/share/back ground/Xiaotao/background-1.xml

After completion, check the desktop wallpaper options.

Is there an extra window change?

The above related content from http://bbs.jnustu.net/viewthread.php? Tid = 226479 thanks to the author.

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.