| 1 |
# Firejail profile for lyx |
| 2 |
# Description: Open source document processor based on LaTeX typsetting |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include lyx.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
ignore private-tmp |
| 10 |
|
| 11 |
noblacklist ${HOME}/.config/LyX |
| 12 |
noblacklist ${HOME}/.lyx |
| 13 |
|
| 14 |
# Allow lua (blacklisted by disable-interpreters.inc) |
| 15 |
include allow-lua.inc |
| 16 |
|
| 17 |
# Allow perl (blacklisted by disable-interpreters.inc) |
| 18 |
include allow-perl.inc |
| 19 |
|
| 20 |
# Allow python (blacklisted by disable-interpreters.inc) |
| 21 |
include allow-python2.inc |
| 22 |
include allow-python3.inc |
| 23 |
|
| 24 |
whitelist /usr/share/lyx |
| 25 |
whitelist /usr/share/texinfo |
| 26 |
whitelist /usr/share/texmf-dist |
| 27 |
whitelist /usr/share/tlpkg |
| 28 |
include whitelist-usr-share-common.inc |
| 29 |
|
| 30 |
apparmor |
| 31 |
machine-id |
| 32 |
|
| 33 |
#private-bin atril,dvilualatex,env,latex,lua*,luatex,lyx,lyxclient,okular,pdf2latex,pdflatex,pdftex,perl*,python*,qpdf,qpdfview,sh,tex2lyx,texmf,xelatex |
| 34 |
private-etc @x11,lyx,mime.types,texmf |
| 35 |
|
| 36 |
# Redirect |
| 37 |
include latex-common.profile |