Working with Files and Folders
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.
To add actions associated with a file type, perform the following steps:
- In the main area, select a file of the type to which you want to add an action.
- Choose File → Open With → Open With Other Application... from the main menu.
- Either choose an application from the list or select Use a custom command and browse to the program with which you wish to open this type.
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 File → Properties....
To modify the actions associated with a file or file type, perform the following steps:
- In the main area, select a file of the type for which you want to modify the action.
- Choose File → Properties... from the main menu.
- Select the new default action by choosing one of the recommended applications in the Open With pick list or add a new action by choosing Other Application... and selecting an application in the Open With dialog.
|File and Folder 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:
- Select the file or folder you want to examine or change. You can select multiple items at once and display the properties that are common to them all.
- Do one of the following:
- Choose File → Properties... from the main menu.
- Right-click the item and choose Properties... from the context menu.
- Press Alt-Return.
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:
- 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.
- 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.
- Customize a particular file or folder's icon by adding an emblem.
- Change the UNIX file permissions for a file or folder.
- Only present for graphics files. View the image size in pixels (and other metadata, if available).
There are several ways to select files in Thunar.
- To select a single file, you can simply click on it with the left mouse button.
- You can select multiple files by holding down the Ctrl key and clicking on the files, or holding down the Shift key to select a range of files.
- You can also select multiple files and folders by using the mouse to drag a selection box over them. Note: If you are using View as a Detailed List in the Main Area, you must first position the mouse over a file/folder name (not in the whitespace) before dragging.
- You can also select files by providing a pattern with the keyboard shortcut Ctrl-S or from the main menu Edit → Select pattern.... For example, to select all text files, hit Ctrl-S and enter “*.txt” in the dialog.
- If you want to find a single file and know the beginning of the filename, simply start entering the filename in the view. A text box will appear in the bottom right corner and an incremental search will be performed. The first file that matches what you type will be selected. If there are multiple files names beginning with the same letters, continuing to type the name you're looking for will narrow your search down until the file you want is selected.
Other options are Select all Files and Invert Selection, which can be found in the Edit menu.
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|
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:Open in a New TabEmpty File
The following menu items are specific to folders:Plugin
The following menu items are specific to files:Opening Files
The Edit Menu
The Edit menu presents the same options for both folder and file selections.
|The Edit Menu|
(copy 1)The UNIX File SystemBulk RenamerPluginPluginFile Management Preferences
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.
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.,
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.
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 other two, Development and Reports, are user-defined shortcuts which have been hidden using the Side Pane right-click menu. As you can see, the Go menu overrides that setting and displays all shortcuts.
|The Go Menu|
Another navigation option available from this menu is Open Location. Choosing this allows you to manually enter the path or URL for the resource you wish to locate. The examples below show the different presentations for this option depending on whether you have the Toolbar or Pathbar location style selected. In either case, as you type, an incremental search is performed and matching entries are listed to choose from.
|Open Location - Toolbar vs. Pathbar Views|