Skip to content

Commit

Permalink
add element-desktop redirect profile (#3517)
Browse files Browse the repository at this point in the history
* Create element-desktop.profile

* add element-desktop dirs to disable-programs.inc

* add element-desktop to firecfg.config

* Update RELNOTES
  • Loading branch information
glitsj16 authored Jul 16, 2020
1 parent ce462b6 commit ad12d90
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
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

0 comments on commit ad12d90

Please sign in to comment.