1. Tutorials

Things To Do After Installing openSUSE Leap 15.2

.

openSUSE releases “stable” images each 8 months called Leap. There’s also a rolling release branch coming from openSUSE called “Tumbleweed”. It has the latest and freshest packages coming from everywhere. However, those packages are less stable than the Leap branch, because they are very bleeding-edge.

Currently, the latest stable version of the Leap branch is 15.2, which was released few weeks ago. We’ve made a complete review for the new openSUSE 15.2 release, which you can check before reading this post.

We’ve also highlighted some features which make openSUSE a remarkable Linux distribution. You can check them from our post: Reasons to give openSUSE a try.

Today, we’ll go in a walk-through of things to do after installing the newly-released openSUSE Leap 15.2 distribution.

Run a System Update

1 things to do after installing opensuse

Just like any other distribution which we talked about, you must run an update after installing your new OS, as lot of updates and bug fixes may exist. Running the update on openSUSE is done using the zypper package manager:

sudo zypper update

Check your Snapper/Btrfs Snapshots Settings

One of the most remarkable features of openSUSE is how well-integrated it is with the Btrfs filesystem, which is a copy-on-write filesystem that allows you to keep different snapshots of any modified files you on your system, as you desire.

openSUSE has a special tool that utilizes Btrfs, called Snapper. It is part of the YaST2 management tool. Snapper depends on the creation of different configuration files located in /etc/snapper/configs/ for each Btrfs subvolume you want to keep taking snapshots of.

After installing openSUSE 15.2, you should check whether Snapper is enabled or not (To take automatic snapshots). A simple way to do that would be to open the Snapper tool from YaST2:

3 things to do after installing opensuse

If you succeeded in opening the tool, it means there’s already a Snapper configuration running for you. If you failed and a “Non-existing configuration file” message appeared, then this means that the snapshots feature is disabled for your system. To enable it, you should run:

sudo snapper -c root create-config /

By default, if you install the /home directory on the same / partition (Not on a separate partition, I mean), then the home folder is NOT included in the snapshots your system we’ll be taking. To include it, you have to create another separate Snapper configuration file for it:

sudo snapper -c home create-config /home

You should also enable Snapshots for YaST2 administrative tasks, so that you can restore your settings later if changed. Edit /etc/sysconfig/yast2 file and make sure USE_SNAPPER is set to "yes".

Now, we have to modify our two configuration files according to our needs. You can simply edit the two text configuration files (With root privileges) in any text editor you like. The structure of both files is the same, the only difference is what changes we would like to do for them.

5 things to do after installing opensuse

If you run sudo nano /etc/snapper/configs/root for example to edit the snapshots settings of the / partition, then here are some possible settings you can change:

  • BACKGROUND_COMPARISON="yes" when creating a new snapshot of the specified directory (whether / or /home), Snapper can run the comparison process in the background to distinguish the old files from new, so that when you open the Snapper window in the future, it doesn’t take anytime in displaying the changes between the old snapshot and the new one for you. While this is a good feature in theory, it could cause a load on I/O operations over time and make your system slow if it doesn’t have enough resources, so it would be wise to change it to no.
  • Snapper gives you two algorithms for getting rid of old snapshots: By limiting the number of snapshots stored on your system, and by a timeline (E.g keep all snapshots in the last 24 hours). And you can change the settings of both algorithms according to your needs, how frequent you run updates/do changes on your system and how much space you have on disk.
  • NUMBER_CLEANUP="yes" lets you clean the snapshots by limiting the number of snapshots to keep each day. Use it with NUMBER_LIMIT="50" and NUMBER_LIMIT_IMPORTANT="10" to tell Snapper what number of snapshots you want to keep on your system. The first one is for general snapshots and the second one is for important snapshots (Like package management). Also make NUMBER_MIN_AGE equal to 0 if you want to just keep a number of snapshots, regardless of their age (By default, backups younger than 30 minutes are never removed). Read further about these values from the official Snapper documentation.
  • TIMELINE_CREATE="yes" and TIMELINE_CLEANUP="yes" are for creating hourly snapshots and cleaning them. Snapper will create hourly snapshots of both your / and /home subvolumes, and automatically delete older snapshots than the values specified in vTIMELINE_LIMIT_HOURLY and others. So for example, you could tell your system to keep all snapshots in the last 24 hours, start deleting them after that and keep 7 snapshots in a week or 30 in a month… Whatever you prefer. Read more on that from the official docs.
  • When you run zypper or YaST2 updates, the system also creates snapshots before and after the operations you run, so that you can always rollback to the previous snapshots if you don’t like what happened to your system. You can specify the age of these snapshots with EMPTY_PRE_POST_MIN_AGE="1800" (The value is in seconds).

Here’s an example of how to use Snapper. I simply open the tool, and then using the /home configuration, I can create a new snapshot of my home folder immediately:

7 things to do after installing opensuse

After that, I can modify a text file in my home folder, and then create a new snapshot, and Snapper will show me the modified files between the two snapshots, and offer me an option to rollback if I want:

9 things to do after installing opensuse

Keep in mind that Snapper is an advanced tool that requires caution when being used. You should always restore only the files you want instead of restoring your entire root or home partitions. Read more about Snapper from its official documentation page.

Enable Packman Repository

things to do after installing opensuse

You can say that Packman on openSUSE is like RPM Fusion on Fedora. Due to openSUSE policy and other patents-related issues on shipping packages, some of them may not be available from the official repositories.  Packman is a repository which provides those packages for all the supported openSUSE versions.

To enable it on openSUSE Leap 15.2:

zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.2/ packman

Make sure you have enabled the repository on your system before continuing reading. As a lot of the stuff we’ll mention are depending on the Packman repository.

Install Multimedia Codecs

Due to patents and other legal issues, a lot of multimedia codecs are not supported by default on openSUSE. That’s why your Firefox browser for example will have issues in playing videos on Twitter/Facebook/Other sites after installation.

However, after you have enabled Packman repository, you can now install those codecs easily. Just run the following command:

sudo zypper in opi && opi codecs

If it asks about whether to use the Packman repository, tell it yes. If it asks you about whether to trust the key of the Packman repository, answer with “a” (Always). A change of vendor may also be necessary (Tell it yes).

And that’s it.

Install NVIDIA & AMD Drivers

12 things to do after installing opensuse

By default, openSUSE only ships with the free drivers for NVIDIA and AMD graphics cards. However, if you want more performance, you may install the proprietary drivers for those cards.

To install NVIDIA driver on openSUSE Leap 15, run:

sudo zypper addrepo --refresh 'https://download.nvidia.com/opensuse/leap/$releasever' NVIDIA
sudo zypper install-new-recommends

For AMD drivers, they are already there in the system if you are searching for the open source ones. For the proprietary ones, you’ll need to download the official driver from the AMD website. Search for something like AMDGPU-Pro Driver Version 17.40 for SLED/SLES 12 SP2​ (or any newer version that is for SLED/SLES) and download it. After you download the driver and extract it, run the checking process using:

sudo sh amdgpu-pro-preinstall.sh --check

It will show you if there are any repositories or packages that are missing. To run the script which automatically solves those problems and adds needed repositories:

sudo sh amdgpu-pro-preinstall.sh

Finally, you can now install the driver:

sudo ./amdgpu-pro-install -n

Then reboot.

Try Vanilla Kernel

This step is optional. If you have some weird problems with the kernel shipped by default in openSUSE due to its patches or the backported drivers from newer kernel, or if you just want a vanilla kernel, you may install it easily on openSUSE using the following command:

sudo zypper in kernel-vanilla

When rebooting, make sure that you enter to the vanilla kernel instead of the default one.

Explore YaST Modules

things to do after installing opensuse

YaST is the spirit of openSUSE. It comes by default with a few modules installed to configure bootloader, network, software and a lot more. However, YaST is not just those modules. There are around 80 different modules for YaST which you can install in a single click. Feel free to browse them to see if you need any.

To list the name of their packages on your system, run:

sudo zypper search yast2-

Install TLP For Battery Optimization

TLP Applet in Unity

Some users – on some specific hardware – may notice a higher battery consumption rate on Linux than on Windows. This is explained in details with the solutions as well in our article: “7 Tips to Reduce Battery Usage on Linux“.

The easiest thing you can do to solve this problem on openSUSE, is simply installing TLP. Which is a nice power management system working in the background to save battery power when possible:

sudo zypper install tlp tlp-rdw
sudo systemctl enable tlp

Then reboot your system.

Get Awesome Firefox Addons

things to do after installing opensuse

Firefox is the default web browser in openSUSE. You may check those addons if you want to customize it:

  • GNOME Theme: A nice theme for Firefox on theme. Giving it GNOME-like style.
  • uBlock Origin: The famous ad-blocker plugin. Please make sure to add us to the whitelist!
  • Self Destructing Cookies: For a better privacy and anonymity on the Internet. It’s better to destroy the cookies directly after you close the tab it’s associated with. This is exactly what this extension does. Although it will directly end your sessions (you will have to login again each time), but it will give you a good privacy shield. Turn on automatic cleanup after you install it.
  • Privacy Badger: Block tracking scripts and other 3rd-party online tracking software.

Additionally, you may read this:

Customize GNOME Shell

17 things to do after installing opensuse

This applies if you installed GNOME Shell on openSUSE 15.2. The default look and feel for the shell is not that good, and it’s missing a lot of functionality. However, you can check our article below for awesome ways to customize your shell:

Try Other Web Browsers

things to do after installing opensuse

If you don’t like Firefox, you may try a set of other web browsers which are available in openSUSE & Packman repositories. For example, you can try Chromium, which is the open source browser developed by Google:

sudo zypper in chromium

Vivaldi is also available:

sudo zypper in vivaldi

You may also give Nightly a shot. Nightly is the under-development version of Firefox. All new features are added to Nightly first before it goes gradually to the beta and stable channels.

Install a Set of Essential Apps

things to do after installing opensuse

openSUSE repositories are full of apps. You can search for the software you want from YaST2 or software.opensuse.org. In both cases, here are some applications which we recommend.

VLC is one of the best multimedia players out there. It’s free and open source. You can install it via:

sudo zypper in vlc

If you are a gamer, then you may probably want to install Steam:

sudo zypper in steam

Fedora Media writer is a great graphical app to burn ISO images on USB sticks and SD cards. You can install it on openSUSE using the instructions in our tutorial.

Create a Backup Plan

things to do after installing fedora

Having a backup is extremely important. You don’t want to lose all your files and data just because something broke on your system. That’s why it’s important to invest a little time in setting it up.

Dropbox is probably the most famous solution on Linux desktops. You can install it using:

sudo zypper in dropbox

You can also install its Nautilus (GNOME file manager) extension using:

sudo zypper in nautilus-extension-dropbox

Final Thoughts

Here ends our list. You are now ready to go and start using your new OS in the way you like. If you are searching for desktop customizations, then you may find those in GNOME Look or KDE Store. There are tons of themes and icons which you can download from there.

We are happy to receive all your comments and questions in the comments form at the end of the page.

.
People reacted to this story.
Comments to: Things To Do After Installing openSUSE Leap 15.2
  • August 23, 2017

    Small update need for this guide; Tumbleweed has official nvidia repos as of 11 Aug 2017 as announced here https://lists.opensuse.org/opensuse-factory/2017-08/msg00343.html

    Reply
  • June 4, 2018

    Great post, I think it covers all of the bases well!

    Reply
  • December 13, 2018

    nice guide

    Reply
  • January 13, 2020

    I need some help, I have been using OPENSUSE off and on for about 15 years, like I said though not steadaly. What I need help with it the Ymp one click system. I downloaded the new OpenSUSe Tumbleweed and Yast came with it, and it showd up on my desktop, but then I did and update and Yast was gone.

    Here is the problem I have downloaded the new Yast2-storage-ng,ymp program to my system. After downloading it I left clicked twice, and what I go was the code “heading” (yast2-storage-ng.ymp-Kate. Yast2 did not install, and now I do not have any way of getting in to the deper parts of OpenSUSE Tumbleweed to do what I need to do.

    Can someone please tell me why when I click on a ymp file all I get is the Kate screen, and nothing else happens. I need the yast program to run.

    Reply
    • January 13, 2020

      It sounds like you are missing a package that opens the 1-click YMP files automatically in YaST. I sadly do not remember the name of the package, but you can ask for help either on the forums or the IRC of openSUSE: https://forums.opensuse.org

      Reply
Write a response

Your email address will not be published. Required fields are marked *