|continued from:||chromebook sudo startkde fails again [link]|
Get Ubuntu linux running again on the chromebook and install the program musescore.
The chromebook is still running developer mode, and we can still open up a terminal in the chrome brower, but then when in the terminal, running
$ sudo startkde
fails with an error.
In a browser, go to https://github.com/dnschneid/crouton. At the top of the page where is says Chromium OS Universal Chroot Environment, click on https://goo.gl/fd3zc to download the latest release of crouton. To check that it has downloaded,
$ ls ~/Downloads
<stuff> crouton <more stuff>
To see what linux distributions are available for installation crouton, run
$ sh ~/Downloads/crouton -r list
to see a list of the debian, kali, and ubuntu linux releases that crouton supports.
Let's install a current ubuntu release -- xenial. To install it run
$ sudo sh ~/Downloads/crouton -n xenial -u -u
and then wait for about two minutes for the installation to complete. Call the crouton command with two -u's to force an update (this is because before taking notes we tried an encrypted installation, sudo sh -e ~/Downloads/crouton -n xenial -u but this gave errors). I am a little puzzled why we are not asked for a username or password; crouton must be remembering those from a previous installation.
$ sudo startkde
boots an ubuntu desktop. We can get back to chrome by pressing [ctrl]+[alt]+[shift]+[F1] (where the F1 is the left-arrow key located one key to the right of the esc key). In chrome, get back to ubuntu by pressing [ctrl]+[alt]+[shift]+[F2] (where the F2 is the right-arrow key located two keys to the right of the esc key).
Check the version of ubuntu
$ lsb_release -a
Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial
Go to https://musescore.com, click on [Download Musescore], scroll down to the bottom and look for "Ubuntu". Follow the Ubuntu-installation link and read. Run, in an x-term in ubuntu,
$ sudo apt-get install mscore
and type Y when asked. The application now appears in the operating system's 'Applications > Multimedia` folder. The application opens when clicked. Neato!
Problem: Can't close application windows with the mouse. Follow advice in the crouton issue "Can't move or close windows i KDE" [link]. In an x-term in ubuntu linux, run
$ sudo apt-get install kwin
Log out of ubuntu, then in chroot exit and close the shell window. Open a new shell ([Ctrl]+[Alt]+T), $ sudo startkde, and we can now move application windows around using the mouse as expected.
We'll want to back up music files that we create in Ubuntu. Save them to the Downloads directory which is visible in both Ubuntu and Chrome. To get files from Chrome to Google Drive, see