How to change time on Conky?

Forum › Forums › New users › New Users and General Questions › How to change time on Conky?

  • This topic has 3 replies, 3 voices, and was last updated Dec 17-6:42 pm by dirtydog.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #73582
    CyberGhost
    Member

      Hi I searched the forum for an answer but couldn’t find one. Maybe I’m not using the right keywords, I don’t know. I just want to know how do I change the time on Conky from military/24 hour time to standard U.S. 12 hour time? Thanks in advance!

      #73584
      Xecure
      Member

        I remembered answering this in the past. The search function isn’t the best, but I was able to find my previous reply, which responds the exact oposite of your request, which is funny (at least for me).

        About editing the conky. DO this
        geany ~/.conkyrc
        Look for the line
        ${alignc}${color8}${font DejaVu Sans:size=12}${time %I:%M} ${font} ${color}
        and change %I to %H. It should look like this.
        ${alignc}${color8}${font DejaVu Sans:size=12}${time %H:%M} ${font} ${color}
        As soon as you save, the conky will regenerate with your desired change.

        Try it out

        In your case, you need to change %H with %I to get 12 hour clock.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #73655
        CyberGhost
        Member

          @Xecure, thanks so much! Happy holidays!

          #191855
          dirtydog
          Member

            Thanks xecure 👍

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.