> From: Max Nikulin <[email protected]>
> Date: Mon, 30 Jun 2025 17:51:36 +0700
> [... 16 lines elided]
> I hope, the following workaround does not override associations for
> other file types. Even if I made a mistake, I think, you will be able
> to adjust the recipe.
>
> (with-eval-after-load 'org
> (push '(t . "xdg-open %s 1>/dev/null 2>&1") org-file-apps))
Thank you for looking into this. This workaround doesn’t work as
expected. Emacs tries to open the file prompting “File
big_buck_bunny.webm is large (92 MiB), really open? (yes, no,
literally, ?): ”
However, this workaround works as expected.
(setopt org-file-apps-gnu '((remote . emacs)
(system . "xdg-open %s 1>/dev/null 2>&1")
(t . "xdg-open %s 1>/dev/null 2>&1")))
--
Regards,
Anush Veeranala