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:working-with-files-and-folders [2015/04/19 20:13] – [Selecting Files] hjudtxfce:thunar:working-with-files-and-folders [2015/05/15 20:34] – [Executing Non-Default Actions] hjudt
Line 5: Line 5:
 <note warning>This page is work in progress!</note> <note warning>This page is work in progress!</note>
  
-When you open a file, 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+When opening a file, either via the menu, via the file's context menu, by double-clicking on it, 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 file manager checks the extension of a file to determine the type of a file. If the file has no known extension, the file manager examines the contents of the file. +
-Executing the Default Action +
- +
-To execute the default for a file, double-click on the file. For example, the default action for audio files is to play the it with the default music playing application. In this case, you can double-click on the file to open the file in the music player.+
  
 You can set //Thunar// preferences so that you click once on a file to execute the default action. For information, see the section called [[preferences|Behavior Preferences]]. You can set //Thunar// preferences so that you click once on a file to execute the default action. For information, see the section called [[preferences|Behavior Preferences]].
Line 16: Line 11:
 ==== Executing Non-Default Actions ==== ==== Executing Non-Default Actions ====
  
-To execute actions other than the default action for a file, select the file that you want to perform an action on. Choose the desired action from the //Open With// choices available in {gui>File menu} or an {gui>Open With} submenu.+To execute actions other than the default action for a file, select the file that you want to perform an action on. Choose the desired action from the //Open With// choices available in {gui>File menu} or an {gui>Open With} submenu. The choices in //Open With// will be sorted by a last used criteria, that means that the recently used actions will be listed on top, while the least recently used application will appear at the bottom of the list.
  
 ==== Adding Actions ==== ==== Adding Actions ====
Line 71: Line 66:
 To select a single file, you can simply click on it with the left mouse button. You can select multiple single files by holding down the control key and clicking on the files, or hold down the shift key to select a range of files. Also, with the mouse you can click somewhere in the whitespace and drag a selection box over the desired files. To select a single file, you can simply click on it with the left mouse button. You can select multiple single files by holding down the control key and clicking on the files, or hold down the shift key to select a range of files. Also, with the mouse you can click somewhere in the whitespace and drag a selection box over the desired files.
  
-The details view is special in this regard because it does not support starting the selection from whitespace, only from existing rows. That's due to the way the GtkTreeView widget works that is used for the implementation of this view. To compensate for this, it allows dragging files only by clicking on the left-most column, which is usually the column showing the filenames if not configured otherwise, while starting a selection can be performed by clicking and holding the mouse button in any of the rest of the columns. +The details view is special in this regard because it does not support starting the selection from whitespace, only from existing rows. That's due to the way the GtkTreeView widget works that is used for the implementation of this view. To compensate for this, it allows dragging files only by clicking on the "Name" column, that is the one showing the filenames, while starting a selection can be performed by clicking and holding the mouse button in any of the rest of the columns. 
-To put it in a nutshell: If you want to drag files with the mouseclick on the left-most column, and if you want to select multiple files with the mouse, start the selection by clicking on and dragging over any of the other columns.+To put it in a nutshell: If you want to drag or select single files with the mouse click on their names, and if you want to select multiple files with the mouse, start the selection by clicking on and dragging over any of the other columns.
  
 You can also select files by providing a pattern with the keyboard shortcut Control+s or from the main menu {gui>Edit>Select pattern...}. For example, to select all text files, hit Control+s and enter "*.txt" in the dialog. You can also select files by providing a pattern with the keyboard shortcut Control+s or from the main menu {gui>Edit>Select pattern...}. For example, to select all text files, hit Control+s and enter "*.txt" in the dialog.