How to install Cinnamon desktop on Chromebook using Crouton

Croton Allows installation of Ubuntu or Debian in the chroot environment of any Chromebook model without removing the Chrome operating system.
You can learn more about Crouton and using Ubuntu on a Chromebook in an article I published not long ago: How to install Ubuntu Linux on any Chromebook model without replacing Chrome OS (Crouton)
Crouton used to have a goal to easily install Cinnamon, but it is no longer available. You can still use Crouton to install the Cinnamon desktop on your Chromebook, and this article will guide you through this process.

Use Crouton to install cinnamon powder on your Chromebook (in Ubuntu 18.04)

Cinnamon is a desktop environment, which is derived from Gnome 3, but uses the traditional desktop layout and is the main desktop environment for the Linux Mint distribution. Since Crouton does not support Linux Mint, it will use Ubuntu 18.04 (Bionic Beaver) as the Linux distribution and install Cinnamon desktop on top of it. Related: Crouton: How to run Linux application Chromebook in Chrome OS Windows or browser tab)

Install Cinnamon on Chromebook using Crouton (Ubuntu 18.04)

Note: If you close the tab that runs the following command, remember to type shell After pressing Ctrl + Alt + T Otherwise the command will not work (you need to enter shell If the prompt is as follows: crosh>). This article assumes that you have switched your Chromebook to developer mode and that you have Downloaded Type Crouton in the “Downloads” folder of your Chromebook. For a complete guide to installing Ubuntu on a Chromebook using Crouton.1, please refer to this article. Using Bionic (Ubuntu 18.04) as the Ubuntu version, install some basic Crouton targets in the new Cinnamon chroot.Install Cinnamon crouton chromebook

In Chrome OS, press Ctrl + Alt + T Open the crosh shell with a new tab in Chrome, and type:

shell

Next, install the Crouton executable (it should have been downloaded to your “download” folder):

sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton

Now, use the following command to create Cinnamon chroot and install the core, cli-extra, xorg, keyboard, audio, and extension targets for Ubuntu 18.04 (bionic):

sudo crouton -n cinnamon -r bionic -t core,cli-extra,xorg,keyboard,audio,extension

You can skip the keyboard, audio, and expansion targets, but they may be needed in the future (though you can add them later).
We are using bionic Because it has the latest Cinnamon version. Although it is still not the latest version, you can use PPA Install an even higher version. But for this guide, we will stick to the Cinnamon version provided by Ubuntu 18.04 Bionic Beaver. The default Crouton target uses Ubuntu 16.04 (Xenial Xerus), which has Cinnamon 2.8.6 released in February 2015. Install Cinnamon in the new “cinnamon” chroot
Use this command to enter cinnamon The chroot created in step 1:

sudo enter-chroot -n cinnamon

Now, type the following command to install Cinnamon desktop and dbus-x11:

sudo apt install cinnamon dbus-x11 xterm

Installing cinnamon may take some time, so go for a cup of coffee … or two. You can also install the complete Cinnamon desktop by installing the following tools, as described in the Ubuntu 18.04 repository (if PPA is used, it will not work). cinnamon-desktop-environment Packages, but this will result in a long installation time and many additional packages are installed.
It is important to mention the installation dbus-x11 It is very important-if you don’t have it, you will see an error when trying to start Cinnamon, stating “Unable to connect to the session bus: usr / bin / dbus-launch terminated abnormally without any error message”.
In addition, this command will also install XTerm because the Gnome Terminal application installed with Cinnamon will not start. Therefore, when you want to start the Cinnamon desktop terminal later, start XTerm instead of Gnome Terminal. You can also install Tilix or some other terminal emulator 3. Set up a script to start Cinnamon
Assuming you are still in Cinnamon chroot (if not, type sudo enter-chroot -n cinnamon), Type the following:

echo "exec cinnamon-session" > ~/.xinitrc

Next, while still in chroot, use this command to download the script that starts Cinnamon in Windows (you can check it here). Downloads Folder and make it executable:

cd ~/Downloads

wget https://gist.githubusercontent.com/logix2/4d877912dcde328daf629826b4fd4fc9/raw/c612616e89b53591b04594f83ad9f0c7c1b232b8/startcinnamon

chmod +x startcinnamon

And exit chroot:

exit

Now, in Chrome OS, use this command to copy startcinnamon Script /usr/local/bin:

sudo cp ~/Downloads/startcinnamon /usr/local/bin/

The “download” folder is shared between Chrome OS and chroot, so you can copy startcinnamon Even if the script is downloaded in Cinnamon chroot, the script cannot be used on Chrome OS. We have downloaded it using chroot, so we can use wget.
Cinnamon getting started instructions based on Tenn1518 Cinnamon croutons Repurchase 4. Start cinnamon
You can now start Cinnamon by typing:

sudo startcinnamon

If you have closed the tab from the Chrome OS browser, please follow the steps below to open a new crosh tab Ctrl + Alt + T,Types of shell, Followed by sudo startcinnamon On a new line. From now on, this is how you start cinnamon.
Switch between Chrome OS and Cinnamon by using Ctrl + Alt + Shift + Back with Ctrl + Alt + Shift + Forward. This way, you can switch between Ubuntu / Cinnamon and Chrome OS without having to quit Ubuntu.
To exit Cinnamon / Ubuntu, log out from the menu on the Cinnamon panel.

Use Crouton to adjust cinnamon running on a Chromebook

1. Install some basic applications
When cinnamon powder is installed on a Chromebook, it is almost barebones. You will get Nemo (the default Cinnamon file manager), but many necessary applications are missing.
Let’s install some important applications. Start Cinnamon, open XTerm (or other installed terminal emulator, but not Gnome Terminal, because it cannot be started as described above), and use this command to install the graphical Ubuntu Software Center (Gnome Software). Text editor (Gedit), command line text editor (nano), image viewer (Gnome’s eyes), video player (VLC), Gnome system monitor (for viewing CPU / memory usage etc.) and software properties-common (so you can add a PPA repository):

sudo apt install gnome-software gedit nano eog vlc gnome-system-monitor software-properties-common

It is worth noting that Cinnamon now uses some of its own Gnome application branches, but it is not available in the Ubuntu repository (except the Nemo file manager).
You will not be able to launch software applications for installing other software from the Cinnamon menu. Instead, open a terminal and start it with the following command:

sudo -H gnome-software

If the application is not listed, try restarting Cinnamon. In my Cinnamon Crouton installation, Gnome Software does not display any applications on its homepage, but the category page lists the applications and the search also works.

How to install Cinnamon desktop on Chromebook using Crouton
Gnomish software application

You can use the Gnome software to install “legacy” DEB packages from Ubuntu repositories or PPA repositories, but it can also be used to install Snap or Flatpak packages. If you are using Crouton, you cannot currently install such packages.
There is another option. You can use Synaptic as a graphical tool to install other software. You can install it using the following methods:

sudo apt install synaptic

The synapse must also be launched from the terminal as follows:

sudo -H synaptic

2. Install and use some other themes
The default theme used after installing Cinnamon bare metal in Ubuntu 18.04:How to install Cinnamon desktop on Chromebook using Crouton

Cinnamon running on Chromebook using Numix GTK theme (for window borders and controls) and Moka icon theme:How to install Cinnamon desktop on Chromebook using Crouton

If you do n’t like the default apps and icon themes, you can install more. This command will install several Gtk and icon themes:

sudo apt install numix-gtk-theme greybird-gtk-theme suru-icon-theme moka-icon-theme

Now you can use one of these themes in the following ways menu > System Settings > ThemesAnd then change Window borders, Controls with Icon theme.

How to uninstall (remove) cinnamon from your Chromebook

In Chrome OS, press Ctrl + Alt + TAnd then enter:

shell

Now, you can delete the Cinnamon chroot using the following command (assuming you used the “cinnamon” chroot name, as described in the instructions in this article):

sudo delete-chroot cinnamon

Source

Sidebar