[Libreoffice-bugs] [Bug 108591] xdg-open path is hardcoded

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 8 03:33:51 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=108591

--- Comment #9 from David H. Gutteridge <dhgutteridge at hotmail.com> ---
I can offer the perspective of someone involved with downstream packaging (for
NetBSD and others). One of our users hit this issue on NetBSD. BSDs as a rule
don't install most third-party software to /usr/bin, they isolate it elsewhere
by policy (with NetBSD, the default being /usr/pkg/bin, with most other BSDs,
it's /usr/local/bin). So patches like these are welcomed.

There is of course a risk with simply looking for xdg-open. Sometimes, what we
do in this case is substitute our own (user-configurable at build time) paths
over whatever the upstream software expects. I don't know if you want to deal
with that additional complexity at your end. You're making a reasonable effort
to find something appropriate already.

I'd be inclined to prefer xdg-open over kde-open, as xdg-open is intended to be
a standard/cross-desktop tool, and so I'd expect either it would be more
commonly available by default (not with us, but with mainstream Linux distros),
and probably a less complex external dependency. (That said, I don't know if
the KDE version offers some advantage I don't know about.)

Thanks,

Dave

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210408/df0d0c19/attachment.htm>


More information about the Libreoffice-bugs mailing list