aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Bogdan Ruslanovich Drozd <bogdan.ruslanovich.drozd@yandex.com>2022-11-20 18:05:08 +0300
committerLibravatar Bogdan Ruslanovich Drozd <bogdan.ruslanovich.drozd@yandex.com>2022-11-23 21:20:18 +0300
commit298820647b691200e4ab3eecbe9b40cfb8f1c107 (patch)
tree386a4377813889f1a096ac4e745cf344c8cc72a5 /etc/profile-m-z
parentAdd support for cinelerra-gg (#5467) (diff)
downloadfirejail-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/profile-m-z')
-rw-r--r--etc/profile-m-z/pycharm-community.profile9
-rw-r--r--etc/profile-m-z/pycharm-professional.profile2
2 files changed, 7 insertions, 4 deletions
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
6include globals.local 6include globals.local
7 7
8noblacklist ${HOME}/.PyCharmCE* 8noblacklist ${HOME}/.PyCharm*
9# Persistent cache is needed for spell and grammar checkers, etc.
10noblacklist ${HOME}/.cache/JetBrains/PyCharm*
11noblacklist ${HOME}/.config/JetBrains/PyCharm*
12# Not `PyCharm*`, because the state about of "anonymous data sent" is shared
13# between JetBrains IDEs.
14noblacklist ${HOME}/.local/share/JetBrains
9 15
10# Allow java (blacklisted by disable-devel.inc) 16# Allow java (blacklisted by disable-devel.inc)
11include allow-java.inc 17include 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!
33private-cache
34private-dev 39private-dev
35private-tmp 40private-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
9noblacklist ${HOME}/.PyCharm*
10
11# Redirect 9# Redirect
12include pycharm-community.profile 10include pycharm-community.profile