Re: $XDG_OPEN (Re: New `MimeType` fields in .desktop)
Stefan Blachmann <[email protected]> Sat, 8 May 2021 21:39:23 +0200
| Newsgroups | gmane.linux.xdg.devel |
|---|---|
| Message-ID | <CACc-My3cm-vzSc1zqJs66gZ3UBmVWfOXuB7jTY-N95R_ZtNOTQ@mail.gmail.com> |
Good suggestion! Will do that! On 5/8/21, David Faure <[email protected]> wrote: > On mercredi 5 mai 2021 19:16:34 CEST Stefan Blachmann wrote: >> I have looked at the xdg-open script. >> >> I'd like best if I could just set an environment variable XDG_OPEN to >> another program. >> So xdg-open just passes through to my script. > > This makes sense. In theory all implementations called by xdg-open implement > > the same spec, but not the "desktop-specific fallbacks". So it makes > sense to redirect to your own implementation in other desktop environments. > >> So I kindly ask, could there be added such an environment variable >> XDG_OPEN specifying an alternative handler, to allow non-mainstream >> DE/WMs handle the open dialog themselves? > > Make a merge request for https://gitlab.freedesktop.org/xdg/xdg-utils/ > > -- > David Faure, [email protected], http://www.davidfaure.fr > Working on KDE Frameworks 5 > > > >