Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add element-desktop redirect profile #3517

Merged
merged 4 commits into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ firejail (0.9.63) baseline; urgency=low
/etc/firejail/firejail.config file.
* Fine-grained D-Bus sandboxing with xdg-dbus-proxy.
xdg-dbus-proxy must be installed, if not D-Bus access will be allowed.
With this version Nodbus is deprecated, in favor of dbus-user none and
With this version nodbus is deprecated, in favor of dbus-user none and
dbus-system none and will be removed in a future version.
* DHCP client support
* firecfg only fix dektop-files if started with sudo
Expand Down Expand Up @@ -37,7 +37,7 @@ firejail (0.9.63) baseline; urgency=low
* new profiles: swell-foop, fdns, five-or-more, steam-runtime, jitsi-meet-desktop
* new profiles: nicotine, plv, mocp, apostrophe, quadrapassel, dino-im, strawberry
* new profiles: hitori, bijiben, gnote, gnubik, ZeGrapher, xonotic-sdl-wrapper
* new profiles: gapplication, openarena_ded
* new profiles: gapplication, openarena_ded, element-desktop
-- netblue30 <netblue30@yahoo.com> Tue, 21 Apr 2020 08:00:00 -0500

firejail (0.9.62) baseline; urgency=low
Expand Down
2 changes: 2 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ blacklist ${HOME}/.config/Code Industry
blacklist ${HOME}/.config/Cryptocat
blacklist ${HOME}/.config/Debauchee/Barrier.conf
blacklist ${HOME}/.config/Dharkael
blacklist ${HOME}/.config/Element
blacklist ${HOME}/.config/Element (Riot)
blacklist ${HOME}/.config/Enox
blacklist ${HOME}/.config/Ferdi
blacklist ${HOME}/.config/Franz
Expand Down
22 changes: 22 additions & 0 deletions etc/profile-a-l/element-desktop.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Firejail profile for element-desktop
# Description: All-in-one secure chat app for teams, friends and organisations
# This file is overwritten after every install/update
# Persistent local customizations
include element-desktop.local
# Persistent global definitions
# added by included profile
#include globals.local

noblacklist ${HOME}/.config/Element
noblacklist ${HOME}/.config/Element (Riot)

mkdir ${HOME}/.config/Element
mkdir ${HOME}/.config/Element (Riot)
whitelist ${HOME}/.config/Element
whitelist ${HOME}/.config/Element (Riot)
whitelist /opt/Element

private-opt Element

# Redirect
include riot-desktop.profile
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ easystroke
ebook-viewer
electron-mail
electrum
element-desktop
elinks
empathy
enchant
Expand Down