zap
zap copied to clipboard
Custom xdg-protocol integration.
I'm not sure if this non expected behavior has something to do with "zap" or is an issue of the AppImage I'm trying to install but either way ill describe the issue in case it can help improve zap or anyone else's experience.
-
Common description:
The AppImage I'm installing needs to register an xdg-protocol. "zap" does it correctly by addingMimeType=x-scheme-handler/pie;x-scheme-handler/pie;
to the .desktop file under ~/.local/share/applications. However the app won't use the protocol, in order to fix this issue I:- Remove the duplicated entry so the file remains like this:
MimeType=x-scheme-handler/pie;
. - Add the following line to "mimeapps.list" file:
[Default Applications] x-scheme-handler/pie=http-desktop.desktop
- Launch and use the application as expected.
- Remove the duplicated entry so the file remains like this:
-
Runtime environment information:
- OS: Arch Linux.
- ZAP Version: Zap version Build:v2.2.1.1.gb8ed330 1640723566.
- Expected behavior: "zap" Registers the xdg-protocol properly under the .desktop and mimeapps.list files.