SUMMARY I registered a my application as a handler for the matrix: scheme, see here: https://github.com/Nheko-Reborn/nheko/blob/f47bedff23400e3b0788891f0ab0257dfc03a447/resources/nheko.desktop#L11 When installed globally, xdg-open works if I set the desktop platform to generic like this: XDG_CURRENT_DESKTOP="X-Generic" xdg-open 'matrix:user/test:neko.dev?action=chat' But if I use the default or kde-open5, it fails to open my application and complains about matrix: being an unknown protocol. It seems to know about my application though. STEPS TO REPRODUCE 1. Install Nheko 0.8.0 2. xdg-open a matrix URI, like matrix:user/test:neko.dev?action=chat 3. Watch it not open Nheko but instead open an error message box. OBSERVED RESULT # LANG=C kde-open5 --interactive matrix:user/asdfhajsdf command= "nheko" args= ("nheko", "matrix:user/asdfhajsdf") kf.kio.core: Protocol Class of url QUrl("matrix:user/asdfhajsdf") , isn't ':local', cancelling job. Copying QUrl("matrix:user/asdfhajsdf") to QUrl("file:///home/nicolas/.cache/kioexec/krun/18898_0/asdfhajsdf") kf.kio.core: couldn't create slave: "klauncher said: Unbekanntes Protokoll ?matrix?.\n" All files downloaded, will call slotRunApp shortly No files downloaded -> exiting EXPECTED RESULT It opens Nheko. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.20.4 (available in About System) KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION (No idea, if this is the right component)
Is this still happening? kde-open 'matrix:user/test:neko.dev?action=chat' works fine for me on current Plasma master Same when running it via portal
May be related to https://bugs.kde.org/show_bug.cgi?id=440062 (which I can reproduce)
See also https://invent.kde.org/frameworks/kio/-/merge_requests/719
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!