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
xfce:thunar:using-removable-media [2015/10/05 22:53] ochosixfce:thunar:using-removable-media [2021/02/08 22:53] (current) – add section divs kevinbowen
Line 1: Line 1:
 +~~NOTOC~~
 +{{ :xfce:xfce.thunar.png?no link|}}
 ====== Using Removable Drives and Media ====== ====== Using Removable Drives and Media ======
  
 +  * **[[#Accessing Removable Media|Accessing Removable Media]]**
 +  * **[[#Managing Removable Drives and Media|Managing Removable Drives and Media]]**
 +  * **[[#Storage Tab|Storage Tab]]**
 +  * **[[#Multimedia Tab|Multimedia Tab]]**
 +
 +----
  
 ===== Accessing Removable Media ===== ===== Accessing Removable Media =====
-Before we talk about managing removable media, we need to explain the terms //mount//, //unmount// and //eject//. The Unix file system treats all drives and media as files, albeit a special type of file. In order to be able to access the files on a particular medium, you must first mount the device. This can be accomplished through the command line with the ''mount'' command or through a file manager like Thunar. When a drive is mounted, it gets attached to the file system as a subdirectory; e.g., as ''/media/username/device-name''. The files on the medium can then be accessed just like any other files and folders in the file system. If you want to mount a drive from the command line, you must first run a command to determine its device name. Fortunately, this is not necessary in Thunar. As soon as a removable device is inserted or plugged in, its name will show up in the Side Pane under the //Devices// section. It can optionally be mounted and opened automatically---see the [[using-removable-media#managing_removable_drives_and_media|Managing Removable Drives and Media]] paragraph below for details on how to configure those options.+Before we talk about managing removable media, we need to explain the terms //mount//, //unmount// and //eject//. The Unix file system treats all drives and media as files, albeit a special type of file. In order to be able to access the files on a particular medium, you must first mount the device. This can be accomplished through the command line with the ''mount'' command or through a file manager like Thunar. When a drive is mounted, it gets attached to the file system as a sub-directory; e.g., as ''/media/username/device-name''. The files on the medium can then be accessed just like any other files and folders in the file system. If you want to mount a drive from the command line, you must first run a command to determine its device name. Fortunately, this is not necessary in Thunar. As soon as a removable device is inserted or plugged in, its name will show up in the Side Pane under the //Devices// section. It can optionally be mounted and opened automatically---see the [[using-removable-media#managing_removable_drives_and_media|Managing Removable Drives and Media]] paragraph below for details on how to configure those options.
  
 You can see the current mount status of a device by looking at its icon in the Side Pane. The icons of unmounted drives are greyed out. See the example below for a comparison. You can also right-click on a device and the context menu will offer an option to either {gui>Mount} or {gui>Unmount}, depending on the current status. You can see the current mount status of a device by looking at its icon in the Side Pane. The icons of unmounted drives are greyed out. See the example below for a comparison. You can also right-click on a device and the context menu will offer an option to either {gui>Mount} or {gui>Unmount}, depending on the current status.
  
-<figure "Removable Media in Side Pane: Unmounted (Left), Mounted (Center), Right-click Menu (Right)"> +<figure "Removable Media in Side Pane: Unmounted (First), Mounted (Second), Right-click Menu (Third)"> 
-{{:xfce:thunar:1.6:thunar_removable-unmounted-crop.png?nolink&|Unmounted Media}} +{{:xfce:thunar:removable-media-in-side-pane.png?nolink&|Mounting Media}}
-{{:xfce:thunar:1.6:thunar_removable-mounted-crop.png?nolink&|Mounted Media}} +
-{{:xfce:thunar:1.6:thunar_removable-right-click-menu-crop.png?nolink&|Right-click Menu}}+
 </figure> </figure>
  
Line 22: Line 28:
  
 <figure "Removal Notification"> <figure "Removal Notification">
-{{:xfce:thunar:1.6:thunar_removable-media-unmount.png?nolink&|}}+{{:xfce:thunar:thunar_removable-media-unmount.png?nolink&|}}
 </figure> </figure>
  
Line 28: Line 34:
  
 Be aware that you cannot eject or unmount media that are still in use by one or more applications. Therefore if the file manager refuses to eject media, make sure you close all applications that were accessing the media, and be sure to also check command line applications running in ''Terminal'' windows.  Be aware that you cannot eject or unmount media that are still in use by one or more applications. Therefore if the file manager refuses to eject media, make sure you close all applications that were accessing the media, and be sure to also check command line applications running in ''Terminal'' windows. 
 +
 +[[|Back to Top]]
 +----
  
 ===== Managing Removable Drives and Media ===== ===== Managing Removable Drives and Media =====
Line 33: Line 42:
  
 <figure "Removable Drives and Media"> <figure "Removable Drives and Media">
-{{:xfce:thunar:1.6:thunar-volman_storage-tab.png?nolink&|}}+{{:xfce:thunar:volman-settings-storage.png?nolink&|}}
 </figure> </figure>
  
-==== Storage tab ====+There are two expansion characters you can use in the "command" entries in all device categories. 
 +| %d | device file | 
 +| %m | mount point | 
 + 
 +[[|Back to Top]] 
 +---- 
 + 
 +===== Storage tab =====
  
 === Removable Storage === === Removable Storage ===
Line 55: Line 71:
  
 <figure "Auto-Run and Auto-Open Confirmation Dialogs"> <figure "Auto-Run and Auto-Open Confirmation Dialogs">
-{{:xfce:thunar:1.6:thunar_auto-run-confirmation.png?nolink&|Auto-run Confirmation}} +{{:xfce:thunar:thunar_auto-run-confirmation.png?nolink&|Auto-run Confirmation}} 
-{{:xfce:thunar:1.6:thunar_auto-open-confirmation.png?nolink&|Auto-open Confirmation}}+{{:xfce:thunar:thunar_auto-open-confirmation.png?nolink&|Auto-open Confirmation}}
 </figure> </figure>
  
Line 63: Line 79:
  
 <figure "Blank Disc Inserted - Confirmation Dialogs"> <figure "Blank Disc Inserted - Confirmation Dialogs">
-{{:xfce:thunar:1.6:thunar_blank-disc-inserted-confirmation.png?nolink&|Blank CD Confirmation}} +{{:xfce:thunar:thunar_blank-disc-inserted-confirmation.png?nolink&|Blank CD Confirmation}} 
-{{:xfce:thunar:1.6:thunar_blank-dvd-inserted-confirmation.png?nolink&|Blank DVD Confirmation}}+{{:xfce:thunar:thunar_blank-dvd-inserted-confirmation.png?nolink&|Blank DVD Confirmation}}
 </figure> </figure>
  
Line 71: Line 87:
 If you have inserted a blank DVD, you will only see a {gui>Burn DVD} button. Choosing this will execute the command entered in the {gui>Command for Data CDs:} field. If you have inserted a blank DVD, you will only see a {gui>Burn DVD} button. Choosing this will execute the command entered in the {gui>Command for Data CDs:} field.
  
-==== Multimedia tab ====+[[|Back to Top]] 
 +---- 
 + 
 +===== Multimedia tab =====
 As with the **Blank CDs and DVDs** choices under the **Storage** tab, the three options under the **Multimedia** tab offer shortcuts to the actions to be performed when these media or devices are inserted or plugged in. The syntax of the commands that can be entered here (along with those on the **Cameras**, **PDAs**, **Printers** and **Input Devices** tabs) is beyond the scope of this document. The screenshot below shows a couple of possibilities, but you will need to consult the application help files or device user guides in question for the others. As with the **Blank CDs and DVDs** choices under the **Storage** tab, the three options under the **Multimedia** tab offer shortcuts to the actions to be performed when these media or devices are inserted or plugged in. The syntax of the commands that can be entered here (along with those on the **Cameras**, **PDAs**, **Printers** and **Input Devices** tabs) is beyond the scope of this document. The screenshot below shows a couple of possibilities, but you will need to consult the application help files or device user guides in question for the others.
  
 <figure "Multimedia Tab"> <figure "Multimedia Tab">
-{{:xfce:thunar:1.6:thunar-volman_multimedia-tab.png?nolink&|Multimedia Tab}}+{{:xfce:thunar:volman-settings-multimedia.png?nolink&|Multimedia Tab}}
 </figure> </figure>
  
 +[[|Back To Top]]
 +----
 +[[:xfce:thunar:|Back to Thunar documentation page]]