-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New profiles for alacarte,tootle,photoflare (#3816)
* New profiles for alacarte,tootle,photoflare * Fix dbus Co-authored-by: kortewegdevries <kortewegdevries@protonmail.ch>
- Loading branch information
Showing
5 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Firejail profile for alacarte | ||
# Description: Create desktop and menu launchers easily | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include alacarte.local | ||
# Persistent global definitions | ||
include globals.local | ||
|
||
include allow-python2.inc | ||
include allow-python3.inc | ||
|
||
include disable-common.inc | ||
include disable-devel.inc | ||
include disable-exec.inc | ||
include disable-interpreters.inc | ||
include disable-programs.inc | ||
include disable-passwdmgr.inc | ||
include disable-xdg.inc | ||
|
||
# Whitelist your system icon directory,varies by distro | ||
whitelist /usr/share/alacarte | ||
whitelist /usr/share/app-info | ||
whitelist /usr/share/desktop-directories | ||
whitelist /usr/share/icons | ||
whitelist /var/lib/app-info/icons | ||
whitelist /var/lib/flatpak/exports/share/applications | ||
whitelist /var/lib/flatpak/exports/share/icons | ||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
machine-id | ||
net none | ||
nodvd | ||
no3d | ||
nogroups | ||
nonewprivs | ||
noroot | ||
nosound | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix | ||
seccomp | ||
seccomp.block-secondary | ||
shell none | ||
tracelog | ||
|
||
disable-mnt | ||
private-bin alacarte,bash,python*,sh | ||
private-cache | ||
private-dev | ||
private-etc alternatives,dconf,fonts,gtk-3.0,locale.alias,locale.conf,login.defs,mime.types,nsswitch.conf,passwd,pki,X11,xdg | ||
private-tmp | ||
|
||
dbus-user none | ||
dbus-system none | ||
|
||
read-write ${HOME}/.config/menus | ||
read-write ${HOME}/.gnome/apps | ||
read-write ${HOME}/.local/share/applications | ||
read-write ${HOME}/.local/share/flatpak/exports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Firejail profile for com.github.bleakgrey.tootle | ||
# Description: Gtk Mastodon client | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include com.github.bleakgrey.tootle.local | ||
# Persistent global definitions | ||
include globals.local | ||
|
||
noblacklist ${HOME}/.config/com.github.bleakgrey.tootle | ||
|
||
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 | ||
|
||
mkdir ${HOME}/.config/com.github.bleakgrey.tootle | ||
whitelist ${DOWNLOADS} | ||
whitelist ${HOME}/.config/com.github.bleakgrey.tootle | ||
include whitelist-common.inc | ||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
machine-id | ||
netfilter | ||
nodvd | ||
nogroups | ||
nonewprivs | ||
noroot | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix,inet,inet6 | ||
seccomp | ||
shell none | ||
tracelog | ||
|
||
disable-mnt | ||
private-bin com.github.bleakgrey.tootle | ||
private-cache | ||
private-dev | ||
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,machine-id mime.types,nsswitch.conf,pki,pulse,resolv.conf,ssl,X11,xdg | ||
private-tmp | ||
|
||
# Settings are immutable | ||
# dbus-user filter | ||
# dbus-user.own com.github.bleakgrey.tootle | ||
# dbus-user.talk ca.desrt.dconf | ||
dbus-system none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Firejail profile for photoflare | ||
# Description: Simple painting and editing program | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include photoflare.local | ||
# Persistent global definitions | ||
include photoflare.local | ||
|
||
noblacklist ${PICTURES} | ||
|
||
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 | ||
|
||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
machine-id | ||
net none | ||
nodvd | ||
no3d | ||
nogroups | ||
nonewprivs | ||
noroot | ||
nosound | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix | ||
seccomp | ||
shell none | ||
tracelog | ||
|
||
disable-mnt | ||
private-bin photoflare | ||
private-cache | ||
private-dev | ||
private-etc alternatives,fonts,locale,locale.alias,locale.conf,mime.types,X11 | ||
private-tmp | ||
|
||
dbus-user none | ||
dbus-system none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters