summaryrefslogtreecommitdiff
path: root/docs/README.gtkrc
blob: 77c271ccefde6253d481753387c310190eaca781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Thunar 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.

  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):

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

   class "ThunarIconView" style "thunar-icon-view-reduced-style"


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:

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

   class "ThunarPathEntry" style "thunar-path-entry-increased-style"

  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 loca-
  tion selector. It provides the following customizable style properties:

   * spacing (0...)

     The amount of space inserted between the path buttons. Defaults to
     3 pixels.



Additional information can be found on the Thunar Project Wiki:
https://docs.xfce.org/xfce/thunar/hidden-settings