Cannot run Atom editor

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
ExMachina
Posts: 9
Joined: 10. Jul 2015, 16:13

Cannot run Atom editor

Post by ExMachina »

Hi,

I've recently installed Atom editor with gslapt and when I run it - it doesn't start.
To check what's going on I ran it in terminal. This is the output:

Code: Select all

exmachina[~]$ atom
exmachina[~]$ /usr/bin/atom: line 113:  1223 Aborted                 nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
Fontconfig warning: FcPattern object size does not accept value 10(i)
Fontconfig warning: FcPattern object size does not accept value 10(i)
App load time: 490ms
[1223:1210/153941:FATAL:shared_memory_posix.cc(295)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
Failed to get crash dump id.
Report Id: 

Then I ran this as per suggestion:

Code: Select all

sudo chmod 1777 /dev/shm
After I do that, Atom loads fine but whatever this command does, it's NOT persistent. If I reboot I have the same issue.
Is there a permanent fix to this? Thanks!
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Cannot run Atom editor

Post by gapan »

You can put

Code: Select all

chmod 1777 /dev/shm
at the end of your /etc/rc.d/rc.local
Image
Image
User avatar
ExMachina
Posts: 9
Joined: 10. Jul 2015, 16:13

Re: Cannot run Atom editor

Post by ExMachina »

It works with that!!! Thank you!
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Cannot run Atom editor

Post by mimosa »

I found I needed to edit the SlackBuild to build this - the source tarball is now atom-v$version rather than v$version. I took the opportunity to go for the latest version.
User avatar
ExMachina
Posts: 9
Joined: 10. Jul 2015, 16:13

Re: Cannot run Atom editor

Post by ExMachina »

Got it installed, working nicely... thank you! :)
Post Reply