Skip to content

Commit

Permalink
profiles: element-desktop: allow /usr/share/element
Browse files Browse the repository at this point in the history
This path is apparently needed on openSUSE Tumbleweed[1]:

    $ LC_ALL=C firejail /usr/bin/element-desktop
    [...]
    Error launching app
    Unable to find Electron app at /usr/share/element/app

    Cannot find module '/usr/share/element/app'

    Parent is shutting down, bye...

Fixes netblue30#6421.

[1] https://software.opensuse.org/package/element-desktop

Reported-by: @leukimi
  • Loading branch information
kmk3 committed Jul 28, 2024
1 parent 86bc5bd commit 3b45fd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/profile-a-l/element-desktop.profile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ noblacklist ${HOME}/.config/Element
mkdir ${HOME}/.config/Element
whitelist ${HOME}/.config/Element
whitelist /opt/Element
whitelist /usr/share/element

dbus-user filter
dbus-user.talk org.freedesktop.Notifications
Expand Down

0 comments on commit 3b45fd8

Please sign in to comment.