This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Edit device actions

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS

Edit device actions

Tue Apr 08, 2014 9:15 am
Hello,

KDE 4.12.4 on Arch.

In the options of the "Geräteüberwachung" (the plasmoid that shows the devices and usually lives in the systray) there is a topic "Geräteaktionen" (device actions) of which none can be deleted. Honestly I'm not used to be told be free software that something cannot be done if it's not technically impossible... :-)

How can I delete that options?

EDIT: Should have queried a search engine before, there is an elderly bug report hanging around: https://bugs.kde.org/show_bug.cgi?id=276016

Best Regards....
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Edit device actions

Tue Apr 08, 2014 11:16 am
Horus wrote:In the options of the "Geräteüberwachung" (the plasmoid that shows the devices and usually lives in the systray) there is a topic "Geräteaktionen" (device actions) of which none can be deleted. Honestly I'm not used to be told be free software that something cannot be done if it's not technically impossible... :-)

How can I delete that options?

Well, it _is_ actually possible. ;)

Copy the corresponding .desktop file(s) from /usr/share/kde4/apps/solid/actions/ (that's on openSUSE, it may vary slightly on Arch) to ~/.kde(4)/share/apps/solid/actions/ (you might have to create that folder(s) first).
Then add a "Hidden=true" in the "[Desktop Entry]" section to hide them.
(*.desktop files in ~/.kde/share override the system-wide ones in /usr/share)
You could edit/delete the system-wide files as well of course, but they would likely get overwritten/recreated by updates.

You might have to logout/login and/or run "kbuildsycoca4" for the change to take effect though.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Edit device actions

Wed Apr 09, 2014 8:19 am
The Sycoca isn't used for these files - you will need to logout and back in again for the change to have any effect.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]