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

Krusader vs. DBUS

Tags: None
(comma "," separated)
geewilliam
Registered Member
Posts
26
Karma
0
OS

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
26
Karma
0
OS

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
26
Karma
0
OS

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
6071
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


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
geewilliam
Registered Member
Posts
26
Karma
0
OS

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


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]