GitKraken fails with XAUTHORITY error (Ubuntu 18.10)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I recently installed GitKraken on this workstation which runs Ubuntu 18.10 evidently from the snap store since it came via the 'Software' manager program.
When it clicked on GitKraken on the menu, nothing happened. So I tried the command line:
$ gitkraken --help
2019/04/03 10:49:18.133084 cmd_run.go:521: WARNING: XAUTHORITY environment value is not a clean path: "/data/
cannot create user data directory: /home/william/
This directory is at
$HOME=/home/william
anyway so the first thing is that the package is making its own decisions about my environment. When I change partitions or hardware it will probably fail once more because the directory assumption has become invalid.
The second thing is I NEVER EVER want to see a "$HOME/snap" folder as litter in a home directory.
My preference would be to see something like:
export SNAP_HOME=
So is there some way to change or configure an environment variable to Do just that. Point to "$HOME/
Finally, the fact that GitKraken can't run at all is a bug. It took me a significant amount of time to find a place or link to "report bugs and errors". If you wish to know about errors, then a nice big button in the top-right corner of each snap page with [Report Bug] might encourage people to tell you something doesn't work imho.
Hopefully you can correct these points or at least offer options for people to keep a tidy development environment and home directory set-up.