How to make KDE Plasma taskbar panel transparent?
Solution 1:
Method 1.
Makes panels transparent without altering the theme.
Go to System Settings > Window Management | Window Rules. Press New... button. Give some description to the new rule, Dock Transparency
, for example. Then select only Dock (panel)
in "Window types:" field. Switch to the last tab and set these options:
Press OK then Apply new settings. Change 65% to whatever you see fit.
N.B. This method makes other objects on the panel (i.e buttons and text) more transparent, so don't use too low values in that case.
Method 2.
It will require altering the default theme. 2nd method makes panels semi-transparent and this will also affect all drop-down menus and tooltips related to the panel.
Kubuntu 16.04
Make a backup of /usr/share/plasma/desktoptheme/default/metadata.desktop
first. Open this file with root rights. Find the [ContrastEffect]
section and change enabled=true
in it to false
. Re-login.
Kudos to reddit guys for the idea.
Kubuntu 20.04
First of all check System Settings > Plasma Style. The default style for Kubuntu 20.04 is Kubuntu. So we should alter /usr/share/plasma/desktoptheme/kubuntu/metadata.desktop
. If you're using another style, alter metadata.desktop
from the appropriate folder in /usr/share/plasma/desktoptheme/
instead. Back-up it first.
Find the [ContrastEffect]
section and increase contrast
parameter in it. I find contrast=2.0
most appropriate (you can try another values if you like). Blur effect will be applied automatically. Re-login to make it work. You should see something like this:
And don't forget that "Blur" effect can be altered in System Settings > Workspace Behavior | Desktop Effects.
If you don't like blur effect and wish to obtain the real transparency effect then you should add several more lines into metadata.desktop
file related to your style:
[BlurBehindEffect]
enabled=false
Now it should look like this:
This parameter was added in Plasma 5.57 according to this and as long as it stays there, it should work without any additional widgets.
Solution 2:
Note that the recent Plasma 5.22+ setting of adaptive and translucent panel doesn't provide full transparency, far from it.
But there is Panel Transparency Button, which provides exactly what is expected. (On KDE store the link seems to be dead at the time I am editing this answer, but the Github link is this. In case the widgets become unavailable write me a comment hereunder, I might post a link to the packages I have.) — See EDIT at the end.
The widget can be installed and added through the "add widgets" interface
After that, in 20.04 edit panel to make the button visible, but close the editing to use the button.
The button is hidden after "finishing customizing layout"
With a Breeze Dark style:
Oxygen style:
Doomsaday:
Produkt:
EDIT:
-
This is not maintained anymore by the author, so it may stop working with newer Plasma versions, although I have seen it work in Plasma 5.23. I hope somebody forks this and keeps it updated.
-
It is sometimes affected by a bug where the button stays always visible. I have seen this in Kubuntu 20.04 with Plasma 5.18. In that case, the situation is that
-
it needs widgets to be unlocked in order for the button to be hidden, and
-
it might require installation of the <5.18 version of the widget, in case the other one doesn't work.
— Plasma 5.18 (and above) has hidden the "lock widgets" toggle. To access it, you may use this solution, although I prefer that of installing the Win7ShowDesktop button widget, which has that "lock widgets" option integrated in its own options (beside providing what it says, a "Show desktop" panel button that is more discrete/slim than the default one).
-
Solution 3:
Edit: Please see whtyger's answer for changing panel transparency without the need to installing a new theme.
whtyger's answer provides the way to change panel transparency of your existing theme.
If you want to try other themes offering transparency, open System Settings > Appearance > Workspace Theme > Desktop Theme and click on Get New Themes. In the window that opens, enter something like panel transp in the search box and choose the sort order you want.
I came across one:
Of course, you'll need to find a theme that's developed for your version of KDE Plasma.