Ubuntu 9.10 automatically replaces the system Wallpaper

Source: Internet
Author: User

Wallpaper sometimes gives you a different mood. You have added a lot of pictures of wallpapers to your favorites. Here, you can turn them out to make them take the initiative to get enough photos, and google will surely get it!

Ubuntu 9.10 automatically replaces the wallpaper in three steps:

1. Create your own image folder and place the desired image under the new directory.

Sudo mkdir-p/usr/share/background/heishage

2. Copy the background-1.xml file to the file created in step 1 and modify it

Sudo gedit/usr/share/backgrounds/cosmos/background-1.xml/usr/share/backgrounds/heishege/

Sudo gedit/usr/share/backgrounds/heishage/background-1.xml

For more information, see this article.

3. Create a script to control gnome background attributes

Sudo cp/usr/share/gnome-background-properties/cosmos. xml/usr/share/gnome-background-properties/heishage. xml

Sudo gedit/usr/share/gnome-background-properties/heishage. xml

Replace the cosmos in the above file with the heishage (your directory name) and the last path to your background-1.xml path

For example:

/Usr/share/back ground/heishage/background-1.xml

That's good ..... It was quite interesting to change the wallpaper in exchange. Now I think it seems like I have to change the wallpaper as a whole. Otherwise, some things may not be easy to read .... Change.

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.