Change font of Date / Time applet in panel, showing date and time

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
poseidon

Change font of Date / Time applet in panel, showing date and time

Post by poseidon »

I have conf'ed the Date / Time Applet in the panel to show seconds, too. Now date and time displayed as well as all the icons being placed to the left jump every second a few pixels to the left or to the right depending on the number displayed for the seconds. I guess I have to edit a CSS to change the font to monospace (didn't find an option in the config dialog for the font). I found a thread in this forum pointing to a site, where it is explained how to do that. But there they seem to change the Calendar Settings dialog. While I looked around I couldn't find an entry telling me that this is the place to add "font-family: mono;". Besides that there are tons of entries starting with "calendar...". Anyone else having this problem and found the right entry?

Cheers
Paul
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
majpooper
Level 8
Level 8
Posts: 2087
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Change font of Date / Time applet in panel, showing date and time

Post by majpooper »

If you have Cinnamon DE you could try this:
viewtopic.php?t=249725
poseidon

Re: Change font of Date / Time applet in panel, showing date and time

Post by poseidon »

Did it and it works! Thanks a lot, majpooper.

Another question: Where do I get the font names from?

I put

font-family: monospace;

into it

.applet-label {
font-family: monospace;
font-size: 9.5pt;
font-weight: 500;
color: rgba(255, 255, 255, 0.7);
}

Is there a "monospace condensed" or the like?

Cheers
Paul
Locked

Return to “Cinnamon”