From 266cfb6cfe804cf3db2fb803409f08de8711e0af Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Fri, 8 Jan 2021 22:03:41 +0100 Subject: Add new profile for marker --- README.md | 2 +- RELNOTES | 1 + etc/inc/disable-programs.inc | 1 + etc/profile-m-z/marker.profile | 59 ++++++++++++++++++++++++++++++++++++++++++ src/firecfg/firecfg.config | 1 + 5 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 etc/profile-m-z/marker.profile diff --git a/README.md b/README.md index 4b7fecd61..ff578196f 100644 --- a/README.md +++ b/README.md @@ -195,4 +195,4 @@ Stats: ### New profiles: -spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm +spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker diff --git a/RELNOTES b/RELNOTES index a5f25c181..705ef8500 100644 --- a/RELNOTES +++ b/RELNOTES @@ -7,6 +7,7 @@ firejail (0.9.65) baseline; urgency=low * new profiles: spectacle, chromium-browser-privacy, gtk-straw-viewer * new profiles: gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer * new profiles: straw-viewer, lutris, dolphin-emu, authenticator-rs, servo + * new profiles: npm, marker -- netblue30 Wed, 21 Oct 2020 09:00:00 -0500 diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 2112c9b4f..e3fa10ed0 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -952,6 +952,7 @@ blacklist ${HOME}/.cache/librewolf blacklist ${HOME}/.cache/liferea blacklist ${HOME}/.cache/lutris blacklist ${HOME}/.cache/Mendeley Ltd. +blacklist ${HOME}/.cache/marker blacklist ${HOME}/.cache/matrix-mirage blacklist ${HOME}/.cache/microsoft-edge-dev blacklist ${HOME}/.cache/midori diff --git a/etc/profile-m-z/marker.profile b/etc/profile-m-z/marker.profile new file mode 100644 index 000000000..55865fe72 --- /dev/null +++ b/etc/profile-m-z/marker.profile @@ -0,0 +1,59 @@ +# Firejail profile for marker +# Description: Marker is a markdown editor for Linux made with Gtk+-3.0 +# This file is overwritten after every install/update +# Persistent local customizations +include marker.local +# Persistent global definitions +include globals.local + +# Uncomment (or add to your marker.local) if you need internet access. +#ignore net none +#protocol unix,inet,inet6 +#private-etc ca-certificates,ssl,pki,crypto-policies,nsswitch.conf,resolv.conf + +noblacklist ${HOME}/.cache/marker + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-shell.inc +include disable-xdg.inc + +whitelist /usr/share/com.github.fabiocolacio.marker +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +machine-id +net none +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +seccomp.block-secondary +shell none +tracelog + +private-bin marker +private-cache +private-dev +private-etc alternatives,dconfgtk-3.0,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,pango,X11 +private-tmp + +dbus-user filter +dbus-user.own com.github.fabiocolacio.marker +dbus-user.talk ca.desrt.dconf +dbus-system none diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 70089091c..3ebf6fca9 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -455,6 +455,7 @@ macrofusion magicor # man manaplus +marker masterpdfeditor masterpdfeditor4 masterpdfeditor5 -- cgit v1.2.3-70-g09d2