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:thunar:hidden-settings [2023/01/08 09:53] – adjust formatting kevinbowenxfce:thunar:hidden-settings [2026/11/01 12:00] (current) – [Hidden Settings List] alexxcons
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-{{ :xfce:xfce.thunar.png?no link|}}+{{ :xfce:thunar.png?nolink|}}
 ====== Thunar - Advanced Settings ====== ====== Thunar - Advanced Settings ======
  
Line 26: Line 26:
 ===== Hidden Settings List ===== ===== Hidden Settings List =====
  
-Below a table of the settings:+Below a table of the settings. These settings are defined in [[https://gitlab.xfce.org/xfce/thunar/-/blob/master/thunar/thunar-preferences.c|https://gitlab.xfce.org/xfce/thunar/-/blob/master/thunar/thunar-preferences.c]]
  
-^ Property ^ Value Type ^ Description ^ +^ Property ^ Value Type ^ Description ^ Default Value ^ min Thunar Version ^ 
-| /misc-always-show-tabs | bool | If the view tabs should always be visible. | +| /misc-always-show-tabs | bool | If the view tabs should always be visible. | //false// | | 
-| /misc-case-sensitive | bool | Determines whether the sorting should be done in a case-sensitive manner. The default is //false//. | +| /misc-case-sensitive | bool | Determines whether the sorting should be done in a case-sensitive manner. | //false// | | 
-| /misc-compact-view-max-chars | int | Number of filename characters to show in compact view. Ellipsization will be used if the filename is longer than the defined value. Set to 0 to prevent any ellipsization. **Available since thunar 4.17.x** |  +| /misc-compact-view-max-chars | int | Number of filename characters to show in compact view. Ellipsization will be used if the filename is longer than the defined value. Set to 0 to prevent any ellipsization. | 100 | 4.17.x |  
-| /misc_confirm_close_multiple_tabs | bool | Ask the user for confirmation before closing a window with multiple tabs. | +| /misc-confirm-move-to-trash | bool | If true enables a confirmation to move files to trash (similar to permanently delete) | //false// | 4.18.x | 
-| /misc_date_custom_style | str | If 'custom' is selected as date format, this date-style will be used: "%Y-%m-%d %H:%M:%S" | +| /misc-confirm-close-multiple-tabs | bool | Whether to show a confirmation dialog when closing a window with multiple open tabs. | //true// | | 
-| /misc-exec-shell-scripts-by-default | bool | Whether shell scripts should be executed or opened by default. The default action is to open them; setting this to TRUE will allow executing them. | +| /misc-ctrl-scroll-wheel-to-zoom | bool | Whether CTRL + SCROLL-WHEEL to Zoom is enabled. | //true// | 4.19.3 | 
-| /misc_file_size_binary | bool | Show file size in binary format instead of decimal. | +| /misc-display-launcher-name-as-filename | bool | Whether to show real file names or launcher names for .desktop files | //true// | 4.19.3 | 
-| /misc_folders_first | bool | Whether to sort folders before files. | +| /misc-file-drag-mode | string | Choose between 3 DnD modes for files (see [1] for available options) | MENU_ALWAYS | 4.21.3 | 
-| /misc-full-path-in-title | bool | Show the full directory path in the window title, instead of only the directory name. | +| /misc-full-path-in-window-title | bool | Show the full directory path in the window title, instead of only the directory name. (replaced by /misc-window-title-style)| | 4.18.x - 4.19.0 | 
-| /misc-horizontal-wheel-navigates | bool | Controls whether the horizontal mouse wheel is used to navigate back and forth within a Thunar view, or whether it should be used for horizontal scrolling. | +| /misc-icon-view-max-text-lines | int | Ellipsize filenames in icon view, if they exceed the given number. -1 for unlimited, 0 for no text. | 3 | 4.21.8 | 
-| /misc-image-size-in-statusbar | bool | Show the image size in the statusbar when a single image file is selected in the view. This is disabled by default because it causes relatively high I/O when changing the selection quickly. | +| /misc-window-title-style | string | Choose between 4 styles for the window title (see [2] for available options) | FOLDER_NAME_WITH_THUNAR_SUFFIX | 4.19.0 | 
-| /misc_middle_click_in_tab | bool | If middle click opens a folder in a new window (FALSE) or in a new window (TRUE) | +| /misc-horizontal-wheel-navigates | bool | Controls whether the horizontal mouse wheel is used to navigate back and forth within a Thunar view, or whether it should be used for horizontal scrolling. | //false// | | 
-| /misc_open_new_window_as_tab | bool | %TRUE to open a new tab in an existing thunar instance. instead of a new window if a thunar windows already is present| +| /misc-image-size-in-statusbar | bool | Show the image size in the statusbar when a single image file is selected in the view. This is disabled by default because it causes relatively high I/O when changing the selection quickly. | //false// | | 
-| /misc_recursive_permissions | enum | Whether to apply permissions recursively every time the permissions are altered by the user. | +| /misc-open-new-windows-in-split-view | bool | If true, all thunar windows will have split view enabled. | //false// | 4.18.x | 
-| /misc-remember-geometry | bool | Whether Thunar should remember the size of windows and apply that size to new windows. If //true// the width and height are saved to ''last-window-width'' and ''last-window-height''. If //false// the user may specify the start size in 'last-window-width'' and 'last-window-height''. This option is enabled by default. | +| /misc-always-enable-split-view | bool | If true, all thunar windows will have split view enabled. Replaces "/misc-open-new-windows-in-split-view" | //false// | 4.19.3 | 
-| /misc_show_about_templates | bool | Whether to display the "About Templates" dialog, when opening the Templates folder from the Go menu. | +| /misc-recursive-permissions | str | Whether to apply permissions recursively every time the permissions are altered by the user. ASK / ALWAYS / NEVER | ASK | | 
-| /misc_single_click_timeout | int | If single-click mode is enabled this is the amount of time in milliseconds after which the item under the mouse cursor will be selected automatically. A value of %0 disables the automatic selection.| +| /misc-remember-geometry | bool | Whether Thunar should remember the size of windows and apply that size to new windows. If //true// the width and height are saved to ''last-window-width'' and ''last-window-height''. If //false// the user may specify the start size in 'last-window-width'' and 'last-window-height''. | //true// | | 
-| /misc-small-toolbar-icons | bool | Use small icons on the toolbar instead of the default toolbar size. | +| /misc-resolve-links | bool | Whether Thunar should resolve symbolic links when they are opened. | //false// | 4.21.6 | 
-| /misc-tab-close-middle-click | bool | Whether to close tabs when the tab label is clicked with the 2nd/middle-mouse-button. | +| /misc-show-about-templates | bool | Whether to display the "About Templates" dialog, when opening the Templates folder from the Go menu. | //true// | | 
-| /misc_text_beside_icons | bool | Whether the icon view should display the file names beside the file icons instead of below the file icons. | +| /misc-small-toolbar-icons | bool | Use small icons on the toolbar instead of the default toolbar size. | //true// | | 
-| /misc-switch-to-new-tab | bool | Whether if new tabs should be directly opened. The default is 'TRUE'. **Available since thunar 4.17.2** |  +| /misc-switch-to-new-tab | bool | Whether if new tabs should be directly opened. | //true// | | 
-| /misc_thumbnail_draw_frames | bool | Whether to draw black frames around thumbnails. This looks neat, but will delay the first draw a bit. May have an impact on older systems, on folders with many pictures. | +| /misc-support-overlay-scrolling | bool | Controls if 'overlay scrolling' should be supported by thunar widgets (a scroll bar will only be shown when mouse-hovering on widgets). When TRUE, the value of the global Gtk property "OverlayScrolling" will be used. | //false// | 4.21.5 | 
-| /misc-vertical-split-pane | bool | Whether on F3 the panes should be split vertically or horizontally. **Available since thunar 4.17.8** |  +| /misc-tab-close-middle-click | bool | Whether to close tabs when the tab label is clicked with the 2nd/middle-mouse-button. | //true// | | 
-| /misc_volume_management | bool | Whether to enable volume management capabilities (requires HAL and the thunar-volman package). |+| /misc-tree-lines-in-tree-sidepane | bool | Whether to show tree lines or not in the tree side pane. | //false// | 4.19.3 | 
 +| /misc-undo-redo-history-size | int | Maximum number of ThunarJobOperations which can be undone/redone -1 for unlimited | 10 | 4.18.x | 
 +| /misc-vertical-split-pane | bool | Whether on F3 the panes should be split vertically or horizontally. | //false// | 4.17.8 | 
 +| /smart-sort | bool | If enabled, filenames are split into collatable substrings and e.g. numbers are compared separately in a numeric way instead of comparing them digit-by-digit. If disabled, plain ASCII is used. Change only takes effect after a thunar restart. | //true// | 4.21.3 | 
  
 +==== [1] File Drag Modes ====
 +
 +  * THUNAR_FILE_DRAG_MODE_MENU_ALWAYS (always show the DnD menu, the default)
 +  * THUNAR_FILE_DRAG_MODE_MENU_CONDITIONAL (no menu for left click DnD)
 +  * THUNAR_FILE_DRAG_MODE_DISABLED (no DnD menu for dragging files at all)
 +
 +==== [2] Window Title Styles ====
 +
 +  * THUNAR_WINDOW_TITLE_STYLE_FOLDER_NAME_WITH_THUNAR_SUFFIX (default)
 +  * THUNAR_WINDOW_TITLE_STYLE_FOLDER_NAME_WITHOUT_THUNAR_SUFFIX
 +  * THUNAR_WINDOW_TITLE_STYLE_FULL_PATH_WITH_THUNAR_SUFFIX
 +  * THUNAR_WINDOW_TITLE_STYLE_FULL_PATH_WITHOUT_THUNAR_SUFFIX
  
 [[|Back To Top]] [[|Back To Top]]
Line 61: Line 76:
 The hidden settings need to be specifically added/enabled in the settings channel of Thunar in order to enable, or change their functionality. The hidden settings need to be specifically added/enabled in the settings channel of Thunar in order to enable, or change their functionality.
  
-The quickest way to change a hidden settings is to run a command in the terminal-emulator.+The quickest way to change hidden settings is to run a command in the terminal-emulator.
  
   xfconf-query --channel thunar --property /property-name --create --type value-type --set new-value   xfconf-query --channel thunar --property /property-name --create --type value-type --set new-value
  
  
-So to enable the image size in the statusbar, run the following command:+E.g. to enable the image size in the statusbar, run the following command:
  
   xfconf-query --channel thunar --property /misc-image-size-in-statusbar --create --type bool --set true   xfconf-query --channel thunar --property /misc-image-size-in-statusbar --create --type bool --set true
  
-All hidden settings are boolean values, so the value can either be ''true'' to enable the functionality or ''false'' to disable.+ 
 +Or to prevent showing the DnD context menu on each drag operation, run the following: 
 + 
 +  xfconf-query --channel thunar --property /misc-file-drag-mode --create --type string --set THUNAR_FILE_DRAG_MODE_MENU_CONDITIONAL 
 + 
 + 
 +For additional usage information, see the [[xfce:xfconf:xfconf-query|xfconf-query]] reference page. 
  
 [[|Back To Top]] [[|Back To Top]]
Line 79: Line 100:
 For most graphical elements of //Thunar// (and all other gtk3 applications) , it is possible to customize them via CSS, as it is done with themes. For most graphical elements of //Thunar// (and all other gtk3 applications) , it is possible to customize them via CSS, as it is done with themes.
  
-Here an example for //Thunar// 1.8.x (gtk3 based):+Here an example (gtk3 based):
   - Create a file ~/.config/gtk-3.0/gtk.css   - Create a file ~/.config/gtk-3.0/gtk.css
   - Paste following content in this file:   - Paste following content in this file:
   - Save and restart thunar (thunar -q; thunar)   - Save and restart thunar (thunar -q; thunar)
  
-   +   /* Row and column Spacing for the icon view cab be adusted since Thunar 1.8.0 */ 
-  * {+    
 +   * {
      -ThunarAbstractIconView-row-spacing: 70;      -ThunarAbstractIconView-row-spacing: 70;
      -ThunarAbstractIconView-column-spacing: 30;      -ThunarAbstractIconView-column-spacing: 30;
Line 91: Line 113:
  
  
-For thunar //Thunar// 1.6.x (gtk2 based): +   /* The progressbar for devices in the shortcuts pane can be configured starting with Thunar 4.21.3 */ 
-  - Create a file ~/.gtkrc-2.0 +    
-  - Paste following content in this file: +   /* Changing the progressbar height */ 
-  - Save and restart thunar (thunar -q; thunar)+   .thunar .disk-space-usage-bar { min-height: 8px; } 
 +    
 +   /* Changing the color of progressbars */ 
 +   .thunar .disk-space-usage-bar--normal { background: none; background-color: Green; } 
 +   .thunar .disk-space-usage-bar--warning { background: none; background-color: Purple; } 
 +   .thunar .disk-space-usage-bar--error { background: none; background-color: IndianRed; }
  
-  style "thunar-spaced-out-icons" + 
-  { +
-     ThunarIconView::column-spacing = 70 +
-     ThunarIconView::row-spacing = 30 +
-  } +
-  class "ThunarIconView" style "thunar-spaced-out-icons"  +
-  +
 Check the [[https://developer.gnome.org/gtk3/stable/chap-css-overview.html|GTK+ CSS Overview page]] to see learn how CSS can be used in gtk3. Check the [[https://developer.gnome.org/gtk3/stable/chap-css-overview.html|GTK+ CSS Overview page]] to see learn how CSS can be used in gtk3.
  
Line 109: Line 130:
 [[|Back To Top]] [[|Back To Top]]
 ---- ----
-[[:xfce:thunar:|Back to Thunar documentation page]]+[[:xfce:thunar:|Return to Thunar Main Documentation Page]]