Thunar 1.4 ish (though most of this also applies to earlier versions).

Drag and drop

On my system the default drag and drop is a copy. I suspect this has changed in recent versions because I’m sure that before a recent upgrade to v 1.4 the default was a move. It could be that my RAID setup is making the default a copy instead of a move (see Thunar behaviour…).

Shift+Drag: Move
Ctrl+Drag: Copy
Ctrl+Shift+Drag: Link
(Note how the mouse pointer changes)

If you’re selecting multiple files (which may involve the shift or control keys) then you can use shift/control just before dropping. E.g. If you want to move a load of files, then use shift to select the files, start dragging, release shift and when you want to drop press and hold shift again - you’ll see the mouse pointer change (the plus sign disappears) and the drop will now move instead of copy.

Custom command variables

Right click on a file, Open with other application -> Use a custom command.

[command] [var]

Where [command] is the command you’d like e.g. gvim and [var] is one of:

%f — The path to the first selected file.
%F — The paths to all selected files.
%d — Directory containing the file passed in %f.
%D — Directories containing the files passed in %F.
%n — The first selected file name (no path.)
%N — the selected file names (without paths.)

Remove old custom commands

Old custom commands seem to appear in the ‘open with’ dialog. To remove, look in .local/share/applications for file names like userapp-[command]-MYKXVV.desktop, each of which is referenced in mimeapps.list and some in mimeinfo.cache.

Location of Trash

When you delete a file in Thunar it is moved into the Trash folder at ~/.local/share/Trash.

Hold down shift when you delete to have a file deleted permanently without moving in to the Trash folder.

Configuration files

Thunar’s config files are located in the ~/.config/Thunar directory. Most config is in thunarrc.

If you delete the config you’ll have to kill the Thunar process, which is daemonised. A normal killall thunar didn’t work - I had to find it and kill it via gnome-system-monitor.


Last modified: 27/06/2012 Tags:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top