Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
zh-cn:howto:install_new_themes [2012/04/28 20:20] – created haobugzh-cn:howto:install_new_themes [2013/01/20 11:31] haobug
Line 1: Line 1:
-====== How to install new themes ====== +====== 如何安装新的主题 ======
-There are 5 different themes you can adjust in Xfce: the window decorations, the GTK+ interfaces, the cursors, the notifications, and the icons. You can find themes on various website, there are a couple of them:+
  
-  * [[http://browse.deviantart.com/customization/skins/linuxutil/xfce/?alltime=yes#order=9|deviantARTs]]: XFCE-section +您可以调整 XFCE 中的 5 种不同的界面元素的主题:窗口修饰,GTK+ 界面,鼠标指针,通知和图标。你可以在各种网站上找到主题,比如这些:
-  * [[http://customize.org/xfce|Customize.org]]: XFCE-section +
-  * [[http://www.xfce-look.org|Xfce-Look]]: Everything, but mixed with other desktop environments +
-  * [[http://forum.xfce.org/index.php?board=9.0|XFCE-Forums]]: mostly window manager themes +
-  * [[http://browse.deviantart.com/customization/skins/linuxutil/gnome/gtk2/?alltime=yes#order=9|deviantARTs]]: (GNOME) GTK2-section +
-  * [[http://art.gnome.org|Gnome Art]]: GTK-themes for the GNOME desktop environments+
  
-Wallpapers websites with good quality and resolutions:+  * [[http://browse.deviantart.com/customization/skins/linuxutil/xfce/?alltime=yes#order=9|deviantARTs]]:XFCE-版块 
 +  * [[http://customize.org/xfce|Customize.org]]:XFCE-版块 
 +  * [[http://www.xfce-look.org|XFCE-Look]]:什么都有,不过也有些其他桌面环境的主题 
 +  * [[http://forum.xfce.org/index.php?board=9.0|XFCE 论坛]]:多数是窗口管理器主题 
 +  * [[http://browse.deviantart.com/customization/skins/linuxutil/gnome/gtk2/?alltime=yes#order=9|deviantARTs]]:(GNOME) GTK2-版块 
 +  * [[http://art.gnome.org|Gnome Art]]:用于 GNOME 桌面环境的 GTK-主题 
 + 
 +高质量的墙纸网站:
  
   * [[http://wallpaperswide.com/]]   * [[http://wallpaperswide.com/]]
Line 16: Line 17:
   * [[http://www.wallpapers-room.com/]]   * [[http://www.wallpapers-room.com/]]
  
-===== Window decorations ===== +===== 窗口修饰 ===== 
-  * Extract the theme in ''~/.themes'' +  * 解压主题到 ''~/.themes'' 中的 
-    * System wide installation in ''${sysprefix}/share/themes'' +    * 针对整个系统的主题安装到 ''${sysprefix}/share/themes'' 
-  * Make sure the directory layout looks like this: ''~/.themes/<theme_name>/xfwm4/'' +  * 请确保目录结构像这样:''~/.themes/<theme_name>/xfwm4/'' 
-  * If the theme contains scalable images (''~/.themes/<theme_name>/xfwm4/*.svg'') it's better to install the //librsvg// package +  * 如果主题含有可伸缩的矢量图像(''~/.themes/<theme_name>/xfwm4/*.svg''),最好也安装 //librsvg// 软件包 
-  * Select the theme in the Window Manager Settings+  * 在“窗口管理器设置”中选择主题
  
-You can find more information about how to create a window manager theme [[howto:xfwm4_theme|here]].+你可以在[[zh-cn:howto:xfwm4_theme|这里]]找到如何创建窗口管理器主题的内容。
  
-===== GTK+ interfaces ===== +===== GTK+ 界面 ===== 
-GTK+ theme is the theme of the toolkit (buttons, textfields, etc). Most of the GTK+ themes need their own theme engine, make sure you have that theme engine installed with the same prefix as the GTK+ toolkit. To install and use a theme, follow these steps:+一个 GTK+ 主题其实是工具包(按钮,文本框等)的主题。大多数 GTK+ 的主题需要自己的主题引擎,请确保你已经安装了这些引擎到和 GTK+ 工具包相同的 prefix 中了。 按照下面的步骤安装和使用主题:
  
-  * Extract the theme in ''~/.themes'' +  * 解压主题到 ''~/.themes'' 
-    * System wide installation in ''${sysprefix}/share/themes'' +    * 针对整个系统的主题安装到 ''${sysprefix}/share/themes'' 
-  * Make sure the theme contains the following file: ''~/.themes/<theme_name>/gtk-2.0/gtkrc'' +  * 请确保主题含有下面的文件: ''~/.themes/<theme_name>/gtk-2.0/gtkrc'' 
-  * Select the theme in the User Interface Settings (Xfce 4.4.x) or in the Appearance Settings (Xfce 4.6.x)+  * 在“用户界面设置”(XFCE 4.4.x)或者“外观设置”(XFCE 4.6.x)选择主题
  
-===== Cursors (4.4 and 4.6) ===== +===== 鼠标指针 (4.4 及 4.6) ===== 
-  * Extract the theme in ''~/.icons'' +  * 解压主题到 ''~/.icons'' 
-    * System wide installation in ''${sysprefix}/share/icons'' +    * 针对整个系统的主题安装到 ''${sysprefix}/share/icons'' 
-  * Make sure the directory layout looks like this: ''./icons/<theme_name>/cursors'' +  * 请确保目录结构像这样:''./icons/<theme_name>/cursors'' 
-  * Select the theme in the Mouse Settings. If there is no tab with cursor themes, make sure xfce-mcs-plugins (Xfce 4.4.x) is compiled with Xcursor support+  * 在“鼠标设置”中选择主题。如果在这没有鼠标指针主题的选项卡,你确认 xfce-mcs-plugins (XFCE 4.4.x) 软件包是的编译是带 Xcursor 支持的
  
-===== Icons ===== +===== 图标 ===== 
-  * Extract the theme in ''~/.icons'' +  * 解压主题到  ''~/.icons'' 
-    * System wide installation in ''${sysprefix}/share/icons'' +    * 针对整个系统的主题安装到  ''${sysprefix}/share/icons'' 
-  * Optional: run ''gtk-update-icon-cache -f -t ~/.icons/<theme_name>'' to create an icon cache (([[http://developer.gnome.org/doc/API/2.0/gtk/gtk-update-icon-cache.html|Icon theme caching utility]])) +  * 可选:运行 ''gtk-update-icon-cache -f -t ~/.icons/<theme_name>'' 创建一个图标缓存(([[http://developer.gnome.org/doc/API/2.0/gtk/gtk-update-icon-cache.html|图标主题缓存工具]])) 
-  * If the theme contains scalable icons (''~/.icons/<theme_name>/scalable'') make sure you have //librsvg// installed +  *如果主题含有可伸缩的矢量图标(''~/.icons/<theme_name>/scalable''),请确保你安装了 //librsvg// 软件包 
-  * Select the theme in the User Interface Settings (2nd tab, Xfce 4.4.x) or in the Appearance Settings (2nd tab, Xfce 4.6.x)+  * 在“用户界面设置”(第2个选项卡,XFCE 4.4.x)或者 “外观设置”(第2个选项卡,XFCE 4.6.x)选择主题
  
-When you have icon theme problems, it's also recommended to install the ''hicolor-icon-theme'' package.+如果你有图标或主题方面的问题,推荐安装 ''hicolor-icon-theme'' 软件包。