Udiskie is an automatic disk mounting service using [http://www.archlinux.org/packages/?q=udisks udisks]. It can be used for mounting CDs, flash drives, and other media. It is simple to use and requires no configuration.

+

[http://bitbucket.org/byronclark/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.

==Installation==

==Installation==

−

You can [[pacman|install]] Udiskie by using the {{pkg|python2-udiskie}} package that is found in the [[Official Repositories]].

+

You can [[pacman|install]] Udiskie by using the {{pkg|udiskie}} package that is found in the [[Official Repositories]].

Start the Udiskie service by adding

Start the Udiskie service by adding

Line 13:

Line 13:

===Permissions===

===Permissions===

−

udiskie requires permission for the <code>org.freedesktop.udisks.filesystem-mount</code> 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.

+

udiskie requires permission for the <code>org.freedesktop.udisks.filesystem-mount</code> action to be granted through [[PolicyKit]]. If you use a display manager that supports [[Systemd#Using_systemd-logind]] this will be taken care of for you automatically.

−

+

−

====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.}}

+

−

<!-- if someone has a way to start udiskie after the wm is started as a child process, (sub-shell + sleep) won't work, put it here--->

+

−

+

−

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]]:

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 Systemd#Using_systemd-logind this will be taken care of for you automatically.

Storage group

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