Added lyx profile (#3556)

* Added lyx profile

Initial

* Rmoved whitelists

Make home directory more accessible
This commit is contained in:
kortewegdevries 2020-07-31 02:10:18 +05:30 committed by GitHub
parent e491d1f88d
commit cc7654ff9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -102,6 +102,7 @@ blacklist ${HOME}/.config/Jitsi Meet
blacklist ${HOME}/.config/Kid3
blacklist ${HOME}/.config/Kingsoft
blacklist ${HOME}/.config/Luminance
blacklist ${HOME}/.config/LyX
blacklist ${HOME}/.config/Mattermost
blacklist ${HOME}/.config/Meltytech
blacklist ${HOME}/.config/Mendeley Ltd.
@ -683,6 +684,7 @@ blacklist ${HOME}/.local/share/xplayer
blacklist ${HOME}/.local/share/xreader
blacklist ${HOME}/.local/share/zathura
blacklist ${HOME}/.lv2
blacklist ${HOME}/.lyx
blacklist ${HOME}/.magicor
blacklist ${HOME}/.masterpdfeditor
blacklist ${HOME}/.mbwarband

View file

@ -0,0 +1,33 @@
# Firejail profile for lyx
# Description: Open source document processor based on LaTeX typsetting
# This file is overwritten after every install/update
# Persistent local customizations
include lyx.local
# Persistent global definitions
include globals.local
ignore private-tmp
noblacklist ${HOME}/.config/LyX
noblacklist ${HOME}/.lyx
include allow-lua.inc
include allow-perl.inc
include allow-python2.inc
include allow-python3.inc
whitelist /usr/share/lyx
whitelist /usr/share/texinfo
whitelist /usr/share/texlive
whitelist /usr/share/texmf-dist
whitelist /usr/share/tlpkg
include whitelist-usr-share-common.inc
apparmor
machine-id
# private-bin atril,dvilualatex,env,latex,lua*,luatex,lyx,lyxclient,okular,pdf2latex,pdflatex,pdftex,perl*,python*,qpdf,qpdfview,sh,tex2lyx,texmf,xelatex
private-etc alternatives,dconf,fonts,gtk-2.0,gtk-3.0,locale,locale.alias,locale.conf,lyx,mime.types,passwd,texmf,X11,xdg
# Redirect
include latex-common.profile

View file

@ -429,6 +429,7 @@ luminance-hdr
lximage-qt
lxmusic
lynx
lyx
macrofusion
magicor
manaplus