mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
Improve Linux snap App Indicator compatibility by coercing desktop to Unity
(Special thanks to Martin at Ubuntu!)
This commit is contained in:
parent
d337d9d407
commit
96fb3a99bf
1 changed files with 6 additions and 2 deletions
|
@ -36,11 +36,15 @@ apps:
|
||||||
mailspring:
|
mailspring:
|
||||||
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
||||||
desktop: usr/share/applications/mailspring.desktop
|
desktop: usr/share/applications/mailspring.desktop
|
||||||
|
environment:
|
||||||
# Correct the TMPDIR path for Chromium Framework/Electron to
|
# Correct the TMPDIR path for Chromium Framework/Electron to
|
||||||
# ensure libappindicator has readable resources.
|
# ensure libappindicator has readable resources.
|
||||||
environment:
|
|
||||||
HOME: $SNAP_USER_COMMON
|
HOME: $SNAP_USER_COMMON
|
||||||
TMPDIR: $XDG_RUNTIME_DIR
|
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:
|
plugs:
|
||||||
- avahi-observe
|
- avahi-observe
|
||||||
- browser-support
|
- browser-support
|
||||||
|
|
Loading…
Reference in a new issue