[wishlist] allow setting per-snap environment variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
tl;dr: it would be nice to be able to set environment variable on a per-snap basis.
I ran into this need when trying to workaround a chrome/chromium bug [1] where one needs to export MESA_GLSL_
MESA_
but is not convenient since more often than not, chromium is started by clicking the icon. Editing the .desktop file would surely work too but is not very user friendly. I'm also not sure if the .desktop file is not refreshed along with the snap.
Additional information:
$ lsb_release -rd
Description: Ubuntu 18.04.4 LTS
Release: 18.04
$ apt-cache policy snapd
snapd:
Installed: 2.42.1+18.04
Candidate: 2.42.1+18.04
Version table:
*** 2.42.1+18.04 500
500 http://
100 /var/lib/
2.37.4+18.04.1 500
500 http://
2.32.5+18.04 500
500 http://
1: https:/
Changed in snapd (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |