diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2022-01-05 17:55:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 17:55:52 +0000 |
commit | 341f587a56f4a25c95d7eea45edc710289615972 (patch) | |
tree | ee5c2eee8cdbe56020aa54173e010fbb241b3658 | |
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
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/notable.profile | 37 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
4 files changed, 41 insertions, 1 deletions
@@ -353,4 +353,4 @@ Stats: | |||
353 | ### New profiles: | 353 | ### New profiles: |
354 | 354 | ||
355 | clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle, | 355 | clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle, |
356 | cmake, make, meson, pip, codium, telnet, ftp, OpenStego, imv, retroarch, torbrowser, CachyBrowser | 356 | cmake, make, meson, pip, codium, telnet, ftp, OpenStego, imv, retroarch, torbrowser, CachyBrowser, notable |
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 | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 4bfdb7e57..bbbd1e063 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -595,6 +595,7 @@ nitroshare-nmh | |||
595 | nitroshare-send | 595 | nitroshare-send |
596 | nitroshare-ui | 596 | nitroshare-ui |
597 | nomacs | 597 | nomacs |
598 | notable | ||
598 | nslookup | 599 | nslookup |
599 | nuclear | 600 | nuclear |
600 | nylas | 601 | nylas |