Both sides previous revisionPrevious revisionNext revision | Previous revision |
xfce:thunar:hidden-settings [2022/04/14 23:25] – [Hidden Settings] alexxcons | xfce:thunar:hidden-settings [2024/07/30 16:32] (current) – [Hidden Settings List] alexxcons |
---|
====== Thunar - Advanced Settings ====== | ====== Thunar - Advanced Settings ====== |
| |
While most setting can be configured using the menu and/or the [[preferences|Preferences dialog]], some of the settings are not visible in the interface because they are considered not general enough for the average user. | Most Thunar settings can be configured within Thunar from the menu by selecting {gui>Menu>Edit>Preferences}. This will display the [[preferences|Preferences dialog]] window. Some of Thunar's settings are not visible in this interface because they are considered not general enough for the average user. |
| |
* **[[#The Settings Editor|The Settings Editor]]** | * **[[#Viewing advanced Thunar settings|Viewing advanced Thunar settings]]** |
* **[[#Hidden Settings|Hidden Settings]]** | * **[[#Hidden Settings List|Hidden Settings List]]** |
* **[[#Custom CSS|Custom CSS]]** | * **[[#Enabling/Adding Hidden Settings|Enabling/Adding Hidden Settings]]** |
| * **[[#Customising Thunar with CSS|Customising Thunar with CSS]]** |
| |
---- | ---- |
| |
===== The Settings Editor ===== | ===== Viewing advanced Thunar settings ===== |
| |
Open the //Thunar// tab in the **xfce4-settings-editor** in order to see which settings are currently stored and to modify them. Make sure to quit //Thunar// before with "thunar -q". Otherwise your changes will have no effect. | Thunar's advanced settings can be accessed in two ways: |
| - From the GUI application [[xfce:xfce4-settings:editor|xfce4-settings-editor]] |
| - From the CLI using [[xfce:xfconf:xfconf-query|xfconf-query]] |
| |
| In the **xfce4-settings-editor**, select the //Thunar// channel in order to see which settings are currently stored and to modify them. Make sure to quit //Thunar// before with "thunar -q". Otherwise your changes will have no effect. |
| |
| For **xfconf-query**, open a terminal window and issue the command: ''xfconf-query --channel thunar -lv'' for a list of the current advanced settings and their respective values. |
| |
[[|Back To Top]] | [[|Back To Top]] |
---- | ---- |
===== Hidden Settings ===== | ===== Hidden Settings List ===== |
| |
The hidden settings need to be specifically enabled in the settings channel of Thunar to enable or change their functionality. | 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]] |
| |
Below a table of the settings and the commands on how to enable them. | |
| |
^ Property ^ Value Type ^ Description ^ | ^ Property ^ Value Type ^ Description ^ |
| /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. | |
| /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. The default is //false//. | |
| /misc-full-path-in-title | bool | Show the full directory path in the window title, instead of only the directory name. | | | /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-display-launcher-name-as-filename | bool | Whether to show real file names or launcher names for .desktop files **since thunar 4.19.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-window-title-style | enum | Choose between 4 styles for the window title (see [1] 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. | |
| | /misc-open-new-windows-in-split-view | bool | If true, all thunar windows will have split view enabled. **since thunar 4.18.x** | |
| | /misc-always-enable-split-view | bool | If true, all thunar windows will have split view enabled. Replaces "/misc-open-new-windows-in-split-view" **since thunar 4.19.3** | |
| | /misc-recursive-permissions | str | Whether to apply permissions recursively every time the permissions are altered by the user. THUNAR_TYPE_RECURSIVE_PERMISSIONS, THUNAR_RECURSIVE_PERMISSIONS_ASK | |
| /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-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-show-about-templates | bool | Whether to display the "About Templates" dialog, when opening the Templates folder from the Go menu. | |
| /misc-small-toolbar-icons | bool | Use small icons on the toolbar instead of the default toolbar size. | | | /misc-small-toolbar-icons | bool | Use small icons on the toolbar instead of the default toolbar size. | |
| | /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-tab-close-middle-click | bool | Whether to close tabs when the tab label is clicked with the 2nd/middle-mouse-button. | | | /misc-tab-close-middle-click | bool | Whether to close tabs when the tab label is clicked with the 2nd/middle-mouse-button. | |
| /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-tree-lines-in-tree-sidepane | bool | Whether to show tree lines or not in the tree side pane. **since thunar 4.19.3** | |
| /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-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** | |
| |
| ==== [1] 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]] |
| ---- |
| ===== Enabling/Adding Hidden Settings ===== |
| |
| 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 a hidden settings is to run a command in the terminal-emulator. |
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. | For additional usage information, see the [[xfce:xfconf:xfconf-query|xfconf-query]] reference page. |
| |
[[|Back To Top]] | [[|Back To Top]] |
---- | ---- |
| |
===== Custom CSS ===== | ===== Customising Thunar with CSS ===== |
| |
For most graphical elements of //Thunar// (and all other gtk3 applications) , it is possible to customize them via CSS, like it is done by 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 for //Thunar// 1.8.x (gtk3 based): |