이 블로그 검색

2017년 3월 20일 월요일

linux xfce4 theme -how to install new themes

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, here are some of them:
Wallpaper websites with good quality and high resolution images:

Window decorations

  • Extract the theme in ~/.local/share/themes
    • System wide installation in ${sysprefix}/local/share/themes
  • Make sure the directory layout looks like this: ~/.local/share/themes/<theme_name>/xfwm4/
  • If the theme contains scalable images (~/.local/share/themes/<theme_name>/xfwm4/*.svg) it's better to install the librsvg package
  • Select the theme in the Window Manager Settings
You can find more information about how to create a window manager theme here.

GTK+ interfaces

A 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:
  • Extract the theme in ~/.local/share/themes
    • System wide installation in ${sysprefix}/local/share/themes
  • Make sure the theme contains the following file: ~/.local/share/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)

Cursors (4.4 and 4.6)

  • Extract the theme in ~/.icons
    • System wide installation in ${sysprefix}/local/share/icons
  • Make sure the directory layout looks like this: ./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

Icons

  • Extract the theme in ~/.icons
    • System wide installation in ${sysprefix}/local/share/icons
  • Optional: run gtk-update-icon-cache -f -t ~/.icons/<theme_name> to create an icon cache 1)
  • If the theme contains scalable icons (~/.icons/<theme_name>/scalable) make sure you have librsvg installed
  • 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)
When you have icon theme problems, it's also recommended to install the hicolor-icon-theme package.

댓글 없음:

댓글 쓰기