Skip to content

Commit

Permalink
Improve Linux snap App Indicator compatibility by coercing desktop to…
Browse files Browse the repository at this point in the history
… Unity

(Special thanks to Martin at Ubuntu!)
  • Loading branch information
bengotow committed May 24, 2018
1 parent d337d9d commit 96fb3a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions snap/snapcraft.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ apps:
mailspring:
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
desktop: usr/share/applications/mailspring.desktop
# Correct the TMPDIR path for Chromium Framework/Electron to
# ensure libappindicator has readable resources.
environment:
# Correct the TMPDIR path for Chromium Framework/Electron to
# ensure libappindicator has readable resources.
HOME: $SNAP_USER_COMMON
TMPDIR: $XDG_RUNTIME_DIR
# Coerce XDG_CURRENT_DESKTOP to Unity so that App Indicators
# are used and do not fall back to Notification Area applets
# or disappear completely.
XDG_CURRENT_DESKTOP: Unity
plugs:
- avahi-observe
- browser-support
Expand Down

0 comments on commit 96fb3a9

Please sign in to comment.