user18130814200115
user18130814200115

Reputation: 78

using groff inside of a flatpak container

I am trying to call the program groff from inside a gedit flatpak (external tools plugin). The flatpak can access the groff binary, but groff looks for files at /usr/share/groff, while in flatpak, this path is mapped to /var/run/host/usr/share/groff. What is the proper way of accessing a binary like this? Or rather the datadir of a binary like this?

Upvotes: 0

Views: 84

Answers (1)

Ljm Dullaart
Ljm Dullaart

Reputation: 4969

Probably the best way is to set environment variables

export GROFF_TMAC_PATH=/var/run/host/usr/share/groff/site.tmac
export GROFF_FONT_PATH=/var/run/host/usr/share/groff/site-font

Upvotes: 1

Related Questions