Difference between revisions of "Udiskie"

From ArchWiki
Jump to: navigation, search
m (Troubleshooting: rm section - the bug had been fixed)
(Updated tray icon dependency, mention encrypted devices, mention mount tool)
Line 1: Line 1:
 
[[Category:Hardware detection and troubleshooting]]
 
[[Category:Hardware detection and troubleshooting]]
 
{{Merge|File manager functionality#Udiskie|May be too short for a separate article.|Talk:File manager functionality#Udiskie}}
 
{{Merge|File manager functionality#Udiskie|May be too short for a separate article.|Talk:File manager functionality#Udiskie}}
[https://github.com/coldfix/udiskie udiskie] is an automatic disk mounting service using {{Pkg|udisks}}. It can be used for mounting CDs, flash drives, and other media. It is simple to use and requires no configuration.
+
[https://github.com/coldfix/udiskie udiskie] is an automatic disk mounting service using {{Pkg|udisks}}. It can be used for mounting CDs, flash drives, and other media. It even handles password protected [[Dm-crypt/Device_encryption|LUKS devices]]. It is simple to use and requires no configuration.
  
 
== Installation ==
 
== Installation ==
Line 10: Line 10:
 
  udiskie --tray &
 
  udiskie --tray &
  
to your [[xinitrc]] file, before the [[window manager]] is loaded. The tray icon is optional and requires the {{Pkg|pygtk}} package to be installed. If you want to use experimental support for {{Pkg|udisks2}}, start the udiskie service with:
+
to your [[xinitrc]] file, before the [[window manager]] is loaded. The tray icon is optional and requires the {{Pkg|gtk3}} package to be installed. If you want to use {{Pkg|udisks2}}, start udiskie with:
  
 
  udiskie -2 --tray &
 
  udiskie -2 --tray &
  
Once udiskie is running, all removable media will automatically be mounted under {{ic|/media}} under a new directory that matches the device name.
+
Once udiskie is running, all removable media will automatically be mounted under {{ic|/media}} (or {{ic|/run/media/<username>}} for udisks2) under a new directory that matches the device name.
  
 
== Unmounting ==
 
== Unmounting ==
Line 24: Line 24:
  
 
  udiskie-umount -a
 
  udiskie-umount -a
 +
 +
== Manual mounting ==
 +
The command <code>udiskie-mount</code> can be used to mount devices manually if udiskie is not running in the background:
 +
 +
udiskie-mount /dev/sdb1

Revision as of 10:36, 12 August 2014

Merge-arrows-2.pngThis article or section is a candidate for merging with File manager functionality#Udiskie.Merge-arrows-2.png

Notes: May be too short for a separate article. (Discuss in Talk:File manager functionality#Udiskie)

udiskie is an automatic disk mounting service using udisks. It can be used for mounting CDs, flash drives, and other media. It even handles password protected LUKS devices. It is simple to use and requires no configuration.

Installation

You can install udiskie by using the udiskie package that is found in the official repositories. Start the udiskie service by adding:

udiskie --tray &

to your xinitrc file, before the window manager is loaded. The tray icon is optional and requires the gtk3 package to be installed. If you want to use udisks2, start udiskie with:

udiskie -2 --tray &

Once udiskie is running, all removable media will automatically be mounted under /media (or /run/media/<username> for udisks2) under a new directory that matches the device name.

Unmounting

Use the udiskie-umount command to unmount media. For example, for a device named "MY_USB_DRIVE":

udiskie-umount /media/MY_USB_DRIVE

Or, you can unmount all media with the command:

udiskie-umount -a

Manual mounting

The command udiskie-mount can be used to mount devices manually if udiskie is not running in the background:

udiskie-mount /dev/sdb1