> On Jun 27, 2025, at 7:56 AM, Max Nikulin <maniku...@gmail.com> wrote:
> 
> I have not experimented with flatpak/snap, but sandboxed applications on 
> Linux do not have access to emacsclient and Emacs socket (at least by 
> default) as well, so it is more general limitation. I hope, XDG desktop 
> portal allows to dispatch URL having custom scheme. I would consider moving 
> discussion of emacsclient vs. system URL handler to the parent section 
> (before web browser bookmarklets).
> 
> P.S. Has anybody tried org-protocol with Emacs installed as flatpak?


Interesting. I can imagine how sandboxed applications on both Linux and Windows 
(UWP) would have restrictions on accessing emacsclient and an Unix local domain 
socket, but I do not know how to test this. I would be reluctant to make this 
claim on the Worg org-protocol.org page without some vetting.

I do have a snap install of Emacs 30.1 on Ubuntu 22.04.5 LTS. After installing 
the org-protocol.desktop file as instructed in the Worg org-protocol.org page, 
I am able to have Org protocol working. A test case was using the Gnome 
Contacts app, where I created an entry whose website field was populated with 
an Org protocol store-link URL. Clicking on the open URL button in the Gnome 
Contacts app successfully stored a Org link in Emacs.


Charles


—
Charles Y. Choi, Ph.D.
kickingve...@gmail.com



Reply via email to