-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
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
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Denver Dave
...
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
-
-
Senior Member
registered user
Hi, Werner.
Superb reference.
Thanks.
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![IBM OEM DBOA-2720 720MB 2.5](/store/img/g/XxcAAOSwOR1l9g17/s-l225/IBM-OEM-DBOA-2720-720MB-2-5-IDE-44-Pin-LAPTOP-HARD.jpg)
IBM OEM DBOA-2720 720MB 2.5" IDE 44-Pin LAPTOP HARD DRIVE HDD Vintage TESTED
$79.88
![OEM IBM 46X2476 3TB LTO-5 FIBRE CHANNEL INTERNAL TAPE DRIVE * TESTED / PASS * picture](/store/img/g/hAsAAOSwn~5l2C44/s-l225/OEM-IBM-46X2476-3TB-LTO-5-FIBRE-CHANNEL-INTERNAL-T.jpg)
OEM IBM 46X2476 3TB LTO-5 FIBRE CHANNEL INTERNAL TAPE DRIVE * TESTED / PASS *
$379.99
![Lexmark/IBM 6190653 Black Developer (500k Pages), for the Lexmark 3835 printer picture](/store/img/g/3M8AAOSwE1BlvMYc/s-l225/Lexmark-IBM-6190653-Black-Developer-500k-Pages-for.jpg)
Lexmark/IBM 6190653 Black Developer (500k Pages), for the Lexmark 3835 printer
$247.98
![53P9396 - Genuine IBM 53P9396 Black Original Toner Cartridge picture](/store/img/g/ZsUAAOSwLGZmNpz4/s-l225/53P9396-Genuine-IBM-53P9396-Black-Original-Toner-C.jpg)
53P9396 - Genuine IBM 53P9396 Black Original Toner Cartridge
$250.00
![OEM IBM Lenovo ThinkPad T20 T21 T22 T23 T24 02K6620 02K6626 picture](/store/img/g/XzoAAOSwTrFl4RDP/s-l225/OEM-IBM-Lenovo-ThinkPad-T20-T21-T22-T23-T24-02K662.jpg)
OEM IBM Lenovo ThinkPad T20 T21 T22 T23 T24 02K6620 02K6626
$24.99
![OEM IBM Lenovo 16V Adapter for Laptop Thinkpad 240 385 390 560 600 765 770 n/PC picture](/store/img/g/nugAAOSwTjlmQf4N/s-l225/OEM-IBM-Lenovo-16V-Adapter-for-Laptop-Thinkpad-240.jpg)
OEM IBM Lenovo 16V Adapter for Laptop Thinkpad 240 385 390 560 600 765 770 n/PC
$20.00
![VINTAGE OEM IBM Three-Button ScrollPoint Optical USB Mouse (P/N:24P0494)-Grade B picture](/store/img/g/71gAAOSwIVZmCwtc/s-l225/VINTAGE-OEM-IBM-Three-Button-ScrollPoint-Optical-U.jpg)
VINTAGE OEM IBM Three-Button ScrollPoint Optical USB Mouse (P/N:24P0494)-Grade B
$13.45
![IBM Keyboard T440 T440s T440p T431s Backlit 04X0139 OEM picture](/store/img/g/~ScAAOSwF1dUTUBF/s-l225/IBM-Keyboard-T440-T440s-T440p-T431s-Backlit-04X013.jpg)
IBM Keyboard T440 T440s T440p T431s Backlit 04X0139 OEM
$24.00
![GENUINE IBM 28P2010 BLACK TONER CARTRIDGE FOR INFOPRINT 1130 1140 picture](/store/img/g/fUMAAOSwF4NmO6NQ/s-l225/GENUINE-IBM-28P2010-BLACK-TONER-CARTRIDGE-FOR-INFO.jpg)
GENUINE IBM 28P2010 BLACK TONER CARTRIDGE FOR INFOPRINT 1130 1140
$50.00
![Genuine IBM 53P9393 Cyan Toner Cartridge InfoPrint Color 1228 1357 BNIB picture](/store/img/g/lzsAAOSwQPZmNp4C/s-l225/Genuine-IBM-53P9393-Cyan-Toner-Cartridge-InfoPrint.jpg)
Genuine IBM 53P9393 Cyan Toner Cartridge InfoPrint Color 1228 1357 BNIB
$150.00