Reply to topic

Krusader vs. DBUS

geewilliam
Registered Member
Posts
7
Karma
0

Krusader vs. DBUS

Mon Dec 28, 2020 1:33 pm
Hello everyone -

Environment - Fedora 33 and KDE/Plasma desktop.

I am working on a problem that has recently become annoying enough to make me want to research it.

Short version - How do I make DBUS launch Krusader as FileManager1? Currently it launches Nautilus.

Symptoms: This problem can be reproduced at least three ways. Probably any application that has "Open Containing Folder" will fail the same way.

1) In Firefox, download a file. Then click on the arrow icon that lists downloaded files. Right-click on the file and choose "Open Containing Folder". I get Dolphin, when I want Krusader. I have found a work-around for Firefox. The workaround is to add browser.open.dbus.enable=false to the about:config settings. I suspect this setting makes Firefox use the xdg-mime setting instead of DBUS.

2) In Gwenview, from the thumbnail browser right-click on any thumbnail and then choose "Open Containing Folder".

3) In Okular, open a document. Pull down the File menu and choose "Open Containing Folder".

I found a file /usr/share/dbus-1/services/org.freedesktop.FileManager1.service. It contains only three lines:

Code: Select all
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/nautilus --gapplication-service


I changed the Exec line to point to Krusader, and it sort of works. Krusader does get launched. However, it takes 15 to 20 seconds during which time the entire user interface is locked up. It also causes Gwenview to crash hard, triggering an ABRT alert.

Two more notes - I have gone to System Settings and changed the default file manager to Krusader. It does not change this behavior. I also checked xdg-mime and verified that the handler for inode/directory is Krusader.

I suspect that the Gwenview crash happens because Krusader is not able to handle being launched from DBUS. Is that true? If so, where can I put in a feature request?

Also, changing the DBUS file in /usr/share/dbus-1/services means the setting is global for all users. It would be nice to make the setting on a per-user basis. Is that possible?

Thanks - Bill Gee
geewilliam
Registered Member
Posts
7
Karma
0

Re: Krusader vs. DBUS

Sat Jan 02, 2021 12:37 pm
Anyone? Have I stumped the experts? Surely someone here knows something about DBUS and Krusader.

Bill Gee
geewilliam
Registered Member
Posts
7
Karma
0

Re: Krusader vs. DBUS

Mon Jan 18, 2021 12:17 pm
No replies, no answers, not even a suggestion where to look. Apparently DBUS and Krusader are abandonware.

Bill Gee
User avatar Mamarok
Manager
Posts
5288
Karma
16
OS

Re: Krusader vs. DBUS

Mon Jan 18, 2021 6:07 pm
... or maybe nobody is around who knows the answer. I think you are a mistaking this forum to be a place where you get every answer from developers: many developers are not even using the forum, they are busy developing.

User support is done by volunteers, and not every volunteer knows everything, I for one have no idea about Krusader, haven't used it in years.

If you want to get in touch with the Krusader people, you might be better off asking your question on the krusader-users mailing list: https://krusader.org/get-involved/maili ... index.html


Currently running Kubuntu 20.10, Plasma 5.19.5, Frameworks 5.74.0, Qt 5.14.2, kernel 5.8.0-38, AMD RENOiR Graphics
FWIW: it is always useful to state the exact Plasma version and distribution when asking questions, makes it easier for us to help ...
geewilliam
Registered Member
Posts
7
Karma
0

Re: Krusader vs. DBUS

Tue Jan 19, 2021 12:23 pm
Hmmm.... It seems to me if developers are busy developing, then they are not answering questions on ANY forum. Also, I don't think my question needs a developer to answer. It only needs someone who knows more about DBUS and Krusader than me - which is a low bar to set!

I looked at posting a question on the Krusader email list. That list is hosted on Google Groups, which is a system I refuse to have any part of. Google is, in my mind, the very incarnation of that "great sucking sound". Ross Perot did not have high tech in mind when he coined the phrase, but I think it is apropos.

Yeah, it might slow things down a bit. I think, though, that there must be experts elsewhere. Since Krusader is a KDE application, this forum seems a logical place to start.

For what it is worth, I asked this same question on the DBUS forum. So far I have had less response there than here.

Bill Gee

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], gogor, Google [Bot], Sogou [Bot]