[Thunar-workers] [Thunar File Manager] page added: documentation:advanced_settings

thunar-workers at xfce.org thunar-workers at xfce.org
Mon Apr 24 18:18:56 CEST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/04/24 16:18
Browser     : Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051116 Firefox/1.0.7
IP-Address  : 80.131.255.56
Hostname    : p5083FF38.dip.t-dialin.net
Old Revision: none
New Revision: http://thunar.xfce.org/pwiki/documentation/advanced_settings
Edit Summary: created
User        : benny

====== Advanced Settings ======

Thunar allows to customize several aspects of the user interface and the behavior.
Some of these customizations can be performed via the **File Manager Preferences**,
while others are available as so-called //Hidden Options//, which involve manual editing
of config/style files.


===== GTK Style Properties =====

Several user interface elements in Thunar are customizable via the standard
GTK style mechanism. Besides the customization provided by the GTK widgets,
that are used in Thunar, there are a bunch of additional settings that can
be customized via the GTK theme or the ''~/.gtkrc-2.0'' file in the users home
directory. See the
[[http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html|GTK
Resource Files documentation]] for details about the file format.

The following list includes the customizable widgets and the settings that
can be customized for this widgets.


==== ThunarAbstractIconView ====

The ''ThunarAbstractIconView'' widget class is the base class for both the
''ThunarIconView'' (the "Icon View") and the ''ThunarCompactView'' (the "Compact
List View"). It provides two additional settings that can be customized:

  * column-spacing (0...)\\ The additional space inserted between columns in the icon and compact view. Defaults to 6 for both the icon and the compact view.

  * row-spacing (0...)\\ The additional space inserted between rows in the icon and compact view. Defaults to 6 for the icon view and 0 for the compact view.

For example, say you want to reduce the additional spacing for the icon view
to 3 pixel, then you can put the following lines in the file ''~/.gtkrc-2.0'' in
your home directory (just create the file if it is not already present):

<file>
style "thunar-icon-view-reduced-style"
{
  ThunarIconView::column-spacing = 3
  ThunarIconView::row-spacing = 3
}

class "ThunarIconView" style "thunar-icon-view-reduced-style"
</file>


==== ThunarPathEntry ====

The ''ThunarPathEntry'' widget class is used for the location bar, both in the
traditional location selector and the **Open Location** dialog. The path entry
displays an icon right before the path, whose size can be customized via the

   * icon-size (16/22/24/33/36/48/64/72/96/128/192)

style property. For example to increase the size to 24 pixel, you can put the
following lines in the file ''~/.gtkrc-2.0'':

<file>
style "thunar-path-entry-increased-style"
{
  ThunarPathEntry::icon-size = 24
}

class "ThunarPathEntry" style "thunar-path-entry-increased-style"
</file>

You should however make sure that your icon theme supports the icon size,
otherwise you might end up with ugly up/down-scaled icons.


==== ThunarLocationButtons ====

The ''ThunarLocationButtons'' widget class is used for the path bar style location
selector. It provides the following customizable style properties:

   * spacing (0...)\\ The amount of space inserted between the path buttons. Defaults to 3 pixels.



-- 
This mail was generated by DokuWiki at
http://thunar.xfce.org/pwiki/




More information about the Thunar-workers mailing list