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 community
Open ~/.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:
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
Find the string
readonly property int smallIconSize: units.iconSzie.smallMedium
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).
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:
This file will be overwritten whenever plasma-workspace is reinstalled or updated.
To change the setting for a specific user, edit:
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`
# 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