Foire aux 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 file a request.

Pourquoi Thunar n'exécutent pas les fichiers indiqués comme exécutable ?

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.

Also note that for application/x-executable and application/x-shellscript, the types of the file don't really need to match these types exactly, but it is suffice if the detected type has a parent that matches one of the two types listed above, or if the MIME-type is an alias for one of the above.

Où Thunar stocke les métadonnées associées à un fichier ?

Thunar associe différents paramètres avec des fichiers/dossiers, que nous appelons métadonnées. Ces métadonnées sont stockés dans un fichier base de données tbd, qui est appelé le métafichier. Ce fichier de base de données est $XDG_CACHE_HOME/Thunar/metafile.tdb et peut être examiné en utilisant tdbtool, qui est un composant de Thunar (situé dans le sous-répertoire tdb/).

Où Thunar stocke ses préférences ?

Thunar stocke les préférences modifiables de l'utilisateur (et les paramètres cachés) dans un fichier .ini, qui est $XDG_CONFIG_HOME/Thunar/thunarrc et peut être examiné en utilisant un éditeur de texte. Voyez docs/README.thunarrc pour une vue d'ensemble des différentes préférences.

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.

Gauche - ouvrir le dossier précédemment visité
Haut - ouvrir le père du dossier
Droite - ouvrir le prochain dossier visité
Bas - rafraîchir le dossier courant

Comment puis-je assigner différents raccourcis clavier ?

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.

To delete a keyboard assignment, press the Backspace key while you are on the menu entry.

Si le raccourci ne change pas, alors vous avez besoin d'activer la fonctionnalité dans GTK+. Vous pouvez le faire de 3 manières :

  • Si vous utilisez Xfce 4.3 ou plus alors vous pouvez activer Editable menu accelerators dans la fenêtre de dialogue des Préférences de l'interface utilisateur.

  • Si vous utilisez GNOME alors vous pouvez activer Editable menu accelerators dans la fenêtre de dialogue du centre de contrôle Menu et barre d'outils

  • Autrement placez ce qui suit dans votre fichier ~/.gtkrc-2.0(créez le fichiez s'il n'existe pas) :

    gtk-can-change-accels=1

Où Thunar stocke les raccourcis clavier ?

Les raccourcis clavier personnalisés sont stockés dans le format 'accel map' standard de GTK+ dans le fichier $XDG_CONFIG_HOME/Thunar/accels.scm. Les lignes commençant avec ; sont des commentaires. Voyez la documentation de GTK+ pour les détails à propos de ce format de fichier.

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.