Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: It's about time

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    It's about time

    I didn't like my 6.4.3 digital clock reading in 24hr utc,
    so I edited, as root, /etc/init.d/knoppix-autoconfig
    on the first line which begins KTZ="$(get..
    to read KTZ="America/New_York"

    Then I set the digital clock format to %I:%M%P so now
    it reads 10:09pm (today), instead of 3:09 (tomorrow).

    Your zone may vary.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    sequel to It's about time

    My post #1 solved my Knoppix panel time problem,
    but created a new problem:
    on subsequent reboot to Windows 7 on the same machine,
    Windows 7's panel time was all wrong.

    At this point, my new objective is in having both Windows 7
    and Knoppix panel times read the correct local time.

    It would seem that editing, as root, /etc/init.d/knoppix-autoconfig
    on the first line which begins KTZ="$(get.." to read KTZ="Etc/UTC"
    gives me this new objective.

  3. #3
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    second sequel to It's about time

    In looking for a refinement of the lxpanel digital clock
    format to get '01:35pm' to read '1:35pm', I found some-
    thing more immediately interesting:

    I found someone other than myself whose digital clock is
    (or was) one minute (or so) off. My GE stove is keeping
    better time.

    https://bbs.archlinux.org/viewtopic.php?id=109328

    It's not clear (to me) if the 'archlinix bug fix' is
    available through Synaptic as yet. I am presuming it is
    contained in lxpanel itself and not some another element.

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    third, etc

    Back now to the format question.

    You have to look close:
    The format %I:%M%P gives times like 02:15pm.

    What you want is probably:
    The format %l:%M%P which gives times like 2:15pm.

    That's lower-case l (small ell, not capital eye), not upper-case i.
    Last edited by utu; 01-06-2011 at 08:27 PM.

  5. #5
    Senior Member
    Join Date
    Nov 2011
    Posts
    127
    Hi - I'm new to Knoppix and I've been experimenting with ubuntu for a couple of months, so please excuse if I'm missing the obvious.

    I booted up the install CD and thought I'd change the time display to be a little clearer for me. So far, this thread is the best I've found for directions for the digital clock. Are the settings based on PHP, PERL or something? Where are the settings documented?

    With information in this thread, I've changed to pm without a leading zero in the time, but haven't figured out how to show a 4 digit year in the tool tip. (Any ideas?)

    I've found a help manual, but nothing found when searching for clock
    http://www.google.com/search?client=...+by+Phil+Jones

    Anyway, just starting, but hope this isn't an indication I might be trying the wrong distro.

    On the positive side, my right side scroll works on my touchpad (hoorah).
    Last edited by Clinton; 11-22-2011 at 11:34 AM. Reason: changed link that started automatic download

  6. #6
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by Denver Dave View Post
    ...
    haven't figured out how to show a 4 digit year in the tool tip. (Any ideas?)
    ...
    %Y; that is, percent sign, cap 'wye'.
    Cheers

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124

  8. #8
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Hi, Werner.
    Superb reference.
    Thanks.

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Two updates for those who even care:

    My lxpanel digital time display is still one minute slow relative
    to my GE stove, see post #3, my date command and the knoppix forum time; and...

    Recently, as a result of clumsy typing I've found a function 'ddate'
    in /usr/bin which worries me. It is not GPL-ed and all 'rites' are reserved.

  10. #10
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    FWIW

    This is a peculiar quirk of the lxpanel digital clock which, as far as I know, occurs only
    for display formats which don't include seconds. It was well-described in the following bug
    report, for which for the complainer promptly reported that it had been corrected:

    http://sourceforge.net/tracker/index...58&atid=894869

    It has NOT been corrected in the Knoppix 6.7.1 debian choices of lxpanel 0.5.6-1 (stable) NOR
    0.5.8-1 (testing). 0.5.8-1 also has other problems, as has been noted by Werner.
    Last edited by utu; 11-25-2011 at 03:37 PM.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM QRadar xx29 Server 4412Q2A picture

IBM QRadar xx29 Server 4412Q2A

$419.99



IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 10GbE 2U Linux Server - 8247-22L picture

IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 10GbE 2U Linux Server - 8247-22L

$519.96



ibm server z series picture

ibm server z series

$16000.00



IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM  picture

IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM

$795.00



IBM SYSTEM x3200 M3 Tower- Intel i3 540 @ 3.07GHz, 4GB, 500GB HHD picture

IBM SYSTEM x3200 M3 Tower- Intel i3 540 @ 3.07GHz, 4GB, 500GB HHD

$125.00



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$479.96



IBM SYSTEM X3200 M3 732854U Tower Server INTEL XEON X3450 2.67Ghz 4GB SEE NOTES picture

IBM SYSTEM X3200 M3 732854U Tower Server INTEL XEON X3450 2.67Ghz 4GB SEE NOTES

$49.72



IBM Power8 S822L Storage Server 8247-22L - Full of Ram, Some Cards, No HDD's picture

IBM Power8 S822L Storage Server 8247-22L - Full of Ram, Some Cards, No HDD's

$499.95



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM System x3650 M4 2U 6LFF Rackmount Server 64GB 2*Xeon E5-2630 v2 2.6GHz 6C picture

IBM System x3650 M4 2U 6LFF Rackmount Server 64GB 2*Xeon E5-2630 v2 2.6GHz 6C

$126.58