News for hackers. Stuff that matters.
Re:Android: The word Google didn't say during the Pixel 3 event by apatheticonion on Sunday October 14, 2018 @08:53PM (#18216608)
Wait wait wait wait wait wait. ChromeOS is Linux now? Is it as good as using a full blown Linux distro for development?

What languages can you program in?

Bash?

Is Docker running natively?

My head is spinning. I don't want to buy a MacBook, but I'm unhappy with the polish of the Linux world. Is ChromeOS a legitimate alternative?

Re:Android: The word Google didn't say during the Pixel 3 event by derekp7 on Sunday October 14, 2018 @09:02PM (#18216655)
Project Crostini. "Native" Linux is Debian, run inside of a container, which is in turn run inside of a restricted VM. You don't get root in the VM, but you get access to commands for manipulating containers. Inside the container you have full access, but no devices.

Current limitations: you don't get accelerated graphics, no sound, and can't access USB or SD storage from the Linux container (yet). Things that look really good, you can install .apt packages from the Chrome file manager, and anything with a .desktop file shows up in the Chrome launcher. Looks like there are a bunch of patches with accelerated graphics coming in, and audio should be coming sometime too. Better storage should be available once they re-baseline on kernel version 4.18+, as that has non-root fuse mounts.

BTW, the reason for a lot of limitations of for security, so that a Linux app can't possibly negatively affect the rest of the system. For that reason, they don't have a mechanism to run Linux programs on system startup -- you have to purposely launch any apps.

Re:Android: The word Google didn't say during the Pixel 3 event by apatheticonion on Sunday October 14, 2018 @09:09PM (#18216694)
Ah, sounds like a way to go before it's a serious contender as a daily development machine
Re:Android: The word Google didn't say during the Pixel 3 event by xrd on Sunday October 14, 2018 @08:56PM (#18216618)
Yes, you can run any Linux program on it. It has Wayland which converts x11 to the Chromeos windowing metaphor. You can install things using apt-get on your local instance of Linux or use -X with ssh and it just works. It's amazing.

But the sound issues, sigh.

Re:Android: The word Google didn't say during the Pixel 3 event by giancarlostoro on Sunday October 14, 2018 @08:59PM (#18216636)
Is it regular x11 apps with ChromeOS' own window manager / skin theme or some weird hack?
Re:Android: The word Google didn't say during the Pixel 3 event by xrd on Sunday October 14, 2018 @10:15PM (#18216966)
I don't fully understand it all but I don't think it is a hack. It's the "new way" to do x11 type applications. I'm not at liberty to read the article on Wayland right now (alone with the three kids tonight and bedtime looms...). But I remember reading and thinking it wasn't complicated to understand and that this way of doing things is the future.

It makes ChromeOS into a really powerful terminal. You can run stuff locally that's best to be run locally. Then you can run applications that don't run locally (like that need access to special hardware like a gpu) on the machine itself via x11 forwarding. It's very flexible and works.

As a separate issue from mine (faulty ChromeOS sound), currently you can't use the sound hardware inside the container. But that'll get fixed soon. Just means there is no way to run Linux music making apps yet.

Re:Android: The word Google didn't say during the Pixel 3 event by derekp7 on Sunday October 14, 2018 @09:36PM (#18216801)
x11 apps talk to XWayland, which then talks to Sommelier (a Wayland forwarding agent), which then talks to the Wayland server running on Chrome OS. Other communications between Chrome OS and the Crostini system happens using the gRPC protocol. There is a program called Concierge on the Chrome OS side, that talks to Maitred inside the VM, to get it to do things. And apps inside the container use Garcon to talk to a service called Cicerone on the Chrome OS side (again, both these are over the gRPC protocol). All this is layed out here: https://chromium.googlesource.com/chromiumos/docs/+/master/c...
Re:Android: The word Google didn't say during the Pixel 3 event by giancarlostoro on Monday October 15, 2018 @07:51AM (#18218952)
That sounds a little saner though still convoluted. I hope they eventually don't have to run through so many hoops to run Linux apps.
Re:Android: The word Google didn't say during the Pixel 3 event by xrd on Monday October 15, 2018 @12:13PM (#18220959)
Hey, it's still less of a hack than using crouton was!
Re:Android: The word Google didn't say during the Pixel 3 event by giancarlostoro on Sunday October 14, 2018 @08:57PM (#18216628)
ChromeOS has always been based off Gentoo. It's still a slapped on browser, but if I remember correctly there are things you can do to toggle regular Linux apps on, or you know, you could also just install another distro over it.
Re:Android: The word Google didn't say during the Pixel 3 event by gh02t on Sunday October 14, 2018 @10:03PM (#18216912)
This is not really accurate, especially nowadays...

* Based on Gentoo- it was actually based on Ubuntu during development, and I believe it switched to a Debian base (from Gentoo) a year or two ago.

* A slapped on browser - it's a lot more than that. It has its own window manager and many other things. It's closer to normal Linux than Android is, but there's quite a lot of differences.

* Toggling Linux apps on - you have been able to install a chroot unofficially and can run Linux apps that way, but integration with the GUI is pretty janky. Official support for Linux apps is very new and not supported on a lot of hardware.

* Install another distro - not always an option. A lot of the machines have spotty driver and/or firmware support, e.g. my Acer Chromebook is a big headache to get working. Some are supported pretty well though.