Installation

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

Permissions

udiskie requires permission for the org.freedesktop.udisks.filesystem-mount action to be granted through PolicyKit. If you use a display manager that supports ConsoleKit this will be taken care of for you automatically. If you don't, you'll need to set up consolekit to work with startx/xinit or use the storage group method.

Consolekit

Note: You may have to start udiskie after your window manager is started. You may have to use the storage group method if your WM doesn't provide this functionality.

Start your window manager or desktop environment with ck-launch-session, for example, an exec line in ~/.xinitrc:

exec ck-launch-session awesome

You may need to start udiskie within the Consolekit session -- that seems to be necessary, for example, when launching dwm:

exec ck-launch-session bash -c "udiskie & dwm"

Storage group

If it doesn't already exist, create the file /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla with these contents: