Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
desktop-launchers assumes home is /home/$USER #53
Comments
|
Hey Iain! Unfortunatly, this is not possible (you can try it yourself on any snap):
You can see that This was mentioned to upstream a few months back and said to be in the work. |
didrocks
added
the
Blocked on upstream
label
Feb 17, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
iainlane commentedFeb 16, 2017
Looking at https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/common/desktop-exports#L138 we can see a hardcoded /home/$USER.
I suppose this is because of apparmor, but it should be $HOME instead. If necessary for now users can (hopefully) configure
/etc/apparmor.d/tunables/hometo make this work.(Aside: does this have access to the environment? if so, it should look at $XDG_CONFIG_HOME if that is set).