Choose style:

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

0 Members and 1 Guest are viewing this topic.

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 890
  • Karma: 45
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
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: 2846
  • Karma: 532
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 Beta / 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 Beta x64 Desktop - i7-6700K @ 4.00GHz - 32Gb RAM - NVIDIA GTX1070ti 8Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9 Respin x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 890
  • Karma: 45
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
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: 2846
  • Karma: 532
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 Beta / 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 Beta x64 Desktop - i7-6700K @ 4.00GHz - 32Gb RAM - NVIDIA GTX1070ti 8Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9 Respin x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4809
  • Karma: 1011
  • "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
  • Member
  • *****
  • Posts: 890
  • Karma: 45
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
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

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 23946
  • Karma: 2657
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
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