Skip to content

Commit

Permalink
README/rss: update
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada authored and github-actions[bot] committed Aug 5, 2024
1 parent ba23ffc commit 773149b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item>
<title>My favorite device is a Chromebook</title>
<link>https://github.com/thiagokokada/blog/blob/main/2024-08-05/01-my-favorite-device-is-a-chromebook.md</link>
<description>&lt;p&gt;Most of the blog posts in this blog (including this one) and most of I would&#xA;call &amp;quot;personal computing&amp;quot; that I do nowadays is mostly done in one of the most&#xA;unremarkable devices that I own: a cheap &lt;a href=&#34;https://www.lenovo.com/us/en/p/laptops/lenovo/lenovo-edu-chromebooks/ideapad-duet-3-chromebook-11-inch,-qlc/len101i0034&#34;&gt;Chromebook Duet&#xA;3&lt;/a&gt;,&#xA;that I bought for around EUR300. I was thinking why, because it is woefully&#xA;underpowered: a &lt;a href=&#34;https://www.anandtech.com/show/16696/qualcomm-announces-snapdragon-7c-gen-2-entrylevel-pc-and-chromebook-refresh&#34;&gt;Snapdragon 7c Gen&#xA;2&lt;/a&gt;,&#xA;a CPU that was already considered entry level 3 years ago, coupled with an eMMC&#xA;for storage, that is not much fast than a HDD; at least I have the 8GB RAM&#xA;version instead of the 4GB one.&lt;/p&gt;&#xA;&lt;p&gt;It is a hybrid device, one that can be used as either a tablet or laptop, but&#xA;is compromised experience in both cases: as a tablet, it lacks the better touch&#xA;optimised interface from iOS or Android; as a laptop, you have to depend on the&#xA;stand to adjust the screen, and the detachable keyboard is worse then any&#xA;laptop I have ever owned: getting keys stucked and characters being duplicated&#xA;as a result is a common occurence.&lt;/p&gt;&#xA;&lt;p&gt;But I really love this device. It is generally the only device that I bring in&#xA;trips nowadays, because while it is compromised it works well enough: I can use&#xA;to consume media in tablet mode (the fact that ChromeOS supports Android apps&#xA;is a plus in those cases), browse the web and even do Linux stuff (more about&#xA;this later). The fact that it is small (the size remembers me of a&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Netbook&#34;&gt;netbook&lt;/a&gt;), lightweight (~1KG, including&#xA;the keyboard), has a good screen (that is bright and also HiDPI) and good&#xA;battery life (I don&#39;t have numbers but I almost never worry about it) is what&#xA;makes this device the perfect companion to trips. Also, it has 2 USB-C ports&#xA;and supports DisplayPort alt-mode (sadly not at 1440p, the maximum I got was&#xA;1080p, altough some people at Reddit &lt;a href=&#34;https://www.reddit.com/r/chromeos/comments/zh27tg/comment/izku724/?utm_source=share&amp;amp;utm_medium=web3x&amp;amp;utm_name=web3xcss&amp;amp;utm_term=1&amp;amp;utm_content=share_button&#34;&gt;seems to be&#xA;successful&lt;/a&gt;&#xA;at this resolution; it may be my Dell S3423DWC being Ultrawide or the cable,&#xA;who knows?), so it means you can charge it, connect to a external display and&#xA;peripherals, all at the same time.&lt;/p&gt;&#xA;&lt;p&gt;ChromeOS is also really interesting nowadays. Being a Chrome-first OS makes it&#xA;a compromised experience, for example, it is the only device that I use Chrome&#xA;as my main browser (since I personally prefer Firefox). But having a OS that&#xA;boots fast is great: I never worry about OS updates because I know the device&#xA;will be ready in seconds after a reboot. And the whole desktop experience&#xA;inside the ChromeOS desktop is good, having shortcuts for many operations so&#xA;you can get things done fast, and support for virtual desktops (ChromeOS call&#xA;it &amp;quot;desks&amp;quot;) means you can organise your window as much as you want.&lt;/p&gt;&#xA;&lt;p&gt;And what I think makes ChromeOS really powerful is&#xA;&lt;a href=&#34;https://chromeos.dev/en/linux&#34;&gt;Crostini&lt;/a&gt;, a full Linux VM that you can run&#xA;inside ChromeOS. It runs Debian (it seems you can &lt;a href=&#34;https://www.reddit.com/r/Crostini/wiki/howto/run-other-distros/&#34;&gt;run other&#xA;distros&lt;/a&gt;&#xA;though) with a deep integration with ChromeOS, so you can run even graphical&#xA;programs without issues (even OpenGL works!):&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://github.com/thiagokokada/blog/raw/main/2024-08-05/Screenshot_2024-08-05_21.22.29.png&#34; alt=&#34;Fastfetch inside Crostini with gitk running side-by-side.&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://github.com/thiagokokada/blog/raw/main/2024-08-05/Screenshot_2024-08-05_21.39.58.png&#34; alt=&#34;Running glxgears inside Crostini.&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is all thanks to&#xA;&lt;a href=&#34;https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/README.md&#34;&gt;Sommelier&lt;/a&gt;,&#xA;a nested Wayland compositor that runs inside Crostini and allow both Wayland&#xA;and X11 applications to be forwarded to ChromeOS. The integration is so good&#xA;that I can even run Firefox inside Crostini and works well enough, but sadly&#xA;Firefox is too slow in this device (I am not sure if the issue is ChromeOS or&#xA;Firefox, but I suspect the later since Google does some optimisation per&#xA;device).&lt;/p&gt;&#xA;&lt;p&gt;One interesting tidbit about the OpenGL situation in this device: this seems to&#xA;be the first Chromebook to ship with open source drivers, thanks to Freedreno.&#xA;There is &lt;a href=&#34;https://www.youtube.com/watch?v=8mnjSmN03VM&#34;&gt;this&lt;/a&gt; very interesting&#xA;presentation done by Rob Clark in XDC 2021, that I recommended anyone&#xA;interested in free drivers to watch (the reference design of Duet 3 is&#xA;&lt;a href=&#34;https://chromeunboxed.com/chromebook-tablet-snapdragon-7c-homestar-coachz-strongbad&#34;&gt;Strongbad&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The Crostini integration is probably the best VM integration with Linux I ever&#xA;saw in an OS: you can manage files inside the VM, share directories between the&#xA;OS and VM, copy and paste works between the two, GUI applications installed&#xA;inside the VM appear in the ChromeOS menu, memory allocation inside the VM is&#xA;transparent, etc. Even the themes for applications are customised to match&#xA;ChromeOS. It is unironically one of the best Linux desktop experiences I ever&#xA;had.&lt;/p&gt;&#xA;&lt;p&gt;Of course I am using Nix, but since the Crostini integration depends in some&#xA;services, I decided to run Nix inside Debian instead of NixOS and run&#xA;&lt;a href=&#34;https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone&#34;&gt;Home-Manager&#xA;standalone&lt;/a&gt;.&#xA;I recommend checking the official &lt;a href=&#34;https://wiki.nixos.org/wiki/Installing_Nix_on_Crostinihttps://wiki.nixos.org/wiki/Installing_Nix_on_Crostini&#34;&gt;NixOS Wiki article about&#xA;Crostini&lt;/a&gt;,&#xA;that details how to register applications in ChromeOS (so graphical&#xA;applications appear in menu) and also how to use&#xA;&lt;a href=&#34;https://github.com/nix-community/nixGL&#34;&gt;nixGL&lt;/a&gt; to make OpenGL applications&#xA;work.&lt;/p&gt;&#xA;&lt;p&gt;Like I said at the start of the article, the device is woefully slow thanks to&#xA;its CPU and eMMC. It does mean that, for example, activating my Home-Manager&#xA;configuration takes a while (around 1 minute). But it is much faster than say,&#xA;&lt;a href=&#34;https://github.com/nix-community/nix-on-droid-app&#34;&gt;nix-on-droid&lt;/a&gt;, that the&#xA;last time I tried in a much more powerful device (&lt;a href=&#34;https://www.gsmarena.com/xiaomi_pad_5-11042.php&#34;&gt;Xiami Pad&#xA;5&lt;/a&gt;), took 30 minutes until I&#xA;just decided to forget and uninstall it. Having a proper VM instead of&#xA;&lt;a href=&#34;https://wiki.termux.com/wiki/PRoot&#34;&gt;proot&lt;/a&gt; makes all the difference here.&lt;/p&gt;&#xA;&lt;p&gt;I can even do some light programming here: using my&#xA;&lt;a href=&#34;https://github.com/thiagokokada/blog/blob/main/2024-08-01/01-troubleshooting-zsh-lag-and-solutions-with-nix.md&#34;&gt;ZSH&lt;/a&gt; and&#xA;neovim configuration (including LSP for coding) is reasonable fast. For&#xA;example, I did most of the code that &lt;a href=&#34;https://github.com/thiagokokada/blog/blob/main/2024-07-29/01-quick-bits-why-you-should-automate-everything.md&#34;&gt;powers this&#xA;blog&lt;/a&gt; using&#xA;this Chromebook.&lt;/p&gt;&#xA;&lt;p&gt;Until Google decides to give us a proper VM in Android or release a hybrid&#xA;Chromebook device with better specs, this small Chromebook will probably stay&#xA;as my travel companion, and one of my favorite devices.&lt;/p&gt;&#xA;</description>
<description>&lt;p&gt;Most of the blog posts in this blog (including this one) and most of I would&#xA;call &amp;quot;personal computing&amp;quot; that I do nowadays is mostly done in one of the most&#xA;unremarkable devices that I own: a cheap &lt;a href=&#34;https://www.lenovo.com/us/en/p/laptops/lenovo/lenovo-edu-chromebooks/ideapad-duet-3-chromebook-11-inch,-qlc/len101i0034&#34;&gt;Chromebook Duet&#xA;3&lt;/a&gt;,&#xA;that I bought for around EUR300. I was thinking why, because it is woefully&#xA;underpowered: a &lt;a href=&#34;https://www.anandtech.com/show/16696/qualcomm-announces-snapdragon-7c-gen-2-entrylevel-pc-and-chromebook-refresh&#34;&gt;Snapdragon 7c Gen&#xA;2&lt;/a&gt;,&#xA;a CPU that was already considered entry level 3 years ago, coupled with an eMMC&#xA;for storage, that is not much fast than a HDD; at least I have the 8GB RAM&#xA;version instead of the 4GB one.&lt;/p&gt;&#xA;&lt;p&gt;It is a hybrid device, one that can be used as either a tablet or laptop, but&#xA;is compromised experience in both cases: as a tablet, it lacks the better touch&#xA;optimised interface from iOS or Android; as a laptop, you have to depend on the&#xA;stand to adjust the screen, and the detachable keyboard is worse then any&#xA;laptop I have ever owned: getting keys stucked and characters being duplicated&#xA;as a result is a common occurence.&lt;/p&gt;&#xA;&lt;p&gt;But I really love this device. It is generally the only device that I bring in&#xA;trips nowadays, because while it is compromised it works well enough: I can use&#xA;to consume media in tablet mode (the fact that ChromeOS supports Android apps&#xA;is a plus in those cases), browse the web and even do Linux stuff (more about&#xA;this later). The fact that it is small (the size remembers me of a&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Netbook&#34;&gt;netbook&lt;/a&gt;), lightweight (~1KG, including&#xA;the keyboard), has a good screen (that is bright and also HiDPI) and good&#xA;battery life (I don&#39;t have numbers but I almost never worry about it) is what&#xA;makes this device the perfect companion to trips.&lt;/p&gt;&#xA;&lt;p&gt;Also, it has 2 USB-C ports and supports DisplayPort alt-mode (sadly not at&#xA;1440p, the maximum I got was 1080p, altough some people at Reddit &lt;a href=&#34;https://www.reddit.com/r/chromeos/comments/zh27tg/comment/izku724/?utm_source=share&amp;amp;utm_medium=web3x&amp;amp;utm_name=web3xcss&amp;amp;utm_term=1&amp;amp;utm_content=share_button&#34;&gt;seems to be&#xA;successful&lt;/a&gt;&#xA;at this resolution; it may be my Dell S3423DWC being Ultrawide or the cable,&#xA;who knows?), so it means you can charge it, connect to a external display and&#xA;peripherals, all at the same time.&lt;/p&gt;&#xA;&lt;p&gt;ChromeOS is also really interesting nowadays. Being a Chrome-first OS makes it&#xA;a compromised experience, for example, it is the only device that I use Chrome&#xA;as my main browser (since I personally prefer Firefox). But having a OS that&#xA;boots fast is great: I never worry about OS updates because I know the device&#xA;will be ready in seconds after a reboot. And the whole desktop experience&#xA;inside the ChromeOS desktop is good, having shortcuts for many operations so&#xA;you can get things done fast, and support for virtual desktops (ChromeOS call&#xA;it &amp;quot;desks&amp;quot;) means you can organise your window as much as you want.&lt;/p&gt;&#xA;&lt;p&gt;And what I think makes ChromeOS really powerful is&#xA;&lt;a href=&#34;https://chromeos.dev/en/linux&#34;&gt;Crostini&lt;/a&gt;, a full Linux VM that you can run&#xA;inside ChromeOS. It runs Debian (it seems you can &lt;a href=&#34;https://www.reddit.com/r/Crostini/wiki/howto/run-other-distros/&#34;&gt;run other&#xA;distros&lt;/a&gt;&#xA;though) with a deep integration with ChromeOS, so you can run even graphical&#xA;programs without issues (even OpenGL works!):&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://github.com/thiagokokada/blog/raw/main/2024-08-05/Screenshot_2024-08-05_21.22.29.png&#34; alt=&#34;Fastfetch inside Crostini with gitk running side-by-side.&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://github.com/thiagokokada/blog/raw/main/2024-08-05/Screenshot_2024-08-05_21.39.58.png&#34; alt=&#34;Running glxgears inside Crostini.&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is all thanks to&#xA;&lt;a href=&#34;https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/README.md&#34;&gt;Sommelier&lt;/a&gt;,&#xA;a nested Wayland compositor that runs inside Crostini and allow both Wayland&#xA;and X11 applications to be forwarded to ChromeOS. The integration is so good&#xA;that I can even run Firefox inside Crostini and works well enough, but sadly&#xA;Firefox is too slow in this device (I am not sure if the issue is ChromeOS or&#xA;Firefox, but I suspect the later since Google does some optimisation per&#xA;device).&lt;/p&gt;&#xA;&lt;p&gt;One interesting tidbit about the OpenGL situation in this device: this seems to&#xA;be the first Chromebook to ship with open source drivers, thanks to Freedreno.&#xA;There is &lt;a href=&#34;https://www.youtube.com/watch?v=8mnjSmN03VM&#34;&gt;this&lt;/a&gt; very interesting&#xA;presentation done by Rob Clark in XDC 2021, that I recommended anyone&#xA;interested in free drivers to watch (the reference design of Duet 3 is&#xA;&lt;a href=&#34;https://chromeunboxed.com/chromebook-tablet-snapdragon-7c-homestar-coachz-strongbad&#34;&gt;Strongbad&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The Crostini integration is probably the best VM integration with Linux I ever&#xA;saw in an OS: you can manage files inside the VM, share directories between the&#xA;OS and VM, copy and paste works between the two, GUI applications installed&#xA;inside the VM appear in the ChromeOS menu, memory allocation inside the VM is&#xA;transparent, etc. Even the themes for applications are customised to match&#xA;ChromeOS. It is unironically one of the best Linux desktop experiences I ever&#xA;had.&lt;/p&gt;&#xA;&lt;p&gt;Of course I am using Nix, but since the Crostini integration depends in some&#xA;services, I decided to run Nix inside Debian instead of NixOS and run&#xA;&lt;a href=&#34;https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone&#34;&gt;Home-Manager&#xA;standalone&lt;/a&gt;.&#xA;I recommend checking the official &lt;a href=&#34;https://wiki.nixos.org/wiki/Installing_Nix_on_Crostinihttps://wiki.nixos.org/wiki/Installing_Nix_on_Crostini&#34;&gt;NixOS Wiki article about&#xA;Crostini&lt;/a&gt;,&#xA;that details how to register applications in ChromeOS (so graphical&#xA;applications appear in menu) and also how to use&#xA;&lt;a href=&#34;https://github.com/nix-community/nixGL&#34;&gt;nixGL&lt;/a&gt; to make OpenGL applications&#xA;work.&lt;/p&gt;&#xA;&lt;p&gt;Like I said at the start of the article, the device is woefully slow thanks to&#xA;its CPU and eMMC. It does mean that, for example, activating my Home-Manager&#xA;configuration takes a while (around 1 minute). But it is much faster than say,&#xA;&lt;a href=&#34;https://github.com/nix-community/nix-on-droid-app&#34;&gt;nix-on-droid&lt;/a&gt;, that the&#xA;last time I tried in a much more powerful device (&lt;a href=&#34;https://www.gsmarena.com/xiaomi_pad_5-11042.php&#34;&gt;Xiaomi Pad&#xA;5&lt;/a&gt;), took 30 minutes until I&#xA;just decided to forget and uninstall it. Having a proper VM instead of&#xA;&lt;a href=&#34;https://wiki.termux.com/wiki/PRoot&#34;&gt;proot&lt;/a&gt; makes all the difference here.&lt;/p&gt;&#xA;&lt;p&gt;I can even do some light programming here: using my&#xA;&lt;a href=&#34;https://github.com/thiagokokada/blog/blob/main/2024-08-01/01-troubleshooting-zsh-lag-and-solutions-with-nix.md&#34;&gt;ZSH&lt;/a&gt; and&#xA;neovim configuration (including LSP for coding) is reasonable fast. For&#xA;example, I did most of the code that &lt;a href=&#34;https://github.com/thiagokokada/blog/blob/main/2024-07-29/01-quick-bits-why-you-should-automate-everything.md&#34;&gt;powers this&#xA;blog&lt;/a&gt; using&#xA;this Chromebook.&lt;/p&gt;&#xA;&lt;p&gt;Until Google decides to give us a proper VM in Android or release a hybrid&#xA;Chromebook device with better specs, this small Chromebook will probably stay&#xA;as my travel companion, and one of my favorite devices.&lt;/p&gt;&#xA;</description>
<guid>https://github.com/thiagokokada/blog/blob/main/2024-08-05/01-my-favorite-device-is-a-chromebook.md</guid>
<pubDate>Mon, 05 Aug 2024 00:00:00 +0000</pubDate>
</item>
Expand Down

0 comments on commit 773149b

Please sign in to comment.