Categories
Ξ TREND

How to speed up KDE Plasma 5 desktop


KDE Plasma 5 is a beautiful desktop environment. It has a large number of graphical effects that make it stand out, and for this reason, many users agree that it is one of the most attractive desktops in all of Linux. However, that beauty comes at a considerable cost in system resources, and as a result, many users are unable to enjoy the desktop to its full potential.

If you’re frustrated with the way KDE runs on your Linux PC, we can help! Follow along as we show you how to speed up your KDE Plasma 5 desktop!

Upgrade KDE Plasma 5

With each release, KDE Plasma 5 gets performance improvements. Therefore, if you are having problems with the KDE desktop environment malfunctioning, the first thing you should do is check for updates. Your Linux operating system most likely has a new version of KDE ready for you with fixes, performance improvements, and more.

Not sure how to update your operating system on KDE Plasma? That is how!

Step 1: Press the Windows key on your keyboard and type “Discover” in the search box. Then launch the app with the blue shopping bag icon.

Step 2: In the Discover app, look for “Updates” at the bottom left of the window and click on it to access the system update area for KDE.

Step 3: Update your KDE Plasma 5 desktop (and Linux OS as a whole) by locating the “Update All” button.

Are you using a Linux distribution that doesn’t receive regular updates? Get rid of the KDE-based Linux distribution you are currently using for KDE Neon. It is an Ubuntu-based Linux system that offers new updates to the KDE Plasma desktop on a stable LTS foundation. You always get the latest news, so you’ll always see performance updates from the KDE team. For more information on Neon, .

Adjust desktop effects

One of the most common reasons why KDE Plasma 5 slows down on low-resource computers is graphical effects. They take a significant toll on system resources (mainly your GPU). Therefore, a quick way to speed up the KDE Plasma 5 desktop is to drastically reduce or disable fancy graphical effects on the desktop.

To disable graphical effects in KDE Plasma, press the Windows key on the keyboard and type “Effects”. Launch the application that is labeled “Desktop Effects”.

Once in the effects area of ​​the desktop, you will be able to see many of the graphical effects that the KDE Plasma 5 system uses. Scroll down and uncheck the boxes next to all enabled effects and you should see a slight increase in speed and performance.

disable composition

Composite effects are awesome in KDE. They add shadow and depth to your applications. These effects also add a beautiful translucent effect to open windows (when you drag them) and other attractive effects.

It goes without saying, but these compounding effects play a big role in making KDE Plasma slow, especially on low-end computers. Fortunately, the KDE developers make it easy to disable compositing.

To disable composite effects, press the Windows key and search for “Composite.” An app icon labeled “Composer” should appear. Click on it and you will be taken to the Plasma Desktop Composite Settings.

Inside the Composer window, uncheck the box next to “Enable composer at startup”. Then click on the “Apply” button, close the window and restart your PC. When you log back in, the compositing effects will be turned off, which will speed things up.

Uninstall Akonadi

KDE has a central database system known as Akonadi. It’s a solid service and helps many applications access information on the Plasma desktop. While you won’t notice Akonadi running in the background in KDE if you have decent computer specs, those with lower-end machines may notice that it’s slowing down your KDE session at times.

Uninstalling Akonadi and disabling the database system is very easy, but it differs depending on which Linux distribution you are using. To disable the service, open a terminal window and follow the command prompts that correspond to the operating system you are using.

Note: uninstalling Akonadi will also uninstall any KDE programs that depend on it.

ubuntu

sudo apt remove akonadi –purge

Debian

sudo apt-get remove akonadi –purge

ArchLinux

sudo pacman -Rsc akonadi

fedora

sudo dnf remove akonadi

OpenSUSE

sudo zypper remove akonadi

Switch window managers (optional)

The Window Manager plays a huge role in how heavy a desktop environment is. In KDE, the window manager is not inflated by itself. However, replacing it will make a big difference to memory, GPU, and CPU usage, so it’s a good idea to swap it out for something slimmer if necessary.

Openbox is an ideal replacement window manager to combine with KDE Plasma. Best of all, the Openbox developers provide a KDE/Openbox session, so no configuration is required. To get your tuned KDE/Openbox session, open a terminal window and follow the instructions next to the Linux operating system you’re running Plasma on.

Note: You should only switch from the KDE window manager to Openbox if you have gone through this list and are still running into a slow KDE session.

ubuntu

sudo apt install openbox openbox-kde-session

Debian

sudo apt-get install openbox openbox-kde-session

ArchLinux

sudo pacman -S openbox

fedora

sudo dnf install openbox-kde

OpenSUSE

sudo zypper install openbox-kde

Log in to KDE/Openbox

To log into your new KDE / Openbox session, click on the KDE application menu and then click on the logout button. Once you have signed out, you will see the login screen. On the login screen, find “session” and click the dropdown next to it to reveal the desktop sessions that are available, then select “KDE/Openbox”.

After selecting the “KDE / Openbox” option, click on your username and enter your password to log in. When you’re done logging in, you’ll see the KDE Plasma 5 desktop, but with Openbox, a much lighter window manager.

Categories
Ξ TREND

How to Backup KDE Plasma 5 Desktop Settings on Linux

Love Plasma 5 and want to back up your configuration files just in case? If so, you’ll need to do some digging in your home directory, as the configuration files for the KDE Plasma 5 desktop belong in the ~/.config/ folder. That being said, KDE does not save all of its settings in one folder. Instead, they are scattered all over the place in the ~/.config folder. It is possible to back up KDE Plasma 5 by saving the entire configuration folder, but this is not something we recommend. The hidden configuration area in most Linux distributions is large. Compressing it would take too long.

KDE Connect Backup

Instead, it’s better to classify and copy all KDE items. Let’s start by backing up one of the key features of the KDE Plasma desktop: KDE Connect. Keeping a backup of KDE Connect really helps, as it’s a hassle to set everything up again.

Start by using CD to move to ~/.config

cd ~/.config

Copy the KDE connection folder to a new Plasma backup folder.

mkdir ~/plasma-backups cp -R kdeconnect

Alternatively, feel free to create a separate file of the same:

tar -jcvf kdeconnect-backup.tar.bz2 kdeconnect

Next, review and create a backup of all files related to “k”. This will include things like “kwin” and “kscreenlocker” etc.

mkdir plasmak-backups cp k* plasmak-backups mv plasmak-backups ~/plasma-backups

Most of the files have been backed up. Note that you can have more items, so use the ls command and browse to any other widget folder you want to save. Move them with the mv command to ~/plasma-backups.

KDE Plasma Backup

Now that many of plasma’s non-KDE related files have been safely backed up to the ~/plasma-backups folder, we can move the main Plasma backup items to the backup folder created earlier.

mv plasma* ~/plasma-backups

Everything related to the KDE Plasma desktop environment should be inside ~/plasma-backups. At last, we can create the tar file backup of everything. Start by moving the terminal from ~/.config to the home folder.

cd ~/

Then use the tar command to create a new backup of the file.

tar -jcvf plasma-backups plasma-backups.tar.bz2

Each file inside the ~/plasma-backups folder is now compressed into one archive. Feel free to take this folder and upload it to Dropbox, Google Drive, home servers, etc.

Restoring the backup

Do you need to restore the backup to a new installation? Begin by downloading your plasma-backups.tar.bz2 archive file. Move it out of the folder where you downloaded it and place it in ~/.config/ For example:

cd ~/Downloads mv plasma-backups.tar.bz2 ~/.config/

From here, you will be able to extract the contents of the file backup.

tar -xvf plasma-backups.tar.bz2 cd plasma-backups mv * .. rmdir plasma-backups rm plasma-backups.tar.bz2

Everything should go exactly where it is needed.

When the restore is complete, log out of KDE and then log back in. Everything should be like when you created the backups!

KDE Plasma 5 Automated Backups – Deja-Dup

There are many ways to create file backups on Linux, but Deja Dup is one of the best. If you are an avid KDE Plasma 5 user and want to keep track of your KDE Plasma configuration files at all times, you might want to consider using Deja Dup for backups.

The advantage of going this route is that Deja Dup can back up via multiple interfaces such as local network shares (Samba, FTP), directly to various online storage sites, or even locally. Another advantage of using Deja Dup is that it is possible to tell the backup tool what to exclude.

Here’s how to set up an automated backup of your KDE Plasma settings. First, follow the installation process in our guide here. Then, open Deja Dup and select “folders to ignore”. Click the + sign and navigate to the ~/.config folder.

Add any folders that do not belong to KDE Plasma 5. Excluding these files should drastically reduce the size of your backup file.

Note: Deja Dup currently does not support file-by-file filtering, so some other non-KDE files may be backed up, depending on what is installed.

Then go back to the main page and select “Save Folders”. Click + and add ~/.config as the main backup folder.

Now that the correct folders are ready to go, click on “Schedule” and click the slider next to “automatic backup”.

Go to “Overview” in the Deja Dup backup tool and click “Backup” to create your first backup. From now on, all KDE Plasma desktop configurations will be done automatically.

Restoring the backup

Restoring backups for KDE Plasma in Deja Dup is quite easy and starts with opening Deja Dup and clicking “storage location”. In the location box, fill in the network details correctly so Deja Dup can find everything.

With the correct location set, click on “Summary” and then select the “Restore” button. If Deja Dup successfully finds the storage location, the restore can begin. When Deja Dup finishes, restart your PC. Upon login, everything should be back to normal.