Ubuntu 9.10 自动更换系统壁纸


  壁纸有时候可以给自己一个不一样的心情;收藏了不少壁纸的图片,这里翻出来一次让它们主动地晒个够,google一下,果然有了!

  Ubuntu 9.10 自动更换壁纸大概分3步骤走:

  一、建立自己的图片文件夹并将需要的图片放置在该新建目录下

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

  二 、复制background-1.xml文件到步骤1所新建的文件下,并修改之

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

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

  修改的部分,请参考此文章

  三、建立一个控制gnome背景属性的脚本

  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

  把上文件中的的 cosmos换为 heishage(你的目录名)最后的路径改为你的 background-1.xml路径

  如:

  /usr/share/background/heishage/background-1.xml

  就这样好咯…..壁纸换来换去还时蛮有意思,现在觉得貌似整体都要换咯,不然有些东西不好看咯…. 换去。

相关内容