summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-05 18:43:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-05 18:43:25 +0200
commit28a03248b1d1649e157b788e43dfe8326f165379 (patch)
tree685d747ac36846f53ce5ed601db2087078068790 /sd
parent9fee132c18b658c9ea9fb1114c1fefa56b57532a (diff)
Workaround to call /app/bin/xdg-open when run under flatpak
LibreOffice wants to open URLs by calling /usr/bin/xdg-open, which the flatpak org.gnome.Platform runtime does not provide. However, <https://github.com/flatpak/xdg-desktop-portal> will provide a Desktop portal through which an application can make an OpenURI request. So the idea is to include a fake xdg-open application in the LO flatpak, that will use gdbus to call that portal. However, I see no way to make the LO flatpak provide that as /usr/bin/xdg-open, so instead provide it as /app/bin/xdg-open and hack LO to use that path when run under flatpak (where the LIBO_FLATPAK environment variable is already used for the OfficeIPCThread). Change-Id: I63bc0bfb937ef767958ba4d34b0c3653e38ec868
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions