更改Fedora的登录界面背景



进过一些必要的折腾,终于升级到了Fedora17,但是新系统的背景看着很是不爽,
准备换一个,步骤如下:
 
Activities -> Applications -> System Tools -> System Settings -> Background
 
然后选择自己喜欢的图片,换上去。
 
但是,换上去一看,只是桌面的背景换了,登录界面的背景还是依旧。
 
好吧,google,然后找到一篇文章 http://forums.fedoraforum.org/showthread.php?t=265990。
  www.2cto.com  
具体的操作步骤如下:
 
1. open terminal
2. su
3. xhost +  // 注意这里是 执行命令 xhost , ’+’ 是xhost 命令的参数 不要敲错
4. sudo -u gdm dbus-launch gnome-control-center
5. Click background and select your background
 
关于第4个命令的解释如下,有人转载文章的时候会在不理解命令作用的情况下把命令给敲错了,
结果误导人(发帖的人就是被害者),这里有人给出了解释:
  www.2cto.com  
sudo lets you execute a command as if you had logged into a different user account.
 
The -u option says which account, in this case the account is gdm
 
dbus-launch is the command that sudo is executing for you in the gdm account
 
gnome-control-center is a parameter you are giving to dbus-launch, it is another program that will be run (also in the gdm account).
 
All together, you type ONE command line just like this:
 
sudo -u gdm dbus-launch gnome-control-center
 
注记:貌似锁屏的壁纸还是老壁纸。
 
 
 
作者 胡晅晖

相关内容

    暂无相关文章