For org-protocol,
https://orgmode.org/worg/org-contrib/org-protocol.html
,
I’m supposed to make this desktop file
[Desktop Entry]
Name=org-protocol
Comment=Intercept calls from emacsclient to trigger custom actions
Categories=Other;
Keywords=org-protocol;
Icon=emacs
Type=Application
Exec=emacsclient -- %u
Terminal=false
StartupWMClass=Emacs
MimeType=x-scheme-handler/org-protocol;
I’ve gotten this far:
let
orgDesktopItem = pkgs.makeDesktopItem {
name = "org-protocol";
desktopName = "Org Protocol";
exec = "emacsclient -- %u";
terminal = "false";
mimetype="x-scheme-handler/org-protocol";
};
in
Here it complains about mimetype. Where can I see the specification for makeDesktopItem to see what its properties are?
Also, where are these files ending up?