![]() Registered Member ![]()
|
this is how my system tray icons look on the desktop of my "kde neon" installation (plasma 5.6). (goes on below picture)
![]() Some time ago the icons in the system tray were even bigger. But I still find them too big. Why should they be allmost as big as the application launcher icons? Afer all: it's just the system tray.... Is there a way to customize the width of the system tray icons? |
![]() Registered Member ![]()
|
Short: Edit /usr/share/plasma/plasmoids/org.kde.plasma.systemtray/contents/code/Layout.js ![]() An example: Reduce icon size in vertical panel?? - https://www.kubuntuforums.net/showthrea ... post384036 |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
And it worked! Thank you. This took away the last real obstacle for using plasma 5 for me.
Great! ![]() |
![]() Registered Member ![]()
|
With the Plasma 5.7.0
'The System Tray has been rewritten from scratch': https://www.kde.org/announcements/plasma-5.7.0.php To get two columns with a narrow panel the user can edit the spacing in /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml The default is 0.
At here, with the default and 'spacing: -8': ![]() Note ! Upgrades to the plasma will overwrote the main.qml edits. A bug report of the tray icons: Bug 364431 - Tiny icons in 5.7 system tray - https://bugs.kde.org/show_bug.cgi?id=364431 |
![]() Registered Member ![]()
|
Is there a way to change system tray icon's colour?
I looked at https://techbase.kde.org/Development/Tu ... emeDetails and can't see an item that would define it. With transparent panel theme and bright wallpaper colours system tray icons are barely visible. Example: https://i.imgur.com/Ba75aYu.png |
![]() Registered Member ![]()
|
most icons in the system tray come from the plasma desktop theme you use.
That can be located in the folder ~/.local/share/plasma/desktoptheme (in your home-directory) or else the desktop themes are in the folder /usr/share/plasma/plasmatheme . In such a theme there is a folder "icons". That is the place were the system tray gets is icons from. If you would replace the not-so-good icons by better ones in that folder (from another plasma theme) and restart plasmashell it would be better |
![]() Registered Member ![]()
|
On my system (kde neon 5.7) I needed to do it like this:
"spacing: -3" did the trick. This can be achieved from anywhere using the command line by giving in:
After that restart plasmashell. |
![]() Registered Member ![]()
|
A review request: Configuration option for System Tray's icon size - https://git.reviewboard.kde.org/r/128400/
Good idea ! Hopefully it will be part of the Plasma 5 tray. ![]() |
![]() Registered Member ![]()
|
I'm the one I made the review request. Unfortunately according to the usability team, the theme should control the icon size and not the user ![]() |
![]() Registered Member ![]()
|
I've got to keep repatching the qml (which keeps getting changed with each release!!) to get my desired (fixed) sized icons of 16x16 ... Plasma 5 is moving in the direction of Gnome Shell ![]() |
![]() Registered Member ![]()
|
How can I apply this patch. Does it need compiling something? What are the steps?
|
![]() Registered Member ![]()
|
One way to do it Before you edit, BACKUP ! Downloading the patch 'systray_iconSize.patch' to the temporary directory. Editing the systray_iconSize.patch: Replacing /applets/systemtray/package/ with the /org.kde.plasma.private.systemtray/ ![]() Copying the org.kde.plasma.private.systemtray to the temporary directory. Opening a Konsole in the temporary directory. Applying the patch:
![]() Note ! The patch needs tuning if there are error messages - 'Hunk # FAILED at' - etc. Copying the patched org.kde.plasma.private.systemtray to the right place. Restarting the plasmashell. |
![]() Registered Member ![]()
|
![]() I get this. How to do "tuning"?
|
![]() Registered Member ![]()
|
You don't need the patch. Just edit the file
/usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml and change line 34 from property int itemSize: Math.min(Math.min(width, height), units.iconSizes.medium) to property int itemSize: Math.min(Math.min(width, height), units.iconSizes.smallMedium) |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]