aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/opera.profile
blob: e52e9294d31894027f136b5268a87d41de61d5b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Firejail profile for opera
# Description: A fast and secure web browser
# This file is overwritten after every install/update
# Persistent local customizations
include opera.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.cache/opera
noblacklist ${HOME}/.config/opera
noblacklist ${HOME}/.opera

mkdir ${HOME}/.cache/opera
mkdir ${HOME}/.config/opera
mkdir ${HOME}/.opera
whitelist ${HOME}/.cache/opera
whitelist ${HOME}/.config/opera
whitelist ${HOME}/.opera

# https://github.com/netblue30/firejail/issues/4965
ignore whitelist /usr/share/mozilla/extensions
ignore whitelist /usr/share/webext

# opera uses opera_sandbox instead of chrome-sandbox
noblacklist /usr/lib/opera/opera_sandbox
ignore noblacklist /usr/lib/chromium/chrome-sandbox

# Add the below to your opera.local if you want to disable auto update
#env OPERA_AUTOUPDATE_DISABLED=1

# Redirect
include chromium-common.profile