aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2022-01-05 17:55:52 +0000
committerLibravatar GitHub <noreply@github.com>2022-01-05 17:55:52 +0000
commit341f587a56f4a25c95d7eea45edc710289615972 (patch)
treeee5c2eee8cdbe56020aa54173e010fbb241b3658
parentnettrace/netlock (diff)
parentadd notable to 'New profiles' section (diff)
downloadfirejail-341f587a56f4a25c95d7eea45edc710289615972.tar.gz
firejail-341f587a56f4a25c95d7eea45edc710289615972.tar.zst
firejail-341f587a56f4a25c95d7eea45edc710289615972.zip
Merge pull request #4824 from glitsj16/notable
add notable profile
-rw-r--r--README.md2
-rw-r--r--etc/inc/disable-programs.inc2
-rw-r--r--etc/profile-m-z/notable.profile37
-rw-r--r--src/firecfg/firecfg.config1
4 files changed, 41 insertions, 1 deletions
diff --git a/README.md b/README.md
index e52a02d34..fcf92f56a 100644
--- a/README.md
+++ b/README.md
@@ -353,4 +353,4 @@ Stats:
353### New profiles: 353### New profiles:
354 354
355clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle, 355clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle,
356cmake, make, meson, pip, codium, telnet, ftp, OpenStego, imv, retroarch, torbrowser, CachyBrowser 356cmake, 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
294blacklist ${HOME}/.config/Nathan Osman 294blacklist ${HOME}/.config/Nathan Osman
295blacklist ${HOME}/.config/Nextcloud 295blacklist ${HOME}/.config/Nextcloud
296blacklist ${HOME}/.config/NitroShare 296blacklist ${HOME}/.config/NitroShare
297blacklist ${HOME}/.config/Notable
297blacklist ${HOME}/.config/Nylas Mail 298blacklist ${HOME}/.config/Nylas Mail
298blacklist ${HOME}/.config/PBE 299blacklist ${HOME}/.config/PBE
299blacklist ${HOME}/.config/PacmanLogViewer 300blacklist ${HOME}/.config/PacmanLogViewer
@@ -1009,6 +1010,7 @@ blacklist ${HOME}/.newsboat
1009blacklist ${HOME}/.newsrc 1010blacklist ${HOME}/.newsrc
1010blacklist ${HOME}/.nicotine 1011blacklist ${HOME}/.nicotine
1011blacklist ${HOME}/.node-gyp 1012blacklist ${HOME}/.node-gyp
1013blacklist ${HOME}/.notable
1012blacklist ${HOME}/.npm 1014blacklist ${HOME}/.npm
1013blacklist ${HOME}/.npmrc 1015blacklist ${HOME}/.npmrc
1014blacklist ${HOME}/.nv 1016blacklist ${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
5include notable.local
6# Persistent global definitions
7include 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
14noblacklist ${HOME}/.config/Notable
15noblacklist ${HOME}/.notable
16
17net none
18nosound
19
20?HAS_APPIMAGE: ignore private-dev
21private-opt Notable
22
23dbus-user filter
24dbus-user.talk ca.desrt.dconf
25ignore dbus-user none
26
27# Notable keeps claiming it is started for the first time when whitelisting - see #4812.
28ignore whitelist ${DOWNLOADS}
29ignore whitelist ${HOME}/.config/Electron
30ignore whitelist ${HOME}/.config/electron-flag*.conf
31ignore include whitelist-common.inc
32ignore include whitelist-runuser-common.inc
33ignore include whitelist-usr-share-common.inc
34ignore include whitelist-var-common.inc
35
36# Redirect
37include 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
595nitroshare-send 595nitroshare-send
596nitroshare-ui 596nitroshare-ui
597nomacs 597nomacs
598notable
598nslookup 599nslookup
599nuclear 600nuclear
600nylas 601nylas