Skip to content

Ubuntu Debian installation guide

Israel- edited this page Oct 10, 2014 · 7 revisions

Install Dependencies

sudo apt-get install python-setuptools udisks python-pip python-gobject python-yaml libgio2.0 gobject-introspection libgtk2.0-0 libnotify4 gettext gir1.2-notify-0.7

Then simply

sudo pip install udiskie

PolicyKit Edit your policy kit authorization

sudo pico /etc/polkit-1/localauthority/50-local.d/consolekit.pkla

append this:

[mount]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.filesystem-mount
ResultAny=yes
[unlock]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.luks-unlock
ResultAny=yes
[eject]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.drive-eject
ResultAny=yes
[detach]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.drive-detach
ResultAny=yes

or the short version

[udiskie]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.*
ResultAny=yes

make sure your user is in the plugdev group. You can do this by running:

groups

if your user is not then simply

usermod -a -G plugdev $USER

Enjoy your udiskie. This goes very well with JWM Github Repo

Of course you can use the latest stable JWM from here:

JWM PPA