Debian 11 KDE Plasma 5.1+ change date and clock font size

Plasma 5.1+ change date and clock font size

Edit:

sudo vi /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml

Line 175:

Replace “? main.height * 0.56” with “? main.height * 0.40”

Please note that the rest of line 175 is excluded from this description to make it simpler.

Line 399: Replace “return 0.56 * main.height” with “return 0.40 * main.height”

Line 152: Replace “height: 0.8 * timeLabel.height” with “height: 1.0 * timeLabel.height”

May only need to change line 152.

Restart plasmashell with:

kquitapp5 plasmashell || killall plasmashell && kstart5 plasmashell
5/5 - (1 vote)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top