Thunar - Working with Files and Folders


Opening Files

When opening a file, either via the main menu, via the file's context menu, by double-clicking on it or by hitting the enter key, the file manager performs the default action for that file type. For example, opening a text file will display it in the default text editor, while opening an image file will display the image in the default image viewer.

The default file open mode is double-clicking but you can set Thunar preferences so that a single click will execute the default action. For more information, see the section called File Manager Preferences.

Executing Non-Default Actions

To execute actions other than the default action for a file, select the file in question, then choose the desired action from the Open With choices available from the File menu or the right-click context menu.

Adding Actions

To add actions associated with a file type, perform the following steps:

The action you have chosen is now added to the list of Recommended Applications for that particular file type. If you enabled the Use as default for this kind of file option or there was no prior action associated with the type, the newly added action becomes the default.

You may also add actions using the Open With pick list under FileProperties....

Modifying Actions

To modify the actions associated with a file or file type, perform the following steps:

Back to Top


Properties

File and Folder Properties
File PropertiesFolder Properties

The Properties dialog shows more information about any file or folder in the file manager. To open the Properties window, perform the following steps:

If there are no files or folders selected, right-clicking anywhere on the whitespace or performing any of the other actions listed above will present the context menu of the current folder that you are viewing.

There are three or four tabs in the Properties dialog that give you access to the following information or actions:

General

  1. For folders:
    • See the total size of all the files in the current folder and all subfolders.
    • View a Usage slider which displays used and free space on the current partition.
  2. For files:
    • The ability to change the default Open With action for this file and other files of the same type.
    • File type and size.

Emblems

Highlight

Permissions

Image

Back to Top


Selecting Files

There are several ways to select files in Thunar.

Other options are Select all Files and Invert Selection, which can be found in the Edit menu.

Back to Top


The File Menu

The File menu item is a context menu, meaning the entries you see on it will differ depending on whether the currently selected item is a folder or a file.

File Context Menus
File menu - folder selectedFile menu - file selected

Certain items on the File menu are not native Thunar functions but are provided by plugins. In the descriptions that follow, those items will be identified by Plugin. More detailed information on their usage can be found in the Plugins section of this documentation.

The following menu items are common to both folders and files:

New Tab
Opens a new tab within the file manager window and makes the new tab the current focus. The working directory in the new tab will be the same as the previous tab/window. You can open the new tab at a different folder by right-clicking on a folder and selecting Open in a New Tab from that menu.
New Window
Opens another instance of Thunar in a new window.
Create Folder
Creates a new folder within the current folder with a name of your choosing.
Create Document
Allows you to create a new document either as a blank file or from a template. If you choose the Empty File option and type in a file name with no extension, by default it will create an empty, plain text document. You can also create files from a pre-configured templates. To do that, you first create a file with all of your desired settings in the application of your choice and then save it in the ~/Templates folder. (The folder specified in XDG_TEMPLATES_DIR) That file name will then appear as a choice in the Create Document list. Give it a new name and you now have a new file based on your custom settings.
Send To
Plugin. Displays a menu with several targets where the selected folders or files can be sent.
Create Archive
Plugin. After selecting multiple files and/or folders, clicking this item will allow you to create a compressed archive file that contains all of the files in the selection.
Close All Windows
Closes all instances of the file manager.
Close Tab
Closes the current tab. If there are no open tabs, closes Thunar.
Close Window
Closes the current instance of Thunar.

The following menu items are specific to folders:

Open
Opens the selected folder and displays its contents in the Main Area.
Open in New Tab
Creates a new tab at the top of the Main Area, labels the tab with the name of the opened folder and displays the folder contents in the Main Area.
Open in New Window
Opens a new instance of Thunar in a separate window and displays the contents of the selected folder.
Open Terminal Here
Opens a terminal window with the selected folder set as the working directory.
Find in this Folder
Plugin. Launches the Catfish file finder application with the selected folder as the target.

The following menu items are specific to files:

Open With "Application"
See Opening Files in this section for descriptions of the various file opening options.
Set as Wallpaper
Only applicable to image files. Sets the selected image as the desktop background.

Back to Top


The Edit Menu

The Edit menu presents the same options for both folder and file selections.

The Edit Menu
Edit menu

Undo, Redo
Undo by default will undo up to ten file operation which were performed lately. Redo will execute these operations again in order to preserve the previous state. Undo and Redo are particularly useful if file operations got executed on accident.
Cut, Copy, Paste
These three options are probably the most often performed operations in Thunar. After making your file/folder selections, these actions can be accomplished from the Edit menu, by the indicated keyboard shortcuts or by dragging and dropping. You can copy or move files and folders between Thunar sessions in different windows or between tabs within the same window. While the difference between copy/paste and cut/paste should be obvious when using the menu or keyboard shortcuts, it is not so when dragging and dropping. The drag/drop operation performs a move when the source and target folders are on the same partition but it results in a copy when the source and target are on different partitions.
To drop selections on a tab, first hover over the target tab itself until it becomes active, then move the mouse down to the Main Area to drop your selections into the current folder of that tab or a subfolder within it.
Move to Trash
This is the action that is performed by default when you select files and folders and press Delete. Files deleted this way are still able to be viewed and acted on by opening the Trash folder, including the option of restoring them to their original location if it turns out you were too hasty in deleting them. Right-clicking on the Trash folder and selecting Empty Trash permanently deletes all of the files stored there and frees up the disk space they were using.
Delete
Bypasses the Trash folder and permanently deletes the selected items once you agree by pressing Delete in the confirmation dialog.
Select all Files, Select by Pattern..., Invert Selection
See the Selecting Files paragraph above.
Duplicate
Creates a duplicate copy of the selected files or folders and appends (copy 1) to the filename. Multiple selections are allowed.
Make Link
Creates a symbolic link (symlink) to the selected file or folder. See The UNIX File System for more information on symlinks.
Rename
Allows you to assign a new name to the file or folder. If multiple items are selected, invokes the Bulk Renamer Plugin.
Configure custom actions...
Plugin. Configure actions that will appear in the file manager's context menus for certain types of files.
Preferences
See the File Management Preferences section.

Back to Top


The View Menu

Most of the items on the View menu are either self-explanatory or have been discussed in the The File Manager Window section. There are just a couple that deserve further explanation below.

View Menu
View Menu

Show Hidden Files

Hidden files typically contain settings and configuration data which don't normally need to be accessed. For this reason and as a safety precaution to prevent their accidentally being moved, changed or deleted, they do not show up by default in the file manager. Check this option to make them visible. They can be identified by the dot prefix in the filename (e.g., .nvidia-settings).

Zoom

Increase or decrease the size of the icons and text in the Main Area. This is a “sticky” setting, meaning the new zoom level will be what you see the next time you start Thunar. If multiple windows are open, the other windows will not refresh with the new setting until they are closed and reopened. Select Normal Size to restore the default zoom level.

Back to Top


The Go Menu

The Go menu provides options for navigating through the file system. Most of these options can be accessed more directly by clicking on the Side Pane or the Location Selector, or by using keyboard shortcuts. There are, however, a couple of exceptions to this rule. You will notice in the example below that there are some folders showing in the Go menu which aren't showing in the Side Pane. One of them is the special Templates folder (which isn't one of the default PLACES in the Side Pane).

The Go Menu
Go menu

The Bookmarks Menu

The Bookmarks menu can be used to bookmark folders in order to quickly access the later on.

The Bookmarks Menu
Go menu

Back To Top


Back to Thunar documentation page