On 31/05/2025 08:09, Charles Choi wrote:
-*** GNU/Linux setup

+***** GNU/Linux and Unix variants

Do UNIX variants support XDG desktop entries and MIME handlers?

+Emacs 30.1+ now has ~emacsclient.desktop~ configured to handle Org Protocol 
URL requests. For users with older versions of Emacs, refer to [[*Legacy Scheme 
Handler Install][Legacy Scheme Handler Install]].

Unfortunately it is not true. It is supposed to work since 29.2, but actually it works only in no-DE variant with not really new xdg-open (OK, I have not tried GNOME, but I hope it is broken there as well).

The reason is %F (file) substitution in emacsclient.desktop. It must be %U for URLs.

So users have to create and install their own .desktop files.

Discussion in
<https://debbugs.gnu.org/74467>
"31.0.50; org-protocol emacsclient.desktop change is not fully functional"
is not looking encouraging.

Reply via email to