Pretty (Inter)face
Tutorial – Plasma
If you want features, bells and whistles, and configurability in spades, your best choice of desktop is probably KDE's Plasma desktop. Navigating and discovering all that's on offer can be a challenge, though.
While many user interface designers advocate simplicity and simplified decision-making for users (which often results in no decision-making at all), the KDE community [1] has stubbornly gone the other way, jam-packing all manner of features and doodads into its Plasma [2] desktop (see the "KDE Is Not a Desktop" box).
Table 1
How Light Is Light?
Desktop | RAM Used | Bootup | Firefox Startup | LibreOffice Startup |
---|---|---|---|---|
Gnome |
542MiB |
~51sec |
7.41sec |
10.75sec |
Xfce |
530MiB |
~45sec |
7.66sec |
10.10sec |
Plasma |
489MiB |
~60sec |
7.40sec |
8.07sec |
KDE Is Not a Desktop
This has been the subject of much controversy and confusion, but, no, KDE is not the name of a desktop environment anymore and hasn't been for some time now.
The desktop is called Plasma. KDE, on the other hand, is the name given to the community of developers, artists, translators, and so on that create the software. The reason for this shift is because the KDE community builds many things, like Krita, Kdenlive, digiKam, GCompris, and so on, not just Plasma. Many of these applications are not even tied to Linux, much less to the Plasma desktop, and can be run on many other graphical environments, including Mac OS X, Windows, Android, and others.
Also, much like KFC does not stand for Kentucky Fried Chicken anymore, neither does KDE stand for Kool Desktop Environment. KDE is not an acronym for anything. It is just … KDE.
That said, if you want simple, Plasma can do simple, too. You can ignore all the bell and whistles and just get on with your life. But where is the fun in that?
Camouflage
A default Plasma desktop looks like Figure 1. Usually, you will find a panel at the bottom of the screen, a start button holding menus at the bottom left, and a tray on the right – all quite conventional, boring, and even Windows-y.
But Plasma can be configured to look like anything, even like Ubuntu's defunct Unity (Figure 2), Gnome, Mac OS, or whatever else rocks your boat.
To illustrate Plasma's flexibility, I'll show you some tricks you can use to emulate other desktops, starting with global menus. Both Unity and Mac OS use a global menu: It is the menu that appears in a bar at the top of the screen and shows a selected application's options, instead of having them in a bar along the top of the application.
To create global menus in Plasma, first right-click in any free space on the Plasma desktop and select + Add Panel | Empty Panel from the pop-up menu. Usually, the panel will appear across the top of the screen, because the bottom is already filled with the default Plasma panel. If it has popped up anywhere else, click on the hamburger menu (the button with three horizontal lines at one end of the panel) and then click and hold the Screen Edge button and drag the panel to the top.
Once you have placed the panel, click on the hamburger menu on the right of the panel again and click on + Add Widgets. A bar with all the available widgets will show up on the screen's left . You can narrow your search down by typing global into the search box. When you see the Global Menu widget, double-click on it, and it will be added to the panel.
Initially you may not see any difference. Indeed, open applications still have their own menubars. Close and reopen the applications, and you'll see how now their menus have moved from the application window to the upper panel you just made.
To make the effect even more striking, click the Start menu on the bottom panel and pick System Settings. Under Workspace Theme, choose Breeze Dark and click Apply. You will end up with something like Figure 3.
But theming is just one of the things you can do to tweak Plasma's look and feel. You can also configure the look, size, and location of individual applications and even individual windows to absurd lengths.
Window Hacking
Right-click on any window's titlebar, and a menu will pop up. Apart from the options to minimize, maximize, and close the windows, you'll notice the More Actions option. The Keep Above Others and Keep Below Others options are self-explanatory, but you can also make a window Fullscreen, and it will be maximized; the application's titlebar and any other desktop element (like panels) will disappear, giving you maximum workspace. If the application doesn't offer you a way to exit full screen, press Alt+F3 and use the menu to deactivate full-screen mode.
You can also "shade" the window, which means it will roll up like a blind, leaving only the titlebar visible. Another alternative is to remove the border and titlebar, leaving a bare window with no decorations. To recover borders and the titlebar, select the window and press Alt+F3 again to open the window's configuration menu.
Within Window Specific Settings and Application Specific Settings, you have all manner of options to fix the application window's position and size. You can make a window stick to a certain area of your screen and become unmovable. At the same time, you can adjust its size to the pixel. You can configure things so that, when you launch a certain application, it always opens in a certain place, maximized, or shaded. You can make the application so it won't close, or you can choose actions from dozens of other options.
Window Manager Settings opens another cornucopia of options for adjusting windows. From here, you can adjust things like the screen edges, for example. These are "live" areas that react and carry out an action when your cursor moves into them. Move your cursor into the upper left-hand corner of your screen, and you will see all the windows spread out and go a shade darker, showing everything you have open. You can use this trick to pick a window on which to focus, especially if you have several open (Figure 4).
As with everything Plasma, screen edges can be configured to execute a wide variety of other actions: You can minimize all the windows to show the desktop, open KRunner to run a command (you'll learn more about how KRunner works below), or open the window-switching panel on the left of the screen. The switching panel allows you to scroll through all the open windows to select the one you want.
Another of the more interesting configuration tabs in Window Manager Settings is the Effects tab. Old timers will remember things like wobbly windows and rotating cubes that plagued Linux desktops of yore. Those still live on in Plasma (Figure 5) and can be activated from this tab, but other effects are more intriguing and worth a second look.
Take, for example, the Thumbnail Aside effect. Activate this effect, maximize a window, and press Alt+Meta+T (the Meta key usually has a Windows logo on it), and you will see a small preview of the window appear in the bottom right-hand corner of your screen. You can make these previews translucent (the level of translucency is, of course, adjustable), so you can still see what is under the preview. You can also adjust the size to whatever you want. Click on another window, maximize it, press Alt+Meta+T again, and, lo and behold: Another preview will pop up above the first one (Figure 6).
Because these previews do not interfere with the cursor or the other windows, you can carry on with your work while you keep an eye on a video streaming in VLC or a complex install running in a terminal.
Certain caveats apply, though: As mentioned above, the windows you want to preview must be maximized. If you minimize a previewed window, the preview will disappear, but not close, leaving an empty space in the column of previews. Also, as shown above, you can remove borders and the titlebar from windows quite easily, and the Thumbnail Aside effect will not work with windows without borders.
Select the previewed window and press Alt+Meta+T again to close its preview.
Being Productive
While on the subject of shortcuts, you always have a terminal close at hand in Plasma: Hit F12 and a Yakuake terminal [3] unfolds from the top of the screen. You can run anything you need from this console. When you're done, hit F12 again, or click on a window, and the terminal folds back up, moving out of the way. If you are carrying out a long process, like compiling an application, folding the terminal up won't interrupt it: It will carry on in the background, so at any moment you can hit F12 again and check on its progress.
With regard to productivity/shortcuts/stuff that unfolds from the top of the screen, try pressing Alt+F2 (or Alt+Space, or simply click on an empty area in the desktop and start typing). A text box for searches appears at the top of the screen. This is KRunner [4], a built-in application originally designed to help search for (and run) applications. Nowadays, KRunner indexes everything: applications, for sure, but also email addresses, packages available from your software center, bookmarks from your web browser, folders, and documents (Figure 7). It is blindingly fast and coughs up results as you type.
KRunner can also be used as a media player (type play and the name of the song), a clock (type time), a calendar (date), a regular and scientific calculator (try typing =solve( 2*x^2 + 3*x - 2 = 0 ); the first result will be the solution to that polynomial function), as a unit and currency converter (type 100 GBP to see the value of 100 British pounds in different currencies), and a way to connect to remote computers (type fish://<your remote server> to open your SSH server in your file explorer).
KRunner is the epitome of what Plasma is all about.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.