How to change time on Conky?

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

  • This topic has 2 replies, 2 voices, and was last updated Dec 25-8:30 pm by CyberGhost.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #73582
    Member
    CyberGhost

      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
      Member
      Xecure
        Helpful
        Up
        0
        ::

        I remembered answering this in the past. The search function isn’t the best, but I was able to find my previous repply, 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
        Member
        CyberGhost
          Helpful
          Up
          0
          ::

          @Xecure, thanks so much! Happy holidays!

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