← Back to issue list

GitKraken fails with XAUTHORITY error (Ubuntu 18.10)

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1822910
Type
issue
State
open
Author
~william-full-moon
Labels
Created
2019-04-03 00:16:42.689899+00:00
Updated
2019-04-03 00:16:42.689899+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

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/home/william/.Xauthority" cannot create user data directory: /home/william/snap/gitkraken/138: Not a directory 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="$HOME/.config/snap" So is there some way to change or configure an environment variable to Do just that. Point to "$HOME/.config/snap"? In addition to other things, some projects actually require config information in a different path (location). If this stuff is fixed as it seems to be the whole snap concept is of little value to our workflow. Mind you we only have 4 linux users, if you want more people to move off windows (where I can install the GitKraken via the electron store) I really recommend you consider making these things flexible and effective. 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.

Evaluation history

No evaluation history available.