[Bug 1827778] Re: Can no longer Unmount a removable drive - only Remove it.

Gordon Lack 1827778 at bugs.launchpad.net
Wed May 27 15:28:35 UTC 2020


If you are interested in a workaround...

Put this into a *.desktop file in ~/.local/share/solid/actions/

========== NOT THIS LINE ==========
# Add an entry to the Devices menus in the Taskbar to just unmount a
# device (not power it down).
# Based on code in:
#  https://bugs.kde.org/show_bug.cgi?id=270808#c64
#
# Needs to be in .local/share/solid/actions/
#  so just symlink to it from there....
#
# NOTE: that to power off use:
#  udisksctl power-off -b /dev/sd...
# Iff we could determine whether the *whole* device is unmounted we
# could add an option for that, but we can't...
#
[Desktop Action open]
Exec=udisksctl unmount -b %d
Icon=uninstall
Name=Just Unmount device [ADDDED]

[Desktop Entry]
Actions=open
Type=Service
X-KDE-Action-Custom=true
# This would be better, but doesn't work...
#X-KDE-Solid-Predicate=[[IS StorageVolume AND StorageVolume.ignored == false] AND StorageAccess.accessible == 'true']
X-KDE-Solid-Predicate=[IS StorageVolume AND StorageVolume.ignored == false]
========== NOT THIS LINE EITHER ==========

It will add a "just unmount" option on the Device Notifier section.

** Bug watch added: KDE Bug Tracking System #270808
   https://bugs.kde.org/show_bug.cgi?id=270808

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to dolphin in Ubuntu.
https://bugs.launchpad.net/bugs/1827778

Title:
  Can no longer Unmount a removable drive - only Remove it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/1827778/+subscriptions




More information about the kubuntu-bugs mailing list