Choose style:

Author Topic: change font size on panel clock, how? [Solved]  (Read 194 times)

0 Members and 1 Guest are viewing this topic.

Offline gychang

  • Member
  • ***
  • Posts: 102
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
change font size on panel clock, how? [Solved]
« on: July 10, 2018, 01:09:01 pm »
Love the latest P9.  My font size of time in the panel is small.  Can not figure out how to make it bigger..., would appreciate help.

« Last Edit: July 11, 2018, 12:40:46 am by zebedeeboss »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21671
  • Karma: 2436
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: change font size on panel clock, how?
« Reply #1 on: July 10, 2018, 01:30:08 pm »
Okay let's say you have the clock set as a custom format of
Code: [Select]
%a %m-%B %d%n%I:%M %p
well the xfce clock also accepts pango markup .. so you could adjust the font with say
Code: [Select]
<span font="Arial 15" color="#FF0000">%a %m-%B %d%n%I:%M %p</span>
if you wanted the same thing, but in red Arial 15

or maybe
Code: [Select]
<span font="Magneto 12" color="#A2C6FF">%a %m-%B %d%n%I:%M %p</span>
if you wanted the same thing, but in light blue Magneto 12 :P

or maybe
Code: [Select]
<span font="Comic Sans MS Bold 18">%R</span>
if you just want the standard clock but in Comic Sans MS Bold 18



FYI - You can also use pango markup for the whiskermenu button text if you wish.
« Last Edit: July 10, 2018, 01:39:23 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline gychang

  • Member
  • ***
  • Posts: 102
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: change font size on panel clock, how? (SOLVED)
« Reply #2 on: July 10, 2018, 05:01:00 pm »
very good, works very well!.  Not only the correct size but also colorful!!!



Okay let's say you have the clock set as a custom format of
Code: [Select]
%a %m-%B %d%n%I:%M %p
well the xfce clock also accepts pango markup .. so you could adjust the font with say
Code: [Select]
<span font="Arial 15" color="#FF0000">%a %m-%B %d%n%I:%M %p</span>
if you wanted the same thing, but in red Arial 15

or maybe
Code: [Select]
<span font="Magneto 12" color="#A2C6FF">%a %m-%B %d%n%I:%M %p</span>
if you wanted the same thing, but in light blue Magneto 12 :P

or maybe
Code: [Select]
<span font="Comic Sans MS Bold 18">%R</span>
if you just want the standard clock but in Comic Sans MS Bold 18



FYI - You can also use pango markup for the whiskermenu button text if you wish.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1669
  • Karma: 383
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: change font size on panel clock, how?
« Reply #3 on: July 11, 2018, 12:42:54 am »
Hi gychang

Another solution would be to swap out the clock panel plugin for date/time which does exactly the same job but offers more configuration options such as font size & colour etc



Good luck

Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2523
  • Karma: 496
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): Peppermint 9 x64
Re: change font size on panel clock, how? [Solved]
« Reply #4 on: July 11, 2018, 12:47:54 am »
very nice emegra - Thank You
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P9 x64 Desktop - i7-6700K @ 4.00GHz - 32Gb RAM - NVIDIA GTX1070ti 8Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 3440 x 1440
x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 4121
  • Karma: 769
  • Peppermint Mod
    • View Profile
Re: change font size on panel clock, how? [Solved]
« Reply #5 on: July 11, 2018, 06:47:54 am »
Am I the only one that cares about seconds?  ;D

Code: [Select]
<span foreground="#F7E0E1" font_desc="10">%l:%M:%S %p</span>

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21671
  • Karma: 2436
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: change font size on panel clock, how? [Solved]
« Reply #6 on: July 11, 2018, 07:26:11 am »
I'm more like Tommy Chong .. "I'm not into time"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec