Installation

Install Regolith on your computer.

Based on your preferred installation method, follow one of the following two sections to install Regolith:

Option 1: Ubuntu Installer

ISO installers are not available for the R1.3.1 release. The R1.3 release can be installed and updates will bring the system up to R1.3.1 automatically.

  1. Download an ISO image (both the Ubuntu LTS 18.04 and most recent 19.10 bases are available) and then use an OS installation tool such as USB Creator to write the downloaded file into a USB device. Here are Ubuntu guides for performing this action in Windows, Mac, and Ubuntu.
  2. Reboot the computer and select the USB flash drive to boot from.
  3. Install or run the live environment by providing information when prompted during the setup process. See this tutorial to learn more about the installation process.
  4. When prompted, reboot the computer and login to your new Regolith environment!

Option 2: PPA

  1. See below about PPA sources, and add your chosen PPA to your system:
$ sudo add-apt-repository ppa:regolith-linux/release
  1. Install the Regolith desktop package:
$ sudo apt install regolith-desktop
  1. Reboot the computer, and when logging in select the “Regolith” session in the gear menu (⚙️):

Ubuntu Login Screen

Upgrades

To upgrade from Regolith 1.0 - 1.2, the PPA URL must be changed and then new package versions are applied by the package manager:

$ sudo add-apt-repository --remove ppa:kgilmer/regolith-stable
$ sudo add-apt-repository ppa:regolith-linux/release
$ sudo apt update && sudo apt dist-upgrade

After performing these steps, you'll need to log out and back again.

Upgrading with Customizations

When updating from a major or minor version (eg 1.2 to 1.3), it is often the case that new Xresource values and other config files have been updated. Existing Xresource and config files such as the i3 config file will need to be updated in order for the upgrade to function properly. If you've customized any Regolith config files or created a stand-alone Xresource file (~/.Xresources-regolith), these may need to be updated to take the upgraded files into account. A simple approach to doing this is to move them elsewhere, perform the upgrade, and then reintegrate any desired customizations into the new files:

$ mkdir ~/regolith-backup
$ cp ~/.Xresources-regolith ~/regolith-backup
$ cp -r ~/.config/regolith/i3* ~/regolith-backup
$ rm -Rf ~/.config/regolith/flags

Once these steps are performed, logging back in should result in a “stock” instance of Regolith. From there, any changes desired to be reintegrated can be done by editing the new versions of the Regolith config files that exist in the /etc/regolith directory.

Edits to root-owned files

If you've taken shortcuts and manually edited files owned by root in /etc/regolith or elsewhere, the packaging tool may not update the files, nor mention that stale files have been left. Even removing the package via apt remove ... may not result in a clean system. In this case, use the purge command to remove the package and manually delete any left over files. For example, to clean up the i3 config file:

$ sudo apt purge regolith-i3-gaps-config
$ sudo rm -Rf /etc/regolith/i3 # be sure to backup any important changes
$ sudo apt install regolith-i3-gaps-config

Upgrading Ubuntu

Upgrading from Ubuntu 18.04, 18.10, or 19.04 to 19.10 requires that the Regolith PPA be re-added once the Ubuntu upgrade completes.

  1. If the standard Ubuntu session is not installed, install it:
    $ sudo apt install ubuntu-session. (If you have it already installed this should cause no harm.)
  2. Perform the upgrade to 19.10.
  3. After rebooting, log into the stock Ubuntu session, not Regolith.
  4. Add the R1.3+ PPA, as the installation process removed PPAs:
    $ sudo add-apt-repository ppa:regolith-linux/release
  5. Upgrade Regolith to the latest version:
    $ sudo apt upgrade && sudo apt install regolith-desktop
  6. Reboot, and now select the Regolith session at the login screen.

NOTE: Some users have reported that regolith-desktop is automatically uninstalled during the upgrade. If this happens, simply run sudo apt install --reinstall regolith-desktop after the upgrade completes to restore the Regolith desktop session.

Reinstallation

In the case that the Regolith desktop environment becomes corrupted or otherwise unbootable, follow these steps to reset it. No user files will be removed as part of this process:

  1. Login to the stock Ubuntu session. If this session is not available, install it with sudo apt install ubuntu-session. If you are unable to login, type ctrl alt F2 to access a TTY. After installing ubuntu-session, you will have the option to select the Ubuntu session type in the login screen.
  2. Uninstall Regolith from within the Ubuntu session:
$ sudo apt remove regolith-*
$ sudo apt autoremove
$ rm -Rf ~/.config/regolith/flags
  1. Verify that no regolith packages are still installed with apt list --installed | grep -i regolith. The command should not return any packages. If it does, manually uninstall them with sudo apt remove <package>.
  2. Reinstall Regolith:
$ sudo apt install regolith-desktop
  1. Reboot the computer, and when logging in select the “Regolith” session in the gear menu. At this point you can remove or keep ubuntu-session.

Uninstallation of regolith-desktop

Simply follow these steps to remove Regolith from your system:

  1. Log out of the Regolith session and into the default Ubuntu session.
  2. Open a terminal and run:
$ sudo apt remove regolith-desktop regolith-st && sudo apt autoremove
  1. Now remove the PPA:
$ sudo add-apt-repository --remove ppa:regolith-linux/release
  1. To restore your GNOME settings, run:
$ source ~/.regolith-gnome-backup
  1. You can safely delete the directory ~/.config/regolith.

PPA Sources

There are 4 sources for Regolith packages for release 1.3. The release PPA is recommended for most users, but another may be better for you based on your needs. Here is a description of each PPA.

Name PPA URI Freshness Stability Description
Unstable ppa:regolith-linux/unstable Very High Low The unstable PPA is recommended for project developers and anyone that's alright with troubleshooting their own system and doesn't mind some problems from time to time.
Stable ppa:regolith-linux/stable High Medium The stable PPA is for those that would like the latest features, even between official releases.
Release ppa:regolith-linux/release Low High The release PPA provides bug fixes as they occur and feature updates upon release.
r1.3 ppa:regolith-linux/r1.3 Very Low Very High The r1.3 PPA is locked to the 1.3 release and will not be updated except for critical bug fixes.

Last modified April 1, 2020: Add section for ubuntu upgrade. (fe4776a)