https://bugs.kde.org/show_bug.cgi?id=270808
Rooty <zy...@gmx.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zy...@gmx.us --- Comment #64 from Rooty <zy...@gmx.us> --- (In reply to Filip from comment #63) > I did not have success with the .desktop file that was attached in this > thread, but I did with this other one found on Reddit so I'm copy pasting it: > > "I think I've found a workaround (at least for me). Create a file called > poweroff.desktop at ~/.local/share/solid/actions/ with the following content: > > [Desktop Action open] > Exec=solid-hardware unmount %i && udisksctl power-off -b %d > Icon=kt-stop > Name=Power off device > > [Desktop Entry] > Actions=open; > Type=Service > X-KDE-Action-Custom=true > X-KDE-Solid-Predicate=[ IS StorageVolume AND StorageVolume.ignored == false ] > > Then log out and in again. The file creates a new entry for the device > notifier in the control panel to power off the device. The command first > unmounts the drive and then powers it off. In contrast to OP's experience my > external HDD stays off and doesn't restart again." - by a user who's now > deleted his post or even account i had to modify this a little bit to make it work with the latest edition of plasma: [Desktop Action open] Exec=udisksctl unmount -b %d; udisksctl power-off -b %d Icon=kt-stop Name=Power off device [Desktop Entry] Actions=open; Type=Service X-KDE-Action-Custom=true X-KDE-Solid-Predicate=[ IS StorageVolume AND StorageVolume.ignored == false (changed solid-hardware unmount to udisksctl unmount) -- You are receiving this mail because: You are watching all bug changes.