Heads up: update to Atom 1.6.0 might be problematic! (at least in Ubuntu 14.04)
In Ubuntu 14.04, I had Atom 1.3.2 and I was able to happily build and flash my photons.
Upgraded to Atom 1.6 and flashing failed every time. However flashing of the same firmware worked fine from https://build.particle.io/build
Removed Atom 1.6.0 and downgraded to Atom 1.3.2 and I’m happily flashing my photons again.
@suda A BIG THANK YOU for allowing me to work local in Ubuntu!!!
On a side note, I never used Atom.io before but since I started using it I like it more and more.