zoukankan      html  css  js  c++  java
  • Fedora-壁纸的设置

    今天下了个壁纸图包,就顺便鼓捣了一下桌面壁纸的配置。

    系统:Fedora20

    桌面环境:gnome

    首先,找到壁纸在哪里。一般情况下,在这个路径:/usr/share/backgrounds/gnome/...

    将你的壁纸放入里面,但是先别着急去改背景桌面,因为现在gnome还没识别你的桌面背景图片,gnome的桌面图片其实是需要在xml配置文件里面配置一下的,具体如下:

    首先打开/usr/share/gnome-background-properties/

    找到gnome-backgrounds.xml文件,我们来看看文件结构

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
     <wallpapers>

    <wallpaper deleted="false">

                   <name>Kronach leuchtet 2014 by Brian Fox</name>
                     <name xml:lang="zh_CN">Kronach leuchtet 2014 by Brian Fox</name>
                     <name xml:lang="en_GB">Kronach leuchtet 2014 by Brian Fox</name>
                     <filename>/usr/share/backgrounds/gnome/Kronach leuchtet 2014 by Brian Fox.jpg</filename>
                     <options>zoom</options>
         <pcolor>#ffffff</pcolor>
         <scolor>#000000</scolor>
             </wallpaper>
           <wallpaper deleted="false">

                     <name>Horses on sand dunes by Matthias Siewert</name>
                     <name xml:lang="zh_CN">Horses on sand dunes by Matthias Siewert</name>
                     <name xml:lang="en_GB">Horses on sand dunes by Matthias Siewert</name>
                     <filename>/usr/share/backgrounds/gnome/Horses on sand dunes by Matthias Siewert.jpg</filename>
                     <options>zoom</options>
         <pcolor>#ffffff</pcolor>
         <scolor>#000000</scolor>
             </wallpaper>
     </wallpapers>

    粗体红字标注的就是一个壁纸属性,我们只需要添加红字部分,其他壁纸名字,地址(绝对路径)自己更改,改完就会发现壁纸已经出现在gnome更换壁纸的选择框里了。

  • 相关阅读:
    P1099 [NOIP2007 提高组] 树网的核
    UVA 数学题选做
    Codeforces 729 Div.2
    P1600 [NOIP2016 提高组] 天天爱跑步
    CF1106F Lunar New Year and a Recursive Sequence
    P6091 【模板】原根
    P4774 [NOI2018] 屠龙勇士
    P1106 删数问题
    P1209 [USACO1.3]修理牛棚 Barn Repair
    网络(network)
  • 原文地址:https://www.cnblogs.com/Rapheal/p/4148183.html
Copyright © 2011-2022 走看看