You are not logged in.
I was writing up this post to ask for help when I solved the issue but figured someone else might benefit as most of the resources I found online while trying to chase this problem down were many years old.
I am running Plasma 5 and the issue I was getting was that some of my x-scheme-handlers weren't working correctly and I was getting a rather cryptic error message that really wasn't much help. The error dialog was titled "Error - KIOExec" and the contained error message was "Unable to create io-slave. klauncher said: Unknown protocol 'zoommtg'."
In order to narrow things down and eliminate a specific browser as an issue, I started running `xdg-open zoommtg://test` and I got a bit more info. The specific output from that was (with my home dir replaced with `${HOME}`):
$ xdg-open zoommtg://test
command= "zoom %U" args= ("zoom %U", "zoommtg://test")
kf.kio.core: Protocol Class of url QUrl("zoommtg://test") , isn't ':local', cancelling job.
Copying QUrl("zoommtg://test") to QUrl("file://${HOME}/.cache/kioexec/krun/83517_0/unnamed")
kf.kio.core: couldn't create slave: "klauncher said: Unknown protocol 'zoommtg'.\n"
# At this point, the dialog I mentioned earlier that was spawned from my web browser was also opened here. After clicking "OK" there, then the following spew happens.
All files downloaded, will call slotRunApp shortly
No files downloaded -> exiting
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1385, resource id: 14912662, major code: 40 (TranslateCoords), minor code: 0I went digging for the specification of the zoommtg handler and found it in the system wide Zoom.desktop file:
$ grep zoommtg /usr/share/applications/Zoom.desktop
MimeType=x-scheme-handler/zoommtg;x-scheme-handler/zoomus;x-scheme-handler/tel;x-scheme-handler/callto;x-scheme-handler/zoomphonecall;application/x-zoom
X-KDE-Protocols=zoommtg;zoomus;tel;callto;zoomphonecall;That looked to me like it gave all the information that was necessary and running `sudo update-desktop-database` had no effect. However, I happened to come across a post on Reddit that talked about the .desktop files in ~/.local/share/applications. So I went and had a look, and sure enough there was a Zoom.desktop file there without the proper 'MimeType=x-scheme-handler/zoommtg' directive in it.
It turns out I had been messing with firejail and `firecfg` had generated that file. So, updating it with the appropriate 'MimeType=' line pulled from /usr/share/applications/Zoom.desktop and a `sudo update-desktop-database` and the problem is gone!
I'm not sure how the incorrect file was generated because I removed ~/.local/share/applications/Zoom.desktop and re-ran `firecfg --fix` and the resulting Zoom.desktop has the appropriate x-scheme handlers but at least the problem's fixed now.
Offline
You were indeed correct, somenone did benefit and that someone was me. Thanks a ton!
Offline
I've been a victim too. It may have had something to do with the fact that I copied a full /home/{HOMEDIR} from an old (headless) machine to this one, but I found TWO versions of Zoom.desktop - one in /usr/share/applications/ and another in /home/{HOMEDIR}/.local/share/applications/
Seems the Zoom installer prefers the .local one over the system one.
For me, the local version was MISSING the "MimeType=" line that the systemwide one had. This was the only functional difference between the two versions.
I added the MimeType= to the .local file and everything magically started to work. Thank you both!
Offline