Amazon.co.uk Widgets

Log in

X
Sublime Text Icon via https://dribbble.com/shots/3811091-Sublime-Text-3-Icon

You can install the Linux version on ChromeOS

Sublime Text is a proprietary text and code editor which is very popular among developers due to a simple, fast and distraction free interface, an ability to open all the files in a folder, support for third party plugins through a package control system, extensive language syntax highlighting, and a clickable minimap view of an entire file. Sublime Text runs on macOS, Linux, and Windows. Sublime Text is one of the best text editors around. Its licence keys can be shared across platforms. If you use lots of different operating systems it is beneficial to have the same editor.

Before you start!

Before you start, you'll need to ensure you have a Linux capable Chromebook. Most are! In Settings Type 'Linux' and if its there you are all set. If not, well you can try updating your Chromebook, and if it is still not there its time to get a new Chromebook.

TL:DR — Just take me to the link Sublime Text download page.

Installation on a Chromebook

Launch a terminal on your Chromebook, and check your system is supported. Type uname -m and you are looking for x86_64. Ok, so now look for Linux repos - direct downloads on the Sublime Text download site. For ChromeOS you need the 64 bit .tar.xz download. Once downloaded in ChromeOS the file is available in the Files application, copy it from there from 'My Files' to 'Linux Files'. Once its in 'Linux File' you can see it in the Linux terminal and you can extract the contents of the compressed download file from there.

$ tar xvf ./sublime_text_build_4126_x64.tar.xz 

Once extracted, move the application to your desired location. Create two symbolic links, one for the command line subl and the other for the desktop launcher information file.

$ sudo mv sublime_text/ /opt/
$ sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl
$ sudo ln -s /opt/sublime_text/sublime_text.desktop /usr/share/applications/sublime_text.desktop

Main editing screen

Sublime is now available from the ChromeOS launcher

Sublime Text main screen screenshot with an example html file loaded for editing - on a Chromebook

Sublime Text main screen screenshot with an example html file loaded for editing - on a Chromebook

Changing the launcher icon

I used sublime to edit its own configuration file for the chrome os desktop, to apply an icon I found online to make it look nicer than the Linux icon that it displayed by default.

$ /opt/sublime_text/sublime_text.desktop
  

Edit the line starting with Icon=  to contain the path to the desired icon file.

Sublime Text chrome os launcher desktop file open for editing

Sublime Text chrome os launcher desktop file open for editing

Recommended

Sublime Text seems to work just fine on Linux on a Chromebook. You have to spend a little time setting it up, and recognising that folders shared between ChromeOS and Linux are in special locations, but once you get over that Sublime Text is quite usable and of course if you use it already you will feel right at home.

Licences, trademarks, source code licences and attributions

Licences, trademarks, source code licences and attributions

Multizone and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited licence granted by Open Source Matters, Inc. 928uk® is a trademark of Multizone Limited, registered in the UK. AdMob™, AdSense™, AdWords™, Android™, Chrome OS™, Chromebook™, Chrome™, DART™, Flutter™, Firebase™, Firestore™, Fuchsia™, Gmail™, Google Maps™, Google Pixel™, Google Play™, Pixelbook Go™, and Pixel™ and other trademarks listed at the Google Brand Resource center are trademarks of Google LLC and this site is not endorsed by or affiliated with Google in any way. Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. The OSI logo trademark is the trademark of Open Source Initiative. Microsoft, CoPilot, Microsoft 365, Microsoft Teams, and Windows are trademarks of the Microsoft group of companies. ROKU, the ROKU Logo, STREAMING STICK, ROKU TV, ROKU POWERED, the ROKU POWERED Logo, ROKU READY, the ROKU READY Logo, the purple fabric tag design,and the purple d-pad design are trademarks and/or registered trademarks of Roku, Inc. in the UK, the United States and other countries. UNIX® and the X® logo are registered trademarks of The Open Group. Any other product or company names may be trademarks™ or registered® trademarks of their respective holders. Use of these trademarks in articles here does not apply affiliation or endorsement by any of them.

Where the source code is published here on ezone.co.uk or on our GitHub by Angus Fox, Multizone Limited it is licenced according to the open source practice for the project concerned.

BSD 3-Clause "New" or "Revised" Licence
Original source code for mobile apps are licenced using the same licence as the one used by "The Flutter Authors". This Licence, the BSD 3-Clause "New" or "Revised" Licence (bsd-3-clause) is a permissive licence with a clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
GNU General Public Licence v2.0 or later
Original source code for Joomla! published here on ezone.co.uk by Angus Fox, Multizone Limited is licenced using the same licence as the one used by Joomla!. This Licence, the GNU General Public Licence Version 2 or later (gpl-2.0) is the most widely used free software licence and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same licence.

You can use any code you find here, just respect the licences and dont use the name of this site or our company to promote derived products without written consent. I mean, why would you? You're not us!

Amazon Associate
As an Amazon Associate we earn from qualifying purchases.
Logo
Our Logo Image is by Freepik. We chose it because its an M and also the letter A twice - and that represents us.