Atom (the editor)

Mark Baldwin-Smith edited this page Jun 25, 2018 · 4 revisions

If you like Atom (the editor) it is easy to run it on a chromebook. It runs both in a graphic environment and in a browser tab. I tested on a HP Chromebook 13 and on a Asus Chromebox M085U.

Installation

The installation progresses as usual. There is a source for installing on ubuntu trusty here: https://codeforgeek.com/2014/09/install-atom-editor-ubuntu-14-04/. Alternatively you can download the .deb file from Atom.io and install with sudo dpkg -i atom-amd64.deb, or whatever name the downloaded package has, from the command prompt after you have entered the chroot.

You can now open atom from within your graphical interface, if installed, but it is a little more tricky to start it with xiwi. Atom, when starting from the command line, expects to be able to read the directory and apparently has more than one mode.

Run in a browser tab

So to start Atom in a browser window, go to the directory that you want to edit (that means you have the rights to do that as well) and then issue the command:

xiwi -T atom -f .

from you chroot. The -f option signals to atom to run in the foreground, the . (dot) tells atom to open the current directory for editing. Without the -f . it may start or it may fail with error (-2). In any case the browser window will not close when closing atom without the -f option.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.