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 [2024/07/30 16:32] – [Hidden Settings List] alexxconsxfce:thunar:hidden-settings [2025/12/10 07:50] (current) – [[1] File Drag Modes] alexxcons
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-{{ :xfce:xfce.thunar.png?no link|}}+{{ :xfce:thunar.png?nolink|}}
 ====== Thunar - Advanced Settings ====== ====== Thunar - Advanced Settings ======
  
Line 33: Line 33:
 | /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. **Available since thunar 4.17.x** | 
 | /misc-confirm-move-to-trash | bool | If true enables a confirmation to move files to trash (similar to permanently delete) **since thunar 4.18.x** | | /misc-confirm-move-to-trash | bool | If true enables a confirmation to move files to trash (similar to permanently delete) **since thunar 4.18.x** |
 +| /misc-confirm-close-multiple-tabs | bool | Whether to show a confirmation dialog when closing a window with multiple open tabs. |
 +| /misc-ctrl-scroll-wheel-to-zoom | bool | Whether CTRL + SCROLL-WHEEL to Zoom is enabled. **Available since thunar 4.19.3** |
 | /misc-display-launcher-name-as-filename | bool | Whether to show real file names or launcher names for .desktop files **since thunar 4.19.3** | | /misc-display-launcher-name-as-filename | bool | Whether to show real file names or launcher names for .desktop files **since thunar 4.19.3** |
 +| /misc-file-drag-mode | string | Choose between 3 DnD modes for files (see [1] for available options) **since thunar 4.21.3** |
 | /misc-full-path-in-window-title | bool | Show the full directory path in the window title, instead of only the directory name. **since thunar 4.18.x, replaced by /misc-window-title-style since thunar 4.19.0** | | /misc-full-path-in-window-title | bool | Show the full directory path in the window title, instead of only the directory name. **since thunar 4.18.x, replaced by /misc-window-title-style since thunar 4.19.0** |
-| /misc-window-title-style | enum | Choose between 4 styles for the window title (see [1] for available options) **since thunar 4.19.0** |+| /misc-window-title-style | string | Choose between 4 styles for the window title (see [2] for available options) **since thunar 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-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-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-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. |
Line 49: Line 52:
 | /misc-undo-redo-history-size | int | Maximum number of ThunarJobOperations which can be undone/redone -1 for unlimited **New in thunar 4.18.x** | | /misc-undo-redo-history-size | int | Maximum number of ThunarJobOperations which can be undone/redone -1 for unlimited **New in thunar 4.18.x** |
 | /misc-vertical-split-pane | bool | Whether on F3 the panes should be split vertically or horizontally. **Available since thunar 4.17.8** |  | /misc-vertical-split-pane | bool | Whether on F3 the panes should be split vertically or horizontally. **Available since thunar 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 disbaled, plain ASCII is used. Change only takes effect after a thunar restart. **Available since thunar 4.21.3** | 
  
-==== [1] Window Title Styles ====+==== [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_WITH_THUNAR_SUFFIX (default)
Line 63: Line 73:
 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 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
  
-For additional usage information, see the [[xfce:xfconf:xfconf-query|xfconf-query]] reference page.  
  
 +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 82: Line 97:
 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 94: Line 110:
  
  
-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.+    
-  Paste following content in this file: +   /* Changing the progressbar height */ 
-  Save and restart thunar (thunar -q; thunar)+   .thunar .disk-space-usage-bar { min-height8px; } 
 +    
 +   /* Changing the color of progressbars */ 
 +   .thunar .disk-space-usage-bar--normal { backgroundnone; background-color: Green; } 
 +   .thunar .disk-space-usage-bar--warning { background: nonebackground-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 112: Line 127:
 [[|Back To Top]] [[|Back To Top]]
 ---- ----
-[[:xfce:thunar:|Back to Thunar documentation page]]+[[:xfce:thunar:|Return to Thunar Main Documentation Page]]