From ArchWiki
Jump to navigation Jump to search

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 is simple to use and requires no configuration.


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 pygtk package to be installed. If you want to use experimental support for udisks2, start the udiskie service with:

udiskie -2 --tray &

Once udiskie is running, all removable media will automatically be mounted under /media under a new directory that matches the device name.


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