Skip to content

Commit

Permalink
profiles: element-desktop: allow /usr/share/element (#6424)
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 #6421.

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

Reported-by: @leukimi
  • Loading branch information
kmk3 authored Jul 29, 2024
1 parent cf89d0c commit c9eb10b
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 c9eb10b

Please sign in to comment.