Choose style:

Author Topic: XFCE Clock - Custom formatting codes  (Read 6077 times)

0 Members and 1 Guest are viewing this topic.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1029
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: XFCE Clock - Custom formatting codes
« Reply #15 on: July 07, 2018, 01:07:20 am »
Are these codes good for P9? How do I get to where I can make the changes for 12 hour clock?
What was I thinking?

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3085
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: XFCE Clock - Custom formatting codes
« Reply #16 on: July 07, 2018, 01:27:11 am »
Hi alynur,

for a simple 12 hour clock use a custom format of %r

However for me this is annoying as 5:50 pm will display as 05:15  pm

That is why I use %l in my time codes  so  %l:%M %P   will give you 5:15 pm or earlier 5:15 am (that is a lower case L but the : might make it look like a capital L)

Hope this helps

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1029
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: XFCE Clock - Custom formatting codes
« Reply #17 on: July 07, 2018, 01:37:33 am »
Hi alynur,

for a simple 12 hour clock use a custom format of %r

However for me this is annoying as 5:50 pm will display as 05:15  pm

That is why I use %l in my time codes  so  %l:%M %P   will give you 5:15 pm or earlier 5:15 am (that is a lower case L but the : might make it look like a capital L)

Hope this helps

Regards Zeb...

Hi Zeb, almost. I still don't know where to make those changes or how to get there.
What was I thinking?

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3085
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: XFCE Clock - Custom formatting codes
« Reply #18 on: July 07, 2018, 01:39:40 am »
My bad.

right mouse click the clock and select properties - you should then get this - this is my setup



Regards Zeb...
« Last Edit: July 07, 2018, 01:41:27 am by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: XFCE Clock - Custom formatting codes
« Reply #19 on: July 07, 2018, 06:33:26 am »
Hi All

I always used this site...

http://www.foragoodstrftime.com/

Regards Zeb...

Me too.  It makes a splendid SSB  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1029
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: XFCE Clock - Custom formatting codes
« Reply #20 on: July 07, 2018, 02:39:19 pm »
Thanks Zeb, got it! I had checked the web site but I was still at a loss as to where to make those changes. At the moment, my clock reads "Jul 7, 1:38 PM".   ;D
Always something new to learn.
What was I thinking?

Offline roka

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
  • Peppermint version(s): 3, 4, 5, 6, 7, 8, 9...
Re: XFCE Clock - Custom formatting codes
« Reply #21 on: April 16, 2019, 05:36:28 pm »
I use time with seconds, but secunds shifting icons (volume, conection...) how to fiks
svinje su debele, a knjige opsirne

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25997
  • Karma: 2836
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: XFCE Clock - Custom formatting codes
« Reply #22 on: April 16, 2019, 06:59:07 pm »
Are you using a custom format ?

Can you provide us with a screenshot of the clock settings ?

Here's how to post an image on this forum
https://forum.peppermintos.com/index.php/topic,4284.0.html

Or here's a great tutorial video by emegra:-

« Last Edit: April 16, 2019, 07:05:20 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline clatterfordslim

  • Member
  • ***
  • Posts: 272
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10, Nine Respin 2
Re: XFCE Clock - Custom formatting codes
« Reply #23 on: April 28, 2019, 02:29:36 pm »
Or even change the font
Code: [Select]
<span foreground="#F7E0E1" font_desc="vibrocentric bold italic 13">%R </span>
or
Code: [Select]
<span foreground="#F7E0E1" font_desc="vibrocentric bold italic 13">%R </span>  <span foreground="#F7E0E1" font_desc="vibrocentric bold italic 13">%d %b</span>
(for all of us that don't like the confusion caused by having our day/month backwards :D )

Absolutely brilliant and with the full antialiasing in your fonts and change the size to 17 instead of 13 it looks really cool, thank you Mark, did not know you could do this. God I love Peppermint.  :)
Not only is Peppermint an addictive OS to use.
But so is this Forum :)

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5398
  • Karma: 948
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: XFCE Clock - Custom formatting codes
« Reply #24 on: April 28, 2019, 03:21:06 pm »
Just don't do this...  :D

Whiskey Menu Panel Button (Title)
<span foreground="#FFF" font_desc="cantarell bold 10.3">Apps</span>
[close]

Clock Tooltip Format (Custom)
%A, %B %d, %Y
[close]

Clock Options Format (Custom)
<span foreground="#F7E0E1" font_desc="cantarell bold 10.3">%l:%M:%S %p</span>
[close]

Appsaphobia...   >:(

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5398
  • Karma: 948
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: XFCE Clock - Custom formatting codes
« Reply #25 on: April 28, 2019, 03:28:09 pm »
A belated thanks, Vin.   ;)

OMG! That's making me all weepy...  :'(



Offline Johan

  • Member
  • ***
  • Posts: 104
  • Karma: 13
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: XFCE Clock - Custom formatting codes
« Reply #26 on: June 26, 2019, 07:42:00 am »
solved ;)
« Last Edit: June 26, 2019, 08:05:03 am by Johan »
Once Peppermint, always Peppermint.