You are not logged in.

#1 2012-10-31 20:23:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

[Solved] Udiskie --suppress not working

I start udiskie in my .xinitrc with the --suppress flag (I have also tried the short version, -s) as I don't want the notifications and I don't have one of the notifier libraries installed.

However, when I successfully unmount a drive with "udiskie-umount /media/drive" I still get the error message:

unmounted device /org/freedesktop/UDisks/devices/sdb1
Traceback (most recent call last):
  File "/usr/bin/udiskie-umount", line 7, in <module>
    sys.exit(udiskie.umount.cli(sys.argv[1:]))
  File "/usr/lib/python2.7/site-packages/udiskie/umount.py", line 86, in cli
    unmount(os.path.normpath(path), notify)
  File "/usr/lib/python2.7/site-packages/udiskie/umount.py", line 45, in unmount
    unmount_device(device, notify)
  File "/usr/lib/python2.7/site-packages/udiskie/umount.py", line 29, in unmount_device
    notify(device.device_file())
  File "/usr/lib/python2.7/site-packages/udiskie/notify.py", line 20, in umount
    'drive-removable-media').show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

Udiskie is running in suppress mode:

jason    21790  0.0  0.5 221220 20140 tty1     S    08:56   0:00 /usr/bin/python2 /usr/bin/udiskie --suppress

Is anyone else seeing this behaviour?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#2 2012-11-01 05:28:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Udiskie --suppress not working

Bug filed: https://bitbucket.org/byronclark/udiski … th-systemd


edit: and resolved. You have to pass the -s switch to udiskie-umount as well...

Last edited by jasonwryan (2012-11-02 05:59:40)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB