KDE Plasma5 Fixes
This page aims to setup a nice KDE Plasma5 desktop for someone who’s coming from Windows.
KDE Neon: Missing Software / Fixes
There are a few things missing from User Edition of KDE Neon for regular usage.
Kubuntu: Backports PPA
Kubuntu will usually only get bugfixes for a few months. By default, Kubuntu will not update from Plasma 5.18 to Plasma 5.19 which has new features. Kubuntu provides a backports PPA which will allow users to upgrade to the latest version of the Plasma desktop.
Useful Software
Windows Software Emulation
Developer Software
Gaming Software
LibreOffice (Microsoft Office/Word Substitute)
(Optional) If you want a more up to date version of libreoffice (v6.0) instead of the Long Term Support version (v5.1), setup the following ppa before installing LibreOffice.
To install LibreOffice, we’ll use the gtk3 version and the breeze LibreOffice style. We also need the Calibri and Cambria font replacements otherwise Microsoft Office files will look weird. Lastly we should clean the icon cache to prevent issues when switching styles.
Configuration
Autostarted Apps
-
Disable restoring session on Login (restarting apps open during Logout)
System Settings > Startup & Shutdown
Desktop Session Tab > On Login: Check Start with an empty session
Desktop
-
Always Hide System Tray Notification Icons
Right Click the “Expand System Tray Triangle” > System Tray Settings.
Entries Tab > Networks > Visibility: Hidden -
Disable Icon in System Tray
Right Click the “Expand System Tray Triangle” > System Tray Settings.
General Tab > Extra Items > Uncheck: Clipboard, Battery -
Don’t sort windows in Taskbar
Right Click the empty area on the taskbar next to the tasks > Task Manager Settings
Behavior Tab > Sorting: Manual
Behavior Tab > Uncheck: Keep Launchers Separate -
Hide windows from other Desktops in Taskbar
Right Click a Task > Task Manager Settings
Behavior Tab > Show only tasks: > Check: From current desktop -
Pin Apps to Taskbar
Launch App
Right Click app in Taskbar > Check: Show Launcher When Not Running -
Hide audio indicator in window list
Right Click a Task > Task Manager Settings
General Tab > Uncheck: Mark applications that play audio -
Disable Middle-Click Paste Notes Widget
Right Click Desktop Wallpaper > Configure Desktop
Mouse Actions Tab > Press the Delete icon next to the Middle-Button row. -
Lock Widgets
Plasma 5.18 and above has hidden the “lock widgets” toggle. It’s very easy to enter “edit mode” with a long press. If you want to get the old locked mode behavior, run the following command:
If you want an easier way to toggle locking widgets in Plasma 5.18, install Win7ShowDesktop widget which has a “Lock Widgets” toggle in it’s right click menu.
-
Disable Top Left “Hot Corner”
System Settings > Desktop Behaviour
Screen Edges Tab > Top Left: No Action -
Bind Ctrl+Alt+Left/Right to Switch Desktop
System Settings > Desktop Behaviour
Virtual Desktops Tab > Switching > Shortcuts
Switch One Desktop Left:Ctrl+Alt+Left
Switch One Desktop Right:Ctrl+Alt+Right
Switch To Desktop 1, 2, …: None -
Disable Switch Desktop when scrolling over desktop wallpaper
Right Click the desktop wallpaper > Desktop/Folder View Settings
Mouse Actions Tab > Remove: Vertical Scroll => Switch Desktop -
Disable bouncing cursor when apps open
System Settings > Applications
Change “Bouncing” Cursor to “No Feedback” -
Disable focus stealing prevention
System Settings > Window Management
Window Behaviour Tab > Focus Stealing Prevention: None -
Fix Alt+Click in certain games/software
Note: Plasma 5.20 has changed the default to
Meta+Click+Drag
, but these instructions are the same for changing back toAlt+Click+Drag
.
Alt+Click+Drag
was a standard keybinding for moving a window in Linux. It tends to conflict with software designed for Windows like Games, Inkscape and Blender. To fix, we’ll change it toMeta+Click+Drag
.
System Settings > Window Management
Window Actions Tab > Inner Window, Titlebar, Frame > Modifier Key:Meta
OR set Left button: “Nothing” to disable it completely. -
“Normal” Alt+Tab popup
System Settings > Window Management
Task Switcher Tab > Click the “star icon”
Select “Thumbnail Grid” in the dropdown.
Note: You may need to install a package if “Thumbnail Grid” is missing.kwin-addons
(Kubuntu / KDE Neon),kdeplasma-addons
(Arch / Manjaro / Fedora),plasma5-addons
(OpenSUSE). -
Show Alt+Tab popup as fast as possible
Normally it will wait 90 milliseconds before trying to show the popup. This makes quick switches faster since it doesn’t need to draw anything.
We need to setDelayTime=0
under the group[TabBox]
in the file~/.config/kwinrc
, then reload kwin.
It’s easier to use these commands than doing it by hand.You can also disable the highlight window effect by going to:
System Settings > Window Management > Task Switcher Tab
Uncheck: Show selected window -
Disable Lock Screen
System Settings > Desktop Behaviour > Screen Locking Tab
Uncheck: Lock screen automatically after __ min
Uncheck: Lock screen on resume -
Disable Logout/Shutdown Confirmation
System Settings > Startup and Shutdown
Desktop Session Tab > Uncheck: Confirm Logout -
Redden the Screen at Night
This is known as Night Light on Windows and Android
System Settings > Display and Monitor > Night Color
Check: Activate Night Color -
Windows Keybindings for moving windows
System Settings > Shortcuts > Global Keyboard Shortcuts Tab
KWin > Show Desktop:Win+M
KWin > Maximize Window:Win+Up
KWin > Minimize Window:Win+Down
KWin > Quick Tile Window to the Left:Win+Left
KWin > Quick Tile Window to the Right:Win+Right
To open the “Start Menu” with the Windows key see the section below. -
Present all windows with Win+Tab
System Settings > Desktop Behavior
Desktop Effects Tab > Check Present Windows
Click the Gear Icon > Change theCtrl+F10
shortcut toMeta+Tab
Layout mode: “Natural” => “Flexible Grid” -
Change titlebar height
System Settings > Fonts
Window title > Edit Font Size -
Hide titlebars when maximized (like Ubuntu)
We need to set
BorderlessMaximizedWindows=true
under the group[Windows]
in the file~/.config/kwinrc
, then reload kwin.
It’s easier to use these commmands than doing it by hand. -
Launch app with discrete GPU
Also known as using
prime-run
(PRIME wiki) or using theDRI_PRIME=1
environment variable.
Open Application Launcher > Right Click app
Application Tab > Advanced Options
Discrete GPU > Check: Run using dedicated graphics card
Windows/Meta Key
-
Open KRunner with Windows/Meta key
We need to set
Meta=...
under the group[ModifierOnlyShortcuts]
in the file~/.config/kwinrc
, then reload kwin.
It’s easier to use these commands than doing it by hand.
Plasma 5.18 and above:Plasma 5.17 and below:
-
Open Overview with Windows/Meta key
Overview was formerly called “Present Windows” before Plasma 5.23.
We need to setMeta=...
under the group[ModifierOnlyShortcuts]
in the file~/.config/kwinrc
, then reload kwin.
It’s easier to use these commands than doing it by hand. -
Open Keyboard Shortcut with Windows/Meta key
To run any keyboard shortcut with the Meta key, first open Konsole and run the following commands.
There are other shortcut groups (components) besides
/component/kwin
if you wish to use them. Once you find the “internal shortcut id” of the command you wish to activate, test the following command.After you figure out the dbus command needed, we need to set
Meta=...
under the group[ModifierOnlyShortcuts]
in the file~/.config/kwinrc
, then reload kwin.
It’s easier to use these commands than doing it by hand.
Login Screen (SDDM) / Lock Screen
-
Change Login Screen Wallpaper
System Settings > Startup and Shutdown
Login Screen (SDDM) Tab > Background > Load From File
We should also change the lock screen.
System Settings > Desktop Bahaviour
Screen Locking Tab > Wallpaper > Wallpaper Type: Image -
Auto-Login
Note: KDE Wallet will prompt you for your password to get the WiFi password after auto-login.
System Settings > Startup and Shutdown > Login Screen (SDDM)
Behavior button > Check: Automatically login as user
Dolphin (File Manager)
-
Double Click to open files
- Plasma 5.13
System Settings > Desktop Behavior > Workspace
Click Behavior: Double Click to open files and folders - <= Plasma 5.12
System Settings > Input Devices
Mouse Tab > Icons: Double Click to open files and folders
- Plasma 5.13
-
Browse (.zip / .tar.gz / .rar) with Dolphin
☰ Control > Configure Dolphin
Navigation Tab > Check: Open archives as folder -
Show Terminal Panel
☰ Control > Panels > Terminal (F4)
-
Paste into Terminal Panel
☰ Control > Configure Shortcuts
Paste > Set Alternative (Defaulted to Shift+Insert) as “None” -
Disable File Indexing (Baloo)
Some user may want to disable the indexing when:
- For some users, the
baloo_file
process can slow down the system. - The
~/.local/share/baloo/index
can use over a Gigabyte of space.
Runbalooctl indexSize
to break the database usage down.
System Settings > Search
Uncheck: Enable File Search - For some users, the
-
Remove Filmstrip From Video Thumbnails
☰ Control > Configure Dolphin
General Tab > Previews > Video Files (ffmpegthumbs) > Configure Button
Uncheck: Embed filmstrip effect
Note: Since Dolphin 21.12, The GUI toggle was removed. You will need to create and edit~/.config/ffmpegthumbsrc
to disable the filmstrips. It’s easier to run this command:Finally you will need to delete the
~/.cache/thumbnails/
folder to regenerate the thumbnails.
Spectacle (Screenshots)
-
Show Magnifier
Configure > General
Rectangular Region > Check: Show magnifier
LibreOffice Writer
-
Save as .docx by default
Tools > Options
Load/Save > General
Always save as: “Word 2007-2019 (*.docx)”
LibreOffice Calc
-
Set Default Font Size/Family/CellPadding
Styles > Manage Styles
Right click Default > Modify
Font > Family: Noto Sans (KDE default) might look different for Window users.
Font > Family: Manually type “Calibri” (Office default) which will map to the free “Carlito” font.
Font > Size: 12 (Office uses 11)
Borders > Padding: 2.0 pt
Ok
Make sure “Bad”, “Good”, etc under “Status” also use the correct font.
File > Templates > Save As Template
Name: Default
Category: My Templates
Check “Set as default template”
Steam
-
Cleanup Friends List
Steam > Friends > View Friends List
Click on the Cog / Settings Icon
Ignore ‘Away’ status when sorting friends: On
Compact Favorites Area: On
Compact Friends List: On
Append nickname to friend’s name: On
Hide offline friends in custom categories: On -
Hide “Friend is playing ____” Notifications
Steam > Friends > View Friends List
Click on the Cog / Settings Icon
Notifications > Uncheck: When friend joins a game
Notifications > Uncheck: When comes online -
Never Show Advertisement Popups
Steam > Settings > Interface Tab
Uncheck: Notify me about additions to my games and other releases -
Startup in Tray
Find Steam in the App Launcher widget
Right Click Steam > Edit Application
Application Tab > Command:/usr/bin/steam -silent %U
If you added Steam to the autostarted apps, you will need to edit the command there as well.
Relevant bug report. -
Close Steam to Tray
We need to launch steam using
STEAM_FRAME_FORCE_CLOSE=1 steam
as mentioned in this bug report, but editing every single game shortcut that Steam generates is a hassle. So we’ll set a session environment variable by addingexport STEAM_FRAME_FORCE_CLOSE=1
to~/.config/plasma-workspace/env/path.sh
. It’s easier to run this commands:Then logout and back in so that your “panel” is launched with the session variable so that it can pass it to Steam when Steam is launched from the app launcher or desktop shortcut.
Clementine
-
Clean up UI
Tools > Preferences
Playback Tab > Uncheck: Show a glowing animation on the current track
Search Tab > Uncheck: DigitallyImported, DropBox, Google Drive, Jazz
Last.fm Tab > Uncheck: Show the “love” amd “ban” buttons
Last.fm Tab > Uncheck: Show the scrobble button -
Don’t fade between songs
Playback Tab > Uncheck: Fade out when stopping a track
Playback Tab > Uncheck: Cross-fade when changing tracks manually -
Double Click song should play song now
Behaviour > Using the menu to add a song will: Always start playing
Behaviour > Double clicking a song will: Replace the playlist + Always start playing
Gtk Apps (Gimp/Hexchat/etc)
-
Fix white text on white background tooltips
System Settings > Colors
Uncheck: Apply colors to non-Qt applications
VirtualBox
Chrome
-
Overlay tabs on top of the title bar
⋮
Button > Settings
Appearance > Uncheck: Use system title bar and borders -
Match Titlebar with Desktop Theme
Breeze
Breeze Dark: Chrome Theme -
Enable Hardware Acceleration in Chrome
If you notice tearing while playing video, check
chrome://gpu
and see if it says hardware acceleration is unavailable. It’s very likely that it’s just that chrome doesn’t recognize that it can use your GPU.Original Article
Go tochrome://flags#ignore-gpu-blacklist
, search for “Override software rendering list”, enable it and restart Chrome. -
Don't use native Linux notifications
Since Chrome v64, Chrome now uses native notifications. If you prefer Chrome’s however, you can still use them.
Go tochrome://flags#enable-native-notifications
, search for “Enable native notifications”, disable it and restart Chrome.
Firefox
-
Use the KDE File selector dialog
Make sure you have the
xdg-desktop-portal
andxdg-desktop-portal-kde
package installed.
In newer versions of Firefox, you can go toabout:config
and setwidget.use-xdg-desktop-portal
totrue
.
PressCtrl+Esc
and search to make sure thexdg-desktop-portal-gtk
process is not running. If it is, end allxdg-
processes.
Note: Older Firefox versions needed theGTK_USE_PORTAL=1
environment variable set in the Firefox launcher. - Install privacy addons
-
Enable Middle Click AutoScroll
☰ > Preferences > General
Browsing > Check: Use autoscrolling -
Open New Tab page on startup
☰ > Preferences > Home
Homepage and new windows:Firefox Home
ORCustom Url
withabout:newtab
-
Leaner New Tab page
☰ > Preferences > Home
Uncheck: “Web Search”
Uncheck: “Recommended by Pocket”
Uncheck: “Highlights”
Under “Top Sites” change to “4 rows” -
Leaner toolbar area
☰ > Customize
Density > Compact
Drag the Home button from the toolbar into the main area.
Drag the rectangle spacers to remove them as well.
Right click the uBlock Origin icon > “Pin to Overflow Menu”
Right click the “Save to Pocket” icon > “Remove from Address Bar” -
Disable Pocket
Go to
about:config
Search forextensions.pocket.enabled
and set it tofalse
-
Enable Hardware Acceleration in Firefox
If you notice tearing while playing video, check
about:support
andCtrl+F
to search forHW_COMPOSITING
. If it says “blocked by env: Acceleration blocked by platform” then it is not using Hardware Acceleration by default.
We need to go toabout:config
then setlayers.acceleration.force-enabled
totrue
.
Restart firefox, and it should now say “force_enabled by user: Force-enabled by pref” underHW_COMPOSITING
inabout:support
.
Firefox is also working on WebRender, which is “a GPU based 2D rendering engine for the web written in Rust”. You can try enabling it by going to
about:config
and settinggfx.webrender.all
totrue
. Restart firefox, then go toabout:support
andCtrl+F
forWEBRENDER
to make sure it’s enabled. -
Disable `Ctrl+Tab`'s recently used order
Go to
about:config
Search forbrowser.ctrlTab.recentlyUsedOrder
and set it tofalse
-
Browse a website as 2nd User without logging out
Install Mozilla’s Multi-Account Containers extension
Right click the extension’s icon in the toolbar > Pin it to the overflow menu.
You can easily open a new tab in a specific container by clicking and holding the “Open a new tab” button. -
Quickly browse subreddits using custom search engines
Create a new Bookmark with:
Name:/r/
URL:https://www.reddit.com/r/%S
Keyword:r
Now you can typer kde
to visit /r/kde
Note: Uppercase%S
will not escape slashes sor kde/new
works.
Note: Use lowercase%s
in searches likehttps://duckduckgo.com/?q=%s
-
First click UrlBar selects all + double click selects word
Go to
about:config
Search forbrowser.urlbar.clickSelectsAll
and set it totrue
Search forbrowser.urlbar.doubleClickSelectsAll
and set it tofalse
-
Show bookmarks toolbar only on new tab
Available since Firefox v85+
Right Click Bookmarks Toolbar > Bookmarks Toolbar > Only Show on New Tab
Firefox (userChrome.css
)
A firefox user can change the look of the browser by editing a css file.
Checkout /r/FirefoxCSS/ for help.
- In FireFox v69 and later, we need to go to
about:config
and changetoolkit.legacyUserProfileCustomizations.stylesheets
totrue
. - Then navigate to
~/.mozilla/firefox/
, inside will be a randomly generated folder similar toabcdef12.default
which you should enter. - Inside the "default" folder, create a new folder called
chrome
, then create a file calleduserChrome.css
. - You can now edit
~/.mozilla/firefox/abcdef12.default/chrome/userChrome.css
, and changes will be applied upon restarting Firefox.
-
Remove left tabbar padding when not maximized
Then paste the following CSS into
userChrome.css
(instructions) and restart firefox.
Known Bugs
-
Workaround volume glitch after Hibernation
System Settings > Power Management > Advanced
Uncheck “Pause media players when suspending” -
Workaround hiding a system tray icon causing it to freeze
Hiding a specific system tray icon will cause the entire system tray to freeze. You will need to restart plasma (logout + login) to fix it.
This bug was fixed in Plasma 5.15.1. Users running Kubuntu 18.04 will continue to experience this bug since it still uses Plasma 5.12.8.
https://bugs.kde.org/show_bug.cgi?id=393630 - Open Bugs in Plasma (the taskbar/panel)
- File a New Bug