Skip to content

support firefox in flatpak

Harald Sitter requested to merge work/sitter/flatpak into master

this crafts integration for a sandboxed firefox.

the way this works is fairly simple: a new kded module first lets the flatpaked firefox talk to the module over dbus. it further places native-messaging-host definitions in the well known flatpaked location so firefox can find it. as executable it encodes a tiny wrapper. the tiny wrapper sends stdin,out,err over bus to the host side kded module and that then proxies between the actual host binary and the sandboxed firefox.

i.e. instead of having firefox <=> PBI we have firefox (sandbox) <=> host-wrapper (sandbox) <=> kdedmodule (host) <=> PBI (host)

Merge request reports

Loading