【转】 如何美化xfce
2011-01-06 17:16
转载自 分享
最终编辑 ubuntu2009

1.编辑选单 (xfce4-menueditor)
对着 "Applications" 按右键选 "编辑选单"

2.设定管理程序
开启 "Applications"-"设定"-"设定管理程序" (xfce-setting-show)
2.1.Orage偏好设定
2.2.Preferred Applications
2.3.使用者接口

 


2.3.1.主题
到 http://www.xfce-look.org/ 下载布景主题 (也可以使用 GTK 1.x GTK 2.x 的 Themes)
*例如: Mac OS X Bundle: http://www.gnome-look.org/content/show.php?content=28686 里的 mac-osx-controls
檔名: 28686-mac-osx-bundle.tar.gz (mac-osx-controls.tar.gz)
安装布景主题:
/usr/share/themes/mac-osx-controls
or
~/.themes/mac-osx-controls

 


2.3.2.图标主题
到 http://www.xfce-look.org/ 下载图标主题
*例如: OSX: http://www.gnome-look.org/content/show.php?content=31618
檔名: Gnome_MacOS-X_Icon_Theme_20040730.tar.gz
安装图标主题:
/usr/share/icons/MacOS-X
or
~/.icons/MacOS-X

 


2.3.3.字型
安装字型
把字型复制到 /usr/share/fonts/truetype/ or ~/.fonts 下
sudo fc-cache -f -v
需重新登入后才能使用新装的字型 (更换字型一开始会比较慢一点)

 


2.4.启动画面
到 http://www.xfce-look.org/ 下载启动画面
*例如:Thundercats: http://www.xfce-look.org/content/show.php?content=37070
檔名: 37070-thundercats.tar.gz (balou)
跟 Got Linux: http://www.xfce-look.org/content/show.php?content=36225
檔名: 36225-gotlinux.tar.gz (balou)
更换 XFCE 的 Splash Screen
有三种 splash engines ("mice", "simple" and "balou")
simple 跟 balou 可以更换 theme 而 mice 不行
balou 的方式是放到 ~/.themes/ 下
~/.themes/gotlinux/balou and ~/.themes/thundercats/balou

 


2.5.工作阶段及启动
启动时同时启 Gnome 服务
启动时同时启 KDE 服务
若要登入时自动启动程序:
"选单"-"设定"-"自动启动的应用程序"
或是把 desktop 檔放到 ~/Desktop/Autostart 里即可
或是放到 ~/.config/autostart/ 下的也会自动启动

 


2.6.桌面
"
外观"-"影像"
设定背景图案
新增清单
/usr/bin/change_wp.sh

 

#!/bin/bash
PERIOD="300"
while true
do
        ps ax|grep startxfce4|grep -v grep >/dev/null || exit 0
        xfdesktop -reload
        sleep $PERIOD
done

 

"选单"-"设定"-"自动启动的应用程序"
把 /usr/bin/change_wp.sh 新增进去
"行为"-"图示大小" 预设是 32 我是调成 64

 


2.7.档案管理程序

 


2.8.鼠标
到 http://www.xfce-look.org/ 下载光标主题
* 例如: MacOSX PantherX Mouse Theme: http://www.xfce-look.org/content/show.php?content=13524
檔名: 13524-panther-1.1.tar.gz
安装光标主题
放在 ~/.icons 下
要重新登入才能生效

 


2.9.屏幕保护程序

 


2.10.窗口管理程序

 


2.10.1.风格
到 http://www.xfce-look.org/ 下载风格 (Xfce themes)
* 例如 Humanoid-OSX-xfce: http://www.xfce-look.org/content/show.php?content=35755
檔名: Humanoid-OSX-xfce.tar.bz2
安装风格
/usr/share/themes/Humanoid-OSX-xfce
or
~/.themes/Humanoid-OSX-xfce
或是直接用 Agualemon 即可

 


2.11.窗口管理程序调校
Compositor

 


2.12.面板
新增及移除面板
自订面板
特性
增加新项目
对着 "Applications" 按右键选 "特性"
可以改 "按钮标题" 及 "图示"

3.NetworkManager
安装 network-manager network-manager-gnome
执行程序 "nm-applet"

4.Dock (gDesklets + Starterbar)
到 http://www.gnome-look.org/ 下载 Starterbar
http://www.gnome-look.org/content/show.php?content=34782
安装 gDesklets
启动 gDesklets
加入 Starterbar
把应用程序加到 Starterbar 中
若要登入时就启动
"选单"-"设定"-"自动启动的应用程序"
把 /usr/bin/gdesklets start 新增进去
或把 gdesklets.desktop 加到 ~/.config/autostart/ 里

5.Kompose
安装 kompose

 

启动 kompose
若有装 Xgl + Compiz 就不需要再装 kompose 了
Xgl + Compiz 的功能可以完全取代 kompose

6.档案管理程序 (Thunar)

7.终端机的设定 (xfce4-terminal)

8.Xgl + Compiz
8.1.安装 Xgl + Compiz
视显示卡的支持而定
intel chip 的可以用 AIGLX,其它的可以用 XGL
主要安装 compiz cgwd gset-compiz gcompizthemer gcompizthemer-themes
8.2.~/.config/autostart/compiz.desktop

 

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Compiz
Comment=Compiz
Exec=/usr/bin/compiz-start.sh
StartupNotify=false
Terminal=false
Hidden=false

 


8.3./usr/bin/compiz-start.sh

 

#!/bin/bash
killall xfwm4
killall gnome-window-decorator
killall cgwd
compiz --replace gconf &
cgwd --replace gconf &
#gnome-window-decorator &

 


8.4.gset-compiz
设定 compiz 的 plugins 及 shortcuts

 


8.5.gcompizthemer
选取 compiz 的 themes
例如选 quinn-osx