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
Next revisionBoth sides next revision
xfce:thunar:faq [2019/11/30 21:48] kevinbowenxfce:thunar:faq [2020/10/04 22:02] – Added some details on shortcut keys alexxcons
Line 9: Line 9:
     * [[#How to use mouse gestures in Thunar?|How to use mouse gestures in Thunar?]]     * [[#How to use mouse gestures in Thunar?|How to use mouse gestures in Thunar?]]
     * [[#How do I assign different keyboard shortcuts?|How do I assign different keyboard shortcuts?]]     * [[#How do I assign different keyboard shortcuts?|How do I assign different keyboard shortcuts?]]
-    * [[#Where does Thunar store the keyboard shortcuts?|Where does Thunar store the keyboard shortcuts?]] 
     * [[#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?]]     * [[#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?]]
     * [[#Where are the deleted items from the trash located?|Where are the deleted items from the trash located?]]     * [[#Where are the deleted items from the trash located?|Where are the deleted items from the trash located?]]
     * [[#Can Thunar display video thumbnails?|Can Thunar display video thumbnails?]]     * [[#Can Thunar display video thumbnails?|Can Thunar display video thumbnails?]]
 +    * [[#How to hide fixed disks or user locations from the sidebar|How to hide fixed disks or user locations from the sidebar]]
  
 ---- ----
Line 48: Line 48:
  
 === How do I assign different keyboard shortcuts? === === How do I assign different keyboard shortcuts? ===
-If you want to rebind a shortcut, Thunar supports the standard GTK+ way of changing shortcuts: simply 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]]. +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. 
-<note important>This functionality has been disabled by GTK3 which means that thunar 1.7.0 and above do not support it any more.</note>+Read more about this in the general [[:faq|FAQ]]. This functionality has been disabled by GTK3.
  
-For thunar 1.7.0 and above you first need to quit thunar: ''thunar -q''+For thunar 1.7.0 (gtk3) and above you first need to quit thunar: ''thunar -q''
  
-After that edit the accelerators located in ''$XDG_CONFIG_HOME/Thunar/accels.scm''+After that edit the accelerators located in ''$XDG_CONFIG_HOME/Thunar/accels.scm'' (e.g. ''~/.config/Thunar/accels.scm'' )
  
-( e.g. in ''~/.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.
  
-[[|Back to Top]] +Note that for some keys the ''<Shift>'' modifier seems to be ignored. (E.g. ''<Primary><Shift>1'' fails, where ''<Primary>exclam'' works fine.) Most likely a gtk bug.
-----+
  
-=== Where does Thunar store the keyboard shortcuts? === +Check the [[https://gitlab.gnome.org/GNOME/gtk/blob/master/gdk/keynames.txt|keynames.txt]] for a list of available keys.
-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 commentsSee the GTK+ documentation for details about the file format.+
  
 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 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.
 +
 +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 106: Line 105:
 installing [[http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers|thunar-thumbnailers]] plugin. installing [[http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers|thunar-thumbnailers]] plugin.
  
 +----
 +
 +=== 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 hide "Desktop", "Home", ... and default GTK bookmarks from the side pane by commenting out their entries in ''~/.config/user-dirs.dirs'' [[https://askubuntu.com/questions/79150/how-to-remove-bookmarks-from-the-nautilus-sidebar/79266#79266|How to remove bookmarks from the sidebar]]
  
 [[|Back To Top]] [[|Back To Top]]
 ---- ----
 [[:xfce:thunar:|Back to Thunar documentation page]] [[:xfce:thunar:|Back to Thunar documentation page]]