Below is the error I get when I try to run Atom after following this guide:
Asked
Active
Viewed 3,329 times
1
-
How do you launched atom? This screen is Inspect Element from Google-chrome, not atom itself – Redbob Oct 12 '17 at 02:07
-
I tried running it by clicking the icon and it gave me that. When I go 'sudo atom' on the terminal it actually runs. Is there a way I can fix this? – NotThatGood Oct 12 '17 at 04:32
-
You've likely made your `.atom` directory unwriteable **by** running it with `sudo` - see [Why should users never use normal sudo to start graphical applications?](https://askubuntu.com/questions/270006/why-should-users-never-use-normal-sudo-to-start-graphical-applications) – steeldriver Oct 12 '17 at 11:35
-
@steeldrive Thanks man, I will go read up on that. – NotThatGood Oct 12 '17 at 14:55
1 Answers
3
To solve this issue, you need to revert permissions to .atom config folder:
sudo chown <user>:<user> /home/<user>/.atom -hR
Seeing your image, I presume it's
sudo chown k:k /home/k/.atom -hR
If this doesn't solve it, I suggest you reinstall Atom using the deb package directly downloaded from Atom site (that's how I installed in my computer):
sudo dpkg -i atom-amd64.deb
sudo apt-get -f install
The last line is to install dependencies.
-
Hey Redbob, thanks for the solution. sudo chown k:k /home/k/.atom -hR worked. :) – NotThatGood Oct 12 '17 at 14:54
-
