diff options
author | 2022-01-05 17:55:52 +0000 | |
---|---|---|
committer | 2022-01-05 17:55:52 +0000 | |
commit | 341f587a56f4a25c95d7eea45edc710289615972 (patch) | |
tree | ee5c2eee8cdbe56020aa54173e010fbb241b3658 /etc | |
parent | nettrace/netlock (diff) | |
parent | add notable to 'New profiles' section (diff) | |
download | firejail-341f587a56f4a25c95d7eea45edc710289615972.tar.gz firejail-341f587a56f4a25c95d7eea45edc710289615972.tar.zst firejail-341f587a56f4a25c95d7eea45edc710289615972.zip |
Merge pull request #4824 from glitsj16/notable
add notable profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/notable.profile | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 9226bb0f2..02407f54f 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -294,6 +294,7 @@ blacklist ${HOME}/.config/MusicBrainz | |||
294 | blacklist ${HOME}/.config/Nathan Osman | 294 | blacklist ${HOME}/.config/Nathan Osman |
295 | blacklist ${HOME}/.config/Nextcloud | 295 | blacklist ${HOME}/.config/Nextcloud |
296 | blacklist ${HOME}/.config/NitroShare | 296 | blacklist ${HOME}/.config/NitroShare |
297 | blacklist ${HOME}/.config/Notable | ||
297 | blacklist ${HOME}/.config/Nylas Mail | 298 | blacklist ${HOME}/.config/Nylas Mail |
298 | blacklist ${HOME}/.config/PBE | 299 | blacklist ${HOME}/.config/PBE |
299 | blacklist ${HOME}/.config/PacmanLogViewer | 300 | blacklist ${HOME}/.config/PacmanLogViewer |
@@ -1009,6 +1010,7 @@ blacklist ${HOME}/.newsboat | |||
1009 | blacklist ${HOME}/.newsrc | 1010 | blacklist ${HOME}/.newsrc |
1010 | blacklist ${HOME}/.nicotine | 1011 | blacklist ${HOME}/.nicotine |
1011 | blacklist ${HOME}/.node-gyp | 1012 | blacklist ${HOME}/.node-gyp |
1013 | blacklist ${HOME}/.notable | ||
1012 | blacklist ${HOME}/.npm | 1014 | blacklist ${HOME}/.npm |
1013 | blacklist ${HOME}/.npmrc | 1015 | blacklist ${HOME}/.npmrc |
1014 | blacklist ${HOME}/.nv | 1016 | blacklist ${HOME}/.nv |
diff --git a/etc/profile-m-z/notable.profile b/etc/profile-m-z/notable.profile new file mode 100644 index 000000000..7c790539d --- /dev/null +++ b/etc/profile-m-z/notable.profile | |||
@@ -0,0 +1,37 @@ | |||
1 | # Firejail profile for notable | ||
2 | # Description: The Markdown-based note-taking app that doesn't suck | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include notable.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Note: On debian-based distributions the binary might be located in | ||
10 | # /opt/Notable/notable, and therefore not be in PATH. | ||
11 | # If that's the case you can start Notable with firejail via | ||
12 | # `firejail "/opt/Notable/notable"`. | ||
13 | |||
14 | noblacklist ${HOME}/.config/Notable | ||
15 | noblacklist ${HOME}/.notable | ||
16 | |||
17 | net none | ||
18 | nosound | ||
19 | |||
20 | ?HAS_APPIMAGE: ignore private-dev | ||
21 | private-opt Notable | ||
22 | |||
23 | dbus-user filter | ||
24 | dbus-user.talk ca.desrt.dconf | ||
25 | ignore dbus-user none | ||
26 | |||
27 | # Notable keeps claiming it is started for the first time when whitelisting - see #4812. | ||
28 | ignore whitelist ${DOWNLOADS} | ||
29 | ignore whitelist ${HOME}/.config/Electron | ||
30 | ignore whitelist ${HOME}/.config/electron-flag*.conf | ||
31 | ignore include whitelist-common.inc | ||
32 | ignore include whitelist-runuser-common.inc | ||
33 | ignore include whitelist-usr-share-common.inc | ||
34 | ignore include whitelist-var-common.inc | ||
35 | |||
36 | # Redirect | ||
37 | include electron.profile | ||