Difference between revisions of "Udiskie"

From ArchWiki
Jump to navigation Jump to search
(Udiskie crashes: changed bug 40446 to 40327 as 40446 is duplicate)
m (Troubleshooting: rm section - the bug had been fixed)
Line 24: Line 24:
  udiskie-umount -a
  udiskie-umount -a
== Troubleshooting ==
=== Udiskie crashes ===
If you get an output like this:
{{hc|$ udiskie|<nowiki>
Traceback (most recent call last):
  File "/usr/bin/udiskie", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2829, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 449, in _build_master
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 742, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: PyYAML
you need to install {{Pkg|python2-yaml}}. See {{Bug|40327}}.

Revision as of 15:05, 27 May 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 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