Version: unspecified (using KDE 4.4.5) OS: Linux When I plug in a usb drive or flash drive, the device notifier offers me two options - open with file manager and download photos with gwenview. I never want the second option and want to delete it - so it just opens with dolphin without an extra step. System Settings will not allow that action to be deleted - either for my user or for all users. To me, this is a deficiency if not a bug. Most of my external drives don't even have any photos on them. This issue is new with kubuntu lucid. It was not present in karmic or earlier. Reproducible: Always Steps to Reproduce: Just plug in any usb HDD or flash drive and hover over it's entry in the device notifier pop up. Actual Results: Device Notifier show two options Download Photos with gwenview Open with File manager Expected Results: Expected just the file manager option to appear. Or, even better, an option (or direct action) just to mount the drive. Some people probably like it the way it is. But, I should be able to configure it to work without the gwenview option. It would be really cool to have an option (again configurable) that would just mount the device and do nothing else. Usually, I already have dolphin open on another desktop or window. Or, I just want to start kphotoalbum or amarok which I have configured to use data on the external drive, so all I need is for the drive to be mounted before I invoke them.
There should be a way to hide unwanted options solid actions on a per user basis, similar to the K-menu.
As a work-around, I found (with help) that I could delete the gwenview entry from /usr/share/kde4/apps/solid/actions That worked for quite awhile, but it just came back "by itself" and I had to do it again. While this works, it is *not* a solution because: 1) It came back 2) I had to have sudo permission to do it and enough experience to be willing to alter things at the system level - i.e. not a typical end user. 3) It would have affected all users on my system if there had been any others besides me
This bug is still present as of today. I'm using fully updated Chakra Linux with KDE 4.9.2.
I have since noticed that clicking on the tiny icon on the right end of the notifier entry for the device does just mount the device without doing anything else. I still would like to be able to remove the gwenview option through the configuration menus.
*** Bug 314569 has been marked as a duplicate of this bug. ***
This bug is still present as of today, at least in KDE4 branch. Gwenview's shortcut is a very annoying thing.
Still present in KDE 4.14.2
Isn't 5 years enough time to at least get a response from the KDE developers on this issue? I have used KDE forever (decades), but I don't usually recommend it to others because I usually don't feel that anyone is even listening to me when I have an issue or a request. I have long since realized that the way I do things and what I like is is somewhat unique to me and I don't expect others to agree with my views, but I do expect to be met with more than a wall of silence.
Joe, Sorry for your frustration. The silence usually means this issue is considered as low priority. It is just wishlist. There are lots more severe bugs and crash popup while KDE development team is always small. After above excuse, I myself do not have enough time to add configuration for this wishlist for now. But I will come back later if I do have time.
Meanwhile - A workaround to disable unwanted solid/device actions The KDE is checking the users home directory and using the desktop files from the home before using the system desktop files. At this the /usr/share/solid/actions/ directory has a solid-action.desktop file. 1) Locate solid/actions directory $ locate solid/actions 2) Make a solid/actions directory to home directory $ mkdir -p ~/.local/share/solid/actions/ 3) Make an empty desktop file to the home solid/actions touch ~/.local/share/solid/actions/solid-action.desktop
This wish/bug report has filed against the kcm_deviceautomounter and assigned to Torrie Fischer. I think that an alternative (better ?) would be the kcm_solid-actions (solid device actions configuration module / solid device actions editor) current maintainer seems to the Ben Cooksley. Maintainer information is from KDE System Settings > Device Actions > Help > About solid device actions editor; command: kcmshell5 solid-actions.
Created attachment 97953 [details] Research on where solid stuff is on my system
(In reply to Rog131 from comment #10) > Meanwhile - A workaround to disable unwanted solid/device actions > > The KDE is checking the users home directory and using the desktop files > from the home before using the system desktop files. > > At this the /usr/share/solid/actions/ directory has a solid-action.desktop > file. > > 1) Locate solid/actions directory > $ locate solid/actions > > 2) Make a solid/actions directory to home directory > $ mkdir -p ~/.local/share/solid/actions/ > > 3) Make an empty desktop file to the home solid/actions > touch ~/.local/share/solid/actions/solid-action.desktop Tried that. No effect, but it sent me down a rabbit hole where I found a bunch of stuff that almost made sense, but not enough to act on. It was too long to paste so I added it as an attachment.
Created attachment 97954 [details] Where solid stuff is on my system (corrected)
(In reply to Joe from comment #12) > Created attachment 97953 [details] > Research on where solid stuff is on my system Got garbage in this somehow. Don't know how to delete it. Next one is good. Sorry.
With the KDE4 - Desktop: KDE 4.14.2 Distro: Debian 8.3 jessie When plug-in a usb stick there are options to - Download Photo with Gwenview - Open with File Manager Image: http://i.imgur.com/KAFtkD6.png 1) Solid actions are at: $ locate solid/actions /usr/share/kde4/apps/solid/actions 2) Prefix in $HOME used to write files is: $ kde4-config --localprefix /home/rog131/.kde/ => Path to solid actions at home: /home/rog131/.kde/share/apps/solid/actions 3) Making solid/actions directory to home directory $ mkdir -p ~/.kde/share/apps/solid/actions Alternative is to use the Device Actions Editor and make a test/new /Add) action. It will create a correct path. 4) Making an empty desktop file to the home solid/actions touch ~/.kde/share/apps/solid/actions/gwenview_importer.desktop Testing - When plug-in a usb stick there are options to: - Open with File Manager Image: http://i.imgur.com/pyWl0eq.png
Sorry for the inconvenience - Trying again with the KF5 With the KF5 - Desktop: KDE Plasma 5.5.5 Distro: Arch Linux When dropping a CD to the player there are options to - Open with the VLC - Open with the QMPlay2 - Open With File Manager Image: http://i.imgur.com/3otOD2m.png 1) Solid actions are at: $ locate solid/actions /usr/share/apps/solid/actions 2) The KDE (KF5) is following XDG Base Directory Specification: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html '$XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.' At here the local solid actions are at: /home/rog131/.local/share/solid/actions Alternative is to use the Device Actions Editor and make a test/new (Add) action. It will create the correct path. Making solid/actions directory to home directory $ mkdir -p ~/.local/share/solid/actions 3) Making an empty desktop file to the home solid/actions $ touch ~/.local/share/solid/actions/vlc-opencda.desktop Testing - When dropping a CD to the player there are options to - Open with the QMPlay2 - Open With File Manager Image: http://i.imgur.com/e43h7k6.png
@Rog131 - Thanks a lot! It finally works! Also great that you included the KDE 5 solution as I will be upgrading soon. I'm posting about this on the KPhotoAlbum list. People on other photo apps will probably appreciate this as well. The nice thing about this solution is that it's done in the user directory where it should not be affected by upgrades, etc. - at least until KDE 6 or whatever else big comes along.