Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
zh-cn:howto:install_new_themes [2012/04/28 20:58] – [窗口装饰] haobugzh-cn:howto:install_new_themes [2012/04/28 21:15] – [Icons] haobug
Line 26: Line 26:
 你可以在[[zh-cn:howto:xfwm4_theme|这里]]找到更多的关于如何创建窗口管理器主题的内容。 你可以在[[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'' 软件包。