BUG - atom opens 2 strange files at launch every time

I’m looking for this snap to be fixed.

Please refer to the numerous posts on this issue as seen in the google search below. Its been like this for months. There are suggested fixes in some posts.

https://discuss.atom.io/t/whenever-i-start-atom-it-opens-a-file-weird-file/75721

https://github.com/atom/atom/issues/20942

https://snapcraft.io/atom points to https://github.com/snapcrafters/atom/issues for contact/reporting issues …

and in fact the actual snap issue seems to be tracked here already:

https://github.com/snapcrafters/atom/issues/59

And no one is doing anything about it after months. posting here trying to get more visibility.

well, feel free to submit a PR, it should be fixable with a simple sed line in snapcraft.yaml (right below the already existing one that changes the icon path)

actually like:

sed -i 's|^Exec=env.*$|Exec=atom %F|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/atom.desktop
2 Likes

This is now fixed and landed in stable. Thanks so much for raising the issue here. Apologies it got ignored for so long.

2 Likes

Thanks for the attention!