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 revisionBoth sides next revision
xfce:thunar:faq [2020/10/04 22:02] – Added some details on shortcut keys alexxconsxfce:thunar:faq [2020/10/09 01:30] – fix section headers. minor punctuation improvements kevinbowen
Line 1: Line 1:
 {{ :xfce:thunar:thunar.png?nolink|}} {{ :xfce:thunar:thunar.png?nolink|}}
-====== Frequently Asked Questions - Thunar ======+====== Thunar - Frequently Asked Questions ======
  
 The intent of this section is to collect the quite numerous frequently asked questions that relate to working with Thunar. If you know of a question that is missing from this page, please [[https://bugzilla.xfce.org/enter_bug.cgi?product=Thunar&component=Documentation&resolution=---|file a request]]. The intent of this section is to collect the quite numerous frequently asked questions that relate to working with Thunar. If you know of a question that is missing from this page, please [[https://bugzilla.xfce.org/enter_bug.cgi?product=Thunar&component=Documentation&resolution=---|file a request]].
Line 16: Line 16:
 ---- ----
  
-=== Why doesn't Thunar execute files marked as executable? ===+===== Why doesn't Thunar execute files marked as executable? =====
 For security reasons Thunar only executes files of type application/x-desktop, application/x-executable and application/x-shellscript. For desktop files the execution feature will only be enabled if the desktop file is of type Application and a valid Exec line is given or of type Link and a valid URL is given. For the other types the feature is available if the file is marked executable for the current user. For security reasons Thunar only executes files of type application/x-desktop, application/x-executable and application/x-shellscript. For desktop files the execution feature will only be enabled if the desktop file is of type Application and a valid Exec line is given or of type Link and a valid URL is given. For the other types the feature is available if the file is marked executable for the current user.
  
Line 23: Line 23:
 ---- ----
  
-=== Where does Thunar store the metadata associated with files? ===+===== Where does Thunar store the metadata associated with files? =====
 Thunar associates various settings with files/folders, which we call metadata. Since version 1.6 this data is stored using the ''gvfs-metadata'' daemon. The save location of the daemon data is in ''$XDG_DATA_HOME/gvfs-metadata/''. Unfortunately the content of these files is rater awful, so you can query the metadata of a location with the command ''gvfs-info -a metadata:: /some/location''. Thunar associates various settings with files/folders, which we call metadata. Since version 1.6 this data is stored using the ''gvfs-metadata'' daemon. The save location of the daemon data is in ''$XDG_DATA_HOME/gvfs-metadata/''. Unfortunately the content of these files is rater awful, so you can query the metadata of a location with the command ''gvfs-info -a metadata:: /some/location''.
  
Line 29: Line 29:
 ---- ----
  
-=== Where does Thunar store its preferences? ===+===== Where does Thunar store its preferences? =====
  
 Thunar stores the user configurable preferences (and hidden settings) in an [[:xfce:xfconf:|Xfconf]] channel. You can view the contents of this settings channel with the [[:xfce:xfce4-settings:editor|Settings Editor]]. Thunar stores the user configurable preferences (and hidden settings) in an [[:xfce:xfconf:|Xfconf]] channel. You can view the contents of this settings channel with the [[:xfce:xfce4-settings:editor|Settings Editor]].
Line 37: Line 37:
 ---- ----
  
-=== How to use mouse gestures in Thunar? ===+===== How to use mouse gestures in Thunar? =====
 Thunar currently features basic support for so called //mouse gestures// in its icon view. You can use these mouse gestures by holding down the middle mouse button (usually the mouse wheel) while the mouse pointer is on the background area of the icon view component (any area that is not covered by an icon or a text). Now you can move the cursor into four directions to perform certain actions, which are described below. Thunar currently features basic support for so called //mouse gestures// in its icon view. You can use these mouse gestures by holding down the middle mouse button (usually the mouse wheel) while the mouse pointer is on the background area of the icon view component (any area that is not covered by an icon or a text). Now you can move the cursor into four directions to perform certain actions, which are described below.
  
Line 47: Line 47:
 ---- ----
  
-=== How do I assign different keyboard shortcuts? ===+===== How do I assign different keyboard shortcuts? =====
  
 For thunar 1.6.0: hover over the menu option with the mouse pointer and press the keyboard shortcut you want to rebind it to. For thunar 1.6.0: hover over the menu option with the mouse pointer and press the keyboard shortcut you want to rebind it to.
 Read more about this in the general [[:faq|FAQ]]. This functionality has been disabled by GTK3. Read more about this in the general [[:faq|FAQ]]. This functionality has been disabled by GTK3.
  
-For thunar 1.7.0 (gtk3) and above you first need to quit thunar: ''thunar -q''+For thunar 1.7.0 (gtk3) and aboveyou first need to quit thunar: ''thunar -q''
  
-After that edit the accelerators located in ''$XDG_CONFIG_HOME/Thunar/accels.scm'' (e.g. ''~/.config/Thunar/accels.scm'' )+After thatedit the accelerators located in ''$XDG_CONFIG_HOME/Thunar/accels.scm'' (e.g. ''~/.config/Thunar/accels.scm'' )
  
 The custom keyboard shortcuts are stored in the standard GTK+ accel map format in a file located at ''$XDG_CONFIG_HOME/Thunar/accels.scm''. Lines starting with ; are comments. See the GTK+ documentation for details about the file format. The custom keyboard shortcuts are stored in the standard GTK+ accel map format in a file located at ''$XDG_CONFIG_HOME/Thunar/accels.scm''. Lines starting with ; are comments. See the GTK+ documentation for details about the file format.
Line 62: Line 62:
 Check the [[https://gitlab.gnome.org/GNOME/gtk/blob/master/gdk/keynames.txt|keynames.txt]] for a list of available keys. Check the [[https://gitlab.gnome.org/GNOME/gtk/blob/master/gdk/keynames.txt|keynames.txt]] for a list of available keys.
  
-If you are a packager or a system administrator and want to provide a system wide default for the keyboard shortcuts, that is different from the default shortcuts in Thunar, you can create a file ''Thunar/accels.scm'' in one of the ''$XDG_CONFIG_DIRS''. For example, if ''/etc/xdg'' is part of ''$XDG_CONFIG_DIRS'' (the default for most Linux distributions), you can install system wide defaults to ''/etc/xdg/Thunar/accels.scm''. Thunar will then load shortcuts from this file on first startup.+If you are a packageror a system administratorand want to provide a system wide default for the keyboard shortcuts, that is different from the default shortcuts in Thunar, you can create a file ''Thunar/accels.scm'' in one of the ''$XDG_CONFIG_DIRS''. For example, if ''/etc/xdg'' is part of ''$XDG_CONFIG_DIRS'' (the default for most Linux distributions), you can install system wide defaults to ''/etc/xdg/Thunar/accels.scm''. Thunar will then load shortcuts from this file on first startup.
  
 Hint: If you add a new UserCustomAction with keyboard shortcut, it will show in ''accels.scm''. Like that you can check the naming used for every key/modifyer. Hint: If you add a new UserCustomAction with keyboard shortcut, it will show in ''accels.scm''. Like that you can check the naming used for every key/modifyer.
Line 68: Line 68:
 ---- ----
  
-=== Why does Thunar display the fall-back icon for all files and folders? ===+===== Why does Thunar display the fall-back icon for all files and folders? =====
  
 If Thunar displays the fallback icon for all files and folders, as shown in the screenshot below, it is usually caused by one of the following problems: If Thunar displays the fallback icon for all files and folders, as shown in the screenshot below, it is usually caused by one of the following problems:
Line 93: Line 93:
 ---- ----
  
-=== Where are the deleted items from the trash located? ===+===== Where are the deleted items from the trash located? =====
 Thunar is following the freedesktop standards in this. Following the links below you can find out more of this freedesktop specifications. Read more [[http://www.ramendik.ru/docs/trashspec.html|here]] and [[http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html|here]]. Thunar is following the freedesktop standards in this. Following the links below you can find out more of this freedesktop specifications. Read more [[http://www.ramendik.ru/docs/trashspec.html|here]] and [[http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html|here]].
  
Line 100: Line 100:
 ---- ----
  
-=== Can Thunar display video thumbnails? ===+===== Can Thunar display video thumbnails? =====
 Two possible ways. First, You'll need to build thunar with support for gconf (GNOME thumbnailers) and install one of the available  Two possible ways. First, You'll need to build thunar with support for gconf (GNOME thumbnailers) and install one of the available 
 movie thumbnailers for GNOME, i.e. Totem includes the totem-video-thumbnailer. Second, You can get thumbnails without GNOME by  movie thumbnailers for GNOME, i.e. Totem includes the totem-video-thumbnailer. Second, You can get thumbnails without GNOME by 
Line 107: Line 107:
 ---- ----
  
-=== How to hide fixed disks or user locations from the sidebar ===+===== How to hide fixed disks or user locations from the sidebar =====
  
 You can prevent fixed disks from showing up in Thunar's sidebar by adding ''x-gvfs-hide'' option to the relevant partition in the ''/etc/fstab'' file or from your disk utility. [[https://gitlab.gnome.org/GNOME/gvfs/blob/master/monitor/udisks2/what-is-shown.txt|Controlling what is shown in the user interface]] You can prevent fixed disks from showing up in Thunar's sidebar by adding ''x-gvfs-hide'' option to the relevant partition in the ''/etc/fstab'' file or from your disk utility. [[https://gitlab.gnome.org/GNOME/gvfs/blob/master/monitor/udisks2/what-is-shown.txt|Controlling what is shown in the user interface]]