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
xfce:xfce4-settings:appearance [2012/04/23 14:08] – [Icons] nickxfce:xfce4-settings:appearance [2022/12/11 22:58] (current) – New checkbox: Enable header bars in dialogs alexxcons
Line 1: Line 1:
-====== Appearance ======+~~NOTOC~~ 
 +{{ :xfce:xfce.settings.appearance.png?no link|}} 
 +====== xfce4-settings - Appearance ======
  
-<note warning>The page is work in progress!</note>+  * **[[#Style|Style]]** 
 +  * **[[#Icons|Icons]]** 
 +      * **[[#Icon Cache|Icon Cache]]** 
 +  * **[[#Fonts|Fonts]]** 
 +      * **[[#Default Font|Default Font]]** 
 +      * **[[#Rendering|Rendering]]** 
 +      * **[[#DPI|DPI]]** 
 +  * **[[#Settings|Settings]]** 
 +      * **[[#Toolbar Style|Toolbar Style]]** 
 +      * **[[#Menus and Buttons|Menus and Buttons]]** 
 +      * **[[#Event Sounds|Event Sounds]]**     
 +      * **[[#Window Scaling|Window Scaling]]**  
 + 
 + 
 +The //Appearance// preference tool lets you configure various aspects of how your desktop looks. 
 + 
 +----
  
 ===== Style ===== ===== Style =====
  
 <figure "GTK+ Theme Style"> <figure "GTK+ Theme Style">
-{{:xfce:xfce4-settings:xfce4-settings-appearance-style.png?nolink&|}}+{{:xfce:xfce4-settings:appearance1.png?nolink|}}
 </figure> </figure>
  
-This tab controls the visual appearance of the toolkit (Gtk+) controls, such as buttons and menus. You can switch between themes by selecting them in the list.+This tab controls the visual appearance of the toolkit (Gtk+) controls, such as buttons and menus. You can switch between themes by selecting them in the list. The colored rectangles to the left of the style names give a preview of the color combinations found in each style for things like window backgrounds, fonts and menu item highlights. 
 + 
 +To install new themes, download a package from your distribution or from theme sites like [[http://xfce-look.org|xfce-look.org]]. When you download a theme tarball from a website, you can install it by dragging the file from the file manager and dropping it in the list of styles. 
 + 
 +[[|Back To Top]]  
 + 
 +----
  
-To install new themes, download a package from your distribution or from theme sites like [[http://xfce-look.org|xfce-look.org]]. When you download a theme tarball from a website, you can install it by dropping the file from the file manager in the list of styles. 
 ===== Icons ===== ===== Icons =====
  
 <figure "Icon Theme"> <figure "Icon Theme">
-{{:xfce:xfce4-settings:xfce4-settings-appearance-icons.png?nolink&|}} +{{:xfce:xfce4-settings:appearance2.png?nolink|}}</figure>
-</figure>+
  
-This tab controls the visual appearance of icons that visible in e.g. the panel, on the desktop, in the file manager and menus. You can choose a new icon theme by selecting a theme in the list.+This tab controls the visual appearance of icons which are shown in e.g. the panel, on the desktop, in the file manager and menus. Samples of several common icons are displayed next to the icon name so you can get a preview of how they will look and compare them to the same icons in other themes.  You can choose a new icon theme by selecting it in the list. 
 + 
 +As with Styles, you can install new icon themes simply by dropping an icon tarball onto the list. You can also install new themes using your distribution's package manager. 
 + 
 +==== Icon Cache ==== 
 + 
 +GTK+ has utility to pack all the icon theme icons into a single cache file. This single file can be memory-mapped so as to avoid a lot of disk seek overhead when loading icons. The file is shared between multiple applications, so the overall memory consumption is reduced as well. 
 + 
 +For this to work, each icon theme directory containing an ''index.theme'' file, should also have an ''icon-theme.cache''. Distributions will most likely generate this when installing a theme package, but for a custom theme, you'll have to create it yourself. 
 + 
 +To generate a cache file for an icon-theme, run the following command in a terminal emulator: 
 + 
 +  gtk-update-icon-cache /path/to/theme/directory/ 
 + 
 +More information can be found in the [[https://developer-old.gnome.org/gtk3/unstable/gtk-update-icon-cache.html|gtk-update-icon-cache reference manual]]. 
 + 
 +[[|Back To Top]]  
 + 
 +----
  
-Also here you can install new icon themes by dropping an icon tarball in the list or install a new theme using the distributions' package management. 
 ===== Fonts ===== ===== Fonts =====
  
 <figure "Font Settings"> <figure "Font Settings">
-{{:xfce:xfce4-settings:xfce4-settings-appearance-fonts.png?nolink&|}} +{{:xfce:xfce4-settings:appearance3.png?nolink|}}</figure>
-</figure>+
  
 +----
  
-==== LCD Hinting ====+==== Default Font ====
  
-On some systems LCD hinting gives better fontsbecause this is not working on all systemthis setting is not configurable through the interfaceYou can set it with a simple query.+The font selector shows the name of the current default font and its point size.  
 +To change the fontclick the font selector button. The font picker dialog opens. Select the font **Family****Style**, and **Size** from the listsThe preview area shows your current choice. Click **OK** to accept  and apply the changes.
  
-  xfconf-query -c xsettings -p /Xft/Lcdfilter -n -t string -s lcddefault+---- 
 + 
 +==== Rendering ==== 
 + 
 +? Enable anti-aliasing 
 +! Select this option to anti-alias fonts, so that characters have smooth edges. 
 +? Hinting 
 +! Hinting is a font rendering technique which improves the quality of fonts at small sizes and an at low screen resolutions. Select one of the options to specify how to apply hinting your fonts. 
 +? Sub-pixel order 
 +! Select one of the options to specify the sub-pixel color order for your fonts. Use this option for LCD or flat-screen displays. 
 +? LCD Hinting  
 +! On some systems, LCD hinting results in better fonts. But because this is not working on all system, this setting is not configurable through the interface. You can, however, set it with a simple query: 
 +! ''xfconf-query -c xsettings -p /Xft/Lcdfilter -n -t string -s lcddefault'' 
 +! Other possible values are ''lcdnone'', ''lcddefault'', ''lcdlight'' and ''lcdlegacy''. You can check to see if the property is set properly by running ''xrdb -query'' in a terminal. To fully apply the LCD hinting, it is advisable to log out and in again (for restarting the X server). 
 + 
 +---- 
 + 
 +==== DPI ==== 
 + 
 +In case you want to override the DPI (dots per inch) value calculated by the X-server, you can select the checkbox and use the spin box to specify the resolution to use when your screen renders fonts. Most of the time it is not necessary to modify the calculated DPI, but in some cases a high DPI results in sharper fonts. 
 + 
 + 
 +[[|Back To Top]]  
 + 
 +----
  
-Other possible values are ''lcdnone'', ''lcddefault'', ''lcdlight'' and ''lcdlegacy''. You can check if the property is set property, run ''xrdb -query'' in a terminal. 
 ===== Settings ===== ===== Settings =====
  
 <figure "Other Theme Settings"> <figure "Other Theme Settings">
-{{:xfce:xfce4-settings:xfce4-settings-appearance-settings.png?nolink&|}} +{{:xfce:xfce4-settings:appearance5.png?nolink|}}</figure> 
-</figure>+ 
 +---- 
 + 
 +==== Toolbar Style ==== 
 + 
 +Choose one of the four options to specify what to display on the toolbars in your GTK-compliant applications.  The example below shows {gui>Text under icons}. 
 + 
 +{{:xfce:xfce4-settings:appearance-toolbar-style.png?nolink& |}}\\  
 + 
 + 
 +\\ 
 +\\ 
 +\\  
 + 
 +---- 
 + 
 +==== Menus and Buttons ==== 
 + 
 +? Show images on buttons 
 +! Select this option to display an icon beside labels in the interface buttons. This option only applies to dialog buttons like {gui>Close}, not for launcher buttons on the panel. 
 +? Show images in menus 
 +! Select this option to display an icon beside items in application menus and the panel menu. Not all menu items have an icon. 
 +? Enable editable accelerators 
 +! Selecting this option allows you to define new keyboard shortcuts for menu items in GTK applications. 
 +! To change an application shortcut key, open the menu, and with the mouse pointer on the menu item you wish to change, press the new combination of keys. The new shortcut will appear next to the menu item text. To remove a shortcut key, press {key>Backspace} or {key>Delete} while hovering over the item. 
 + 
 +<note important>When using this feature, you will not be warned if you try to assign a shortcut which is currently in use by another menu item. If you do assign a pre-existing or default shortcut to another menu item, it will be removed from the previous item. 
 + 
 +There is no way to globally restore the default keyboard shortcuts for an application if you have accidentally reassigned them. However, if you discover your mistake and know where the shortcut originally belonged, you can just reassign using this same procedure to the default location.</note> 
 + 
 +? Enable header bars in dialogs 
 +! Defines whether GTK dialogs may place widgets, such as buttons, in the dialog's header bar. Implies in client side decorations. Only affects newly opened dialogs. 
 + 
 +---- 
 + 
 +==== Event Sounds ==== 
 +? Enable event sounds 
 +! Event sounds include things like logging in/out, plugging/unplugging power, inserting/removing USB devices, etc. Requires "Canberra" support and may, in addition, require installing sound themes or other supporting applications, depending on your distribution. 
 +? Enable input feedback sounds 
 +! Enables playback of event sounds for things like button presses, window resizing, moving slider controls, etc. 
 + 
 +---- 
 + 
 +==== Window Scaling ==== 
 +! You can switch between factor 1x (normal default) and 2x for HiDPI displays. It is advised to restart your session after altering this setting as not all applications may succeed in doing a live-reload. 
 + 
 +[[|Back To Top]] 
 +---- 
 +[[:start|Back to main Xfce documentation page]] 
 + 
 +[[ :xfce:xfce4-settings:start:|Return to main xfce4-settings page]]