How can I increase the size of these System Tray Icons? :
Update: In Debian 11, KDE Plasma 5.20.5, there is now an option to scale system-tray icons to the panel's height. Here's is a short video showing that. Thanks goes to KDE!
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityOpen ~/.config/plasma-org.kde.plasma.desktop-appletsrc with a text editor.
Find every line starting with extraItems=
Add another line iconSize=3 below each of those.
Save the edited file and exit.
After a reboot the icons should have a much higher limit of size when adjusting the height of the panel.
FYI, this has changed as of Plasma version 5.21.4 (perhaps slightly earlier). The iconSize
setting now does nothing.
To get this functionality, instead, at the same place where you would have inserted iconSize
(per the other answers), put: scaleIconsToFit=true
Then simply killall plasmashell; plasmashell &
as described and it will work perfectly.
In order to increase the size of systray icons, you need to edit the file
/usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml
Find the string readonly property int smallIconSize: units.iconSzie.smallMedium
Replace smallMedium
(22 log. px) with medium
(32 log. px), large
, or use integer value (in physical pixels!)
Save, log out, log in, or restart Plasma with
killall plasmashell ; kstart plasmashell
The setting to change icon sizes, located in Settings > Appearance > Icons > Advanced, seems to have been unusable for years. I think this has been the case since some version of KDE 4. Possibly it is related to whether the icon theme is in a resolution-independent format (svg).
A hidden iconSize
setting was added around plasma-workspace 5.9. Prior to the addition of this setting, qml files had to be edited.
To change the setting system-wide, edit the file:
/usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/config/main.xml
This file will be overwritten whenever plasma-workspace is reinstalled or updated.
To change the setting for a specific user, edit:
$HOME/.config/plasma-org.kde.plasma.desktop-appletsrc
Look for the entry that corresponds to the system tray. It will look something like this:
[Containments][#]
...
plugin=org.kde.plasma.private.systemtray
...
Then scroll down until you see something that looks like this:
[Containments][#][General]
extraItems=...
knownItems=...
showAllItems=true`
Then add:
iconSize=#
Where #
is a number that refers to one of the following options:
0 ~ Small
1 ~ SmallMedium
2 ~ Medium
3 ~ Large
4 ~ Huge
5 ~ Enormous
To see the changes log off and on. Or kill and restart plasmashell
in a terminal window:
killall plasmashell ; sleep 1 ; kshell5 plasmashell
iconSize=2
is too big, 0
is too small, 1
is same as 0
. Display is 14' and 4K, I've adjusted few settings to make it look ok and icon size is last one to fix :)
Dec 26, 2020 at 4:48
iconSize=3
line about 3 times (maybe its because I have 3 monitors and each one has a system tray on a tool bar), but each time I added a new line directly under the line that startedextraItem=. . .
and then puticonSize=3
onto that new line. After saving those changes to the file, and rebooting, the system tray icons where way bigger (like I like them).