VectorLinux
October 21, 2014, 05:12:17 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: jwm Panel Clock  (Read 1305 times)
Pita
Vectorian
****
Posts: 1311


« on: December 10, 2007, 11:12:37 pm »

VL-59-RC3

In jwm the panel clock shows the time in AM and PM. I tried to set it to 24 hour format, however, could only do it by going into /usr/bin/jwm and did some fiddling there. Now it shows the 24 hour format yet still the PM and AM, that is 15:15 PM. Have not yet figured how to get rid of AM/PM

There should be an easier way AFAIC or isn't there one. Is this really hard-wired?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #1 on: December 10, 2007, 11:36:11 pm »

Tweak with the clock in /usr/etc/system.jwmrc file:
Quote:
<Clock>xclock</Clock>

change to:
Quote:
<Clock format=" %R ">xclock</Clock>

It shows the clock in 00-24 hour format.
Logged
Pita
Vectorian
****
Posts: 1311


« Reply #2 on: December 11, 2007, 12:54:03 am »

Thanks!
That did it. It surely is not for the faint hearted.
I did some fumbling in there but could not get it right.

Regards
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!