137 points · by devonnull · 3y ago · 188 comments
https://chromium.googlesource.com/chromiumos/docs/+/HEAD/con...
ChromeOS got good and is wildly underrated for software development. ¯\_(ツ)_/¯
App sandboxing on standard (non-ChromeOS) Linux distributions is painful and finicky, while it "just works" on ChromeOS.
I wish there was a non-hacky way to use Chromebooks without a Google account.
The hacky options are:
- "Switch to dev mode". But I don't want to be prompted to factory reset each boot.
- "Create a dummy Google account and use that". But I don't want file syncing and tracking to reach Google at all, not even on a dummy account.
- "Create a dummy Google account and use guest mode". But I want persistent storage.
Developer mode simply puts up a splash at boot warning you that the OS is custom, you just press enter to boot. The requirement to do a drive wipe is a one-time thing when you enable it the first time (for obvious reasons, to prevent exfiltration of data stored by a secured OS).
A few years back (when I last looked in depth), it was very easy at every boot (not only first boot) to accidentally wipe everything - e.g., https://www.reddit.com/r/Crouton/comments/3be2su/reducing_ri...
I also remember that it made a loud beep on every boot!
(1) Is there a de-googled version of Chromium OS?
(2) Is there a non-hacky way to install it to a Chromebook?
Linux just works without all the WSL issues, I can run Visual Studio Code, Docker and anything that I tried so far.
It's actually a delight to work on. I can only imagine how much better yet it will be with a top tier Chromebook
Depends on programming language. Not every compiler benefits linearly from 16 cores.
I agree though, this claim seems unlikely to me.
I have been interested in buying a Chromebook for dev purposes.
Then install VSCode and Docker as you would on any Linux system.
You can then launch them from the ChromeOS desktop environment as if they were native ChromeOS apps. It's really quite seamless, much more so than WSL (and better performance IME).
Next laptop will be a framework, so I guess I'll see how that goes.
For old models as well
I have a kevin (Samsung Plus v1) and flashed it with libreboot for Linux at that point.
You can even install ChromeOS Flex on a non-ChromeOS PC.
[1] https://chromeenterprise.google/intl/en_ca/os/chromeosflex/
I recently got a Chromebook and I'm amazed at how snappy and fast it is. And its built in Linux is amazing.
I've had some pretty severe issues with a chromebook running out of memory because the devs decided swap wasn't allowed (and I could never get the kernel to build and install properly). The builtin chrome definitely doesn't stop single websites from using most of a gigabyte of RAM.
300 euro from 2009, upgraded with 8GB and 1TB SSD, and with native graphics that beat WebGL 2.0, running latest Xubuntu.
To actually dogfood Chromebooks internally like Chromebooks for Education and for Families, Google would need to deny its devs containers behind a greyed out "Turn on Linux" button and deny them access to Colab notebooks and AI platform etc (while only allowing Play Store apps); nothing to SSH to, no notebooks, no devpod, no local git repos (!), no local terminal to run e.g. pytest tests with, no devtools JS console, etc.
1. chrome-os device
2. install a debian VM
3. do all their development in a VM where they can easily install packages they need etc?
4. so they are doing dev in a VM on a core-i3 intel machine I guess?
(Disclaimer: I'm the current maintainer of the Eupnea project.)
[1]: https://github.com/eupnea-linux-backup/depthboot-builder
For many legacy command line tasks, you SSH to a cloud workstation. More than ever though, you can get away with a lot of programming tasks without ever touching a terminal.
For those who really want a traditional Linux Desktop environment, you use Chrome Remote Desktop to connect to the same cloud VM that you SSH to.
Genuine concern with anything google. Current and future risks.
* window management was a hit and miss. I was not able to do split screen for a Chrome window and a Linux window (vscode). You can do that for two Chrome windows. A big disappointment * many GUI applications are only available through... Android Play Store, e.g. Cisco Anyconnect. Fortunately this works, but it's not an enjoyable experience. * Chromebook built-in keyboards usually don't have F11 or F12 keys, but you need them as a software developer.
And there are a number of other smaller issues that made me feel it would be easier to stick with a "standard" laptop, although I do think there is a lot of potential. I sold that Chromebook later.
I just wish the keyboards were more developer friendly. Give me F keys!
Install ChromeOS Flex.
Be happy.
I did this with a Lenovo X1 Nano, my favorite chromebook ever.
At the same time, I applaud them finally getting rid of Caps Lock and replacing it with a general utility feature (search)
Actually the best thing was having keys nobody else has so their function was up to me to decide at absolutely all times.
The linux desktop crushing Windows is inevitable. It's just not going to play out how people thought it would.
Android is basically an entirely different OS stack running on top of a Linux kernel. ChromeOS used to have it's own rendering and window management pipeline among other things, but as time has progressed their stack has gotten progressively more FOSS. You can run Linux apps, open a terminal, play Steam games via Proton, all from the default window manager/UI.
It's rootfs is locked down by default, but so is Fedora Silverblue or SteamOS. It can be optionally locked down further and turned into a managed system, but so can any distro. In terms of UX it's much more Ubuntu than it is Android.
When I ran ChromeOS (years ago) I recall having only a few intuitively named folders with most everything in "Downloads". I never needed to build my own stylus Wacom definition or switch operating systems to get the entire audio system functional. (In fact, the Gallium team had a lot of trouble getting the ChromeOS audio to "just work" on some platforms, such as Sentry.). Everything that came with the laptop worked. You could always pop up the shortcut overlay to remember how keys were mapped, Chrome browser didn't need weird codec or GPU flags or dependencies, I didn't need any obscure addition to the bootloader, the thing would run for over ten hours on a charge, I had no issues connecting to my school's networked printers.
Sure, ChromeOS still has dotfiles for things like editors, but it's not nearly as newbie-hostile as xorg.conf, /etc/profile, fstab, /etc/modprobe.d/blacklist.conf, GRUB, and all of the other service/module/daemon configurations needed to get something like Arch running on a random old 486 PC or laptop.
Then, the ChromeOS community started to make code editors and compilers accessible without needing crouton and needing to remove a screw from the motherboard.
Around this time, I started using a Dell XPS and stopped using the Chromebook. It developed some sort of memory problem sitting on a shelf. It still starts up but will crash anywhere between a few seconds and ten minutes, otherwise I'd repurpose it as a MIDI player/recorder for my digital piano.
From my recollection of ChromeOS, it seemed more stable and performant a decade ago than Windows 11 today.
Linux? I had rough times with Ubuntu around 10.04, it was much improved by the time I had it on the XPS in 2017, and now when I run Ubuntu on a ThinkPad Z13 or NUC Enthusiast 11, it has far more software and hardware issues than 16.04 and 18.04 on the XPS.
Disclaimer: I was a pre-release beta tester for ChromeOS.
I use Firefox on my work Chromebook so I can access my personal Gmail while logged in as my work account.
It integrates perfectly and is installed as easily as e.g. vscode is. The do not put up any barriers just because it is Firefox.
Indistinguishable from any other native app - fonts are fine.
The original goal was to make a laptop performant enough for a wide swath of common web based tasks that was very affordable to purchase and administer. It succeeded at that very well, especially in primary/secondary education.
For many years now there have also been high performance Chromebooks available that can run a full Linux environment, drive multiple monitors at high resolution, and run heavy software like Figma.
The engineering investment has been there, but the storytelling about the capabilities of these devices hasn't taken place. Now that's starting to happen, and probably non-coincidentally when Adobe Photoshop for the web is available.
Chromebooks aren’t Linux in the sense people who want a Linux computer care about
Google built their own embedded controllers to power this platform, unlike anything else that came before. The source may be open, but no other machine anywhere will run this.
It has taken heroic efforts to port ChromoumOS to conventional x86 hardware platforms. Google then bought the people who spent years porting their proprietary impossible to run system on normal laptops. I don't know enought to say how actively Neverware's efforts have been continued, but so far it still seems like running Chromium OS elsewhere requires epic feats, that integration has not proceeded any further than before the acquisition. https://www.theverge.com/2020/12/16/22179242/google-neverwar...
Can I install Chrome OS as simply as I installed Ubuntu? With a USB drive and a friendly install process (on a separated partition on my SSD, my main OS is Windows 11 now).
https://support.google.com/chromeosflex/answer/11552529
You can unzip this archive and write the unpacked BIN to a USB flash drive using `dd` like you would for Ubuntu. You can also just follow the Google instructions.
I assume yes, but do you know if it is mandatory to have to login to the OS with a Google account? Or can be used with a local/offline account? I prefer the later.
You can login as a guest, but the data created in that session isn't saved – it's "ephemeral."
I love how it has linux containers and linux available, why google has its artificial hands off policy, making you jump hoops of downloading a 3rd party install, convert it into a VM, and then dont do an OS upgrade or it breaks the vm, its just a bad experience.
Fuchsia is shipping on real devices today (their home hubs) although yea it’s not clear why, they now have quite a few operating systems they manage.
1. Android of course. Chrome casts and phones and tablets use this.
2. Fuchsia for the home hubs.
3. ChromeOS for the chromebooks and stuff.
4. GCP probably has a cloud Linux like AWS but tbh I’m not familiar.
They’ve killed “castOS” which was a very limited Linux based system I think.
1. Linux - with some variations of user land based on use case. Primarily ChromeOS and Android.
2. Fuchsia - with unknown motivations and use cases
I'm curious why they couldn't poach one of the L4 microkernels to build Fuchsia on, specifically SEL4 which is used in Genode/SculptOS, same as they did with Linux and Android. It would've given them a strong base to build on, saved time/$$$....
I've used it a lot - works great.
Glad to hear it works well, though!
The headline is true. ChromeOS is Linux with Google’s desktop environment. But it obfuscates the details. It's a damned by omission statement. It has some really good sauce to help you not notice often, but it's not at all a Linux desktop environment one can regularly use. You can do a lot of Linux desktop-y things but only through well crafted special unique wrapped processes that mostly but not fully help mock & emulate a regular Linux desktop. Even though it now runs Wayland, the apps you want to run will have atypical intermediates up the wazoo.
And no one else uses any of this tech. ChromiumOs has so much interesting container tech, does such an interesting job making containers think they have a regular Linux / FreeDesktop environment. It's far far far far deeper virtualization than for example https://github.com/containers/toolbox . But you know what? Google has made zero effort to get these pieces adopted elsewhere. It's open source but not intended for use outside Chromium/ChromeOS. I respect & think ChromeOS is a quite viable Linux, and it's so much closer to the metal & more interesting, amazing tech, but my gods Microsoft has gone 300x further to establish wsl2 as a sustainable community effort folks could use & target, in a way that ChromiumOS has done nothing about.
It's sad how Google has transformed from a company that appreciated & worked with ecosystems, that drove things collectively forward, into an individual player that does their own things & delivers from on high. ChromiumOS is such an incredible effort, but it's so internernally drive & focused, and it's hard to believe in such a wildcat effort, even though it's so so good. It keeps coming into better alignment with Linux Desktop actual, but via shims and emulations that no one else cares about or which seems marketed elsewhere. And that inward focus makes the whole effort both so exceptional & promising, but suspect. Such a different nearby but alternative & separately governed universe. ChromiumOS/ChromeOS do excellent at faking being a Linux desktop, and wonderfully have increasingly drawn more strength from that universe, but are still wholly their own very distinct very separate very controller other space. In many ways that's great, secure, good, and miraculously transparently done. But it's still hard to really trust, being such a weird alien impostor, faking so much for end user apps, and there's tension in believing ChromeOS will keep straddling the rift in pro-user manifestations forever.
https://chromeos.dev/en/linux/linux-on-chromeos-faq#why-run-...
...see also the linked: "security" and then "glossary" to get a feel for the component complexity.
It is pretty astounding, and astoundingly complicated, but mostly transparent as to how the host + guest integrate.
Yeah, you can run "Inkscape" and the GUI just "shows right up" on the chromebook... but there's like 18 layers of security mitigations and complexity with virtualized device drivers and audited communication channels that are all (nearly) completely invisible to make it look like "it's just running /usr/bin/inkscape on the same machine, what's so hard about that?"
Android is also not "Linux".
EDIT: Rereading the thread I should spell out: I only meant ChromeOS; Android is indeed different.
Linux is a small part, and very important, of the Ubuntu ecosystem.