diff options
author | 2022-11-20 18:05:08 +0300 | |
---|---|---|
committer | 2022-11-23 21:20:18 +0300 | |
commit | 298820647b691200e4ab3eecbe9b40cfb8f1c107 (patch) | |
tree | 386a4377813889f1a096ac4e745cf344c8cc72a5 /etc | |
parent | Add support for cinelerra-gg (#5467) (diff) | |
download | firejail-298820647b691200e4ab3eecbe9b40cfb8f1c107.tar.gz firejail-298820647b691200e4ab3eecbe9b40cfb8f1c107.tar.zst firejail-298820647b691200e4ab3eecbe9b40cfb8f1c107.zip |
fix: PyCharm profiles
Do not use `private-cache`, because PyCharm places in cache
directories stuff like spelling dictionary (i. e. if you download
spelling dictionary with `private-cache`, on restart PyCharm you need
to download spelling dictionary again).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/pycharm-community.profile | 9 | ||||
-rw-r--r-- | etc/profile-m-z/pycharm-professional.profile | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index b86e0bbe4..349bca426 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -67,6 +67,7 @@ blacklist ${HOME}/.cache/GoldenDict | |||
67 | blacklist ${HOME}/.cache/INRIA | 67 | blacklist ${HOME}/.cache/INRIA |
68 | blacklist ${HOME}/.cache/INRIA/Natron | 68 | blacklist ${HOME}/.cache/INRIA/Natron |
69 | blacklist ${HOME}/.cache/JetBrains/CLion* | 69 | blacklist ${HOME}/.cache/JetBrains/CLion* |
70 | blacklist ${HOME}/.cache/JetBrains/PyCharm* | ||
70 | blacklist ${HOME}/.cache/KDE/neochat | 71 | blacklist ${HOME}/.cache/KDE/neochat |
71 | blacklist ${HOME}/.cache/Mendeley Ltd. | 72 | blacklist ${HOME}/.cache/Mendeley Ltd. |
72 | blacklist ${HOME}/.cache/MusicBrainz | 73 | blacklist ${HOME}/.cache/MusicBrainz |
@@ -280,6 +281,7 @@ blacklist ${HOME}/.config/Gpredict | |||
280 | blacklist ${HOME}/.config/INRIA | 281 | blacklist ${HOME}/.config/INRIA |
281 | blacklist ${HOME}/.config/InSilmaril | 282 | blacklist ${HOME}/.config/InSilmaril |
282 | blacklist ${HOME}/.config/JetBrains/CLion* | 283 | blacklist ${HOME}/.config/JetBrains/CLion* |
284 | blacklist ${HOME}/.config/JetBrains/PyCharm* | ||
283 | blacklist ${HOME}/.config/Jitsi Meet | 285 | blacklist ${HOME}/.config/Jitsi Meet |
284 | blacklist ${HOME}/.config/KDE/neochat | 286 | blacklist ${HOME}/.config/KDE/neochat |
285 | blacklist ${HOME}/.config/KeePass | 287 | blacklist ${HOME}/.config/KeePass |
diff --git a/etc/profile-m-z/pycharm-community.profile b/etc/profile-m-z/pycharm-community.profile index 629396aaa..875b83e8e 100644 --- a/etc/profile-m-z/pycharm-community.profile +++ b/etc/profile-m-z/pycharm-community.profile | |||
@@ -5,7 +5,13 @@ include pycharm-community.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include globals.local | 6 | include globals.local |
7 | 7 | ||
8 | noblacklist ${HOME}/.PyCharmCE* | 8 | noblacklist ${HOME}/.PyCharm* |
9 | # Persistent cache is needed for spell and grammar checkers, etc. | ||
10 | noblacklist ${HOME}/.cache/JetBrains/PyCharm* | ||
11 | noblacklist ${HOME}/.config/JetBrains/PyCharm* | ||
12 | # Not `PyCharm*`, because the state about of "anonymous data sent" is shared | ||
13 | # between JetBrains IDEs. | ||
14 | noblacklist ${HOME}/.local/share/JetBrains | ||
9 | 15 | ||
10 | # Allow java (blacklisted by disable-devel.inc) | 16 | # Allow java (blacklisted by disable-devel.inc) |
11 | include allow-java.inc | 17 | include allow-java.inc |
@@ -30,7 +36,6 @@ tracelog | |||
30 | 36 | ||
31 | # private-etc alternatives,fonts,passwd - minimal required to run but will probably break | 37 | # private-etc alternatives,fonts,passwd - minimal required to run but will probably break |
32 | # program! | 38 | # program! |
33 | private-cache | ||
34 | private-dev | 39 | private-dev |
35 | private-tmp | 40 | private-tmp |
36 | 41 | ||
diff --git a/etc/profile-m-z/pycharm-professional.profile b/etc/profile-m-z/pycharm-professional.profile index b754a18c9..126f5cec8 100644 --- a/etc/profile-m-z/pycharm-professional.profile +++ b/etc/profile-m-z/pycharm-professional.profile | |||
@@ -6,7 +6,5 @@ include pyucharm-professional.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.PyCharm* | ||
10 | |||
11 | # Redirect | 9 | # Redirect |
12 | include pycharm-community.profile | 10 | include pycharm-community.profile |