View Single Post
Old 09-09-2013, 02:55 PM   #47
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by nasser View Post
nice..
shows 12 hr format..
24 hr not possible..?
/mnt/us/extensions/dclock/bin/dclock -help

Quote:
usage: dclock [-options ...]
where options include:
-help print this help text
-bg color field background color
-fg color segment foreground color
-fn font font name
-geometry geom size of mailbox
-display host:dpy X server to contact
-led_off color segment background color
-date "date format" show the date in strftime(3) format
-[no]dateup [don't] put the date up at the top
-[no]seconds [don't] display seconds
-[no]miltime [don't] display time in 24 hour format
-[no]utc [don't] display the UTC time instead of local
-[no]blink [don't] blink the colon
-[no]scroll turn on [off] scrolling of numbers
-[no]tails draw [remove] tails on digits 6 and 9
-[no]fade [don't] fade numbers
-[no]bell [don't] ring bell each half hour
-[no]persist [don't] leave in reverse video after alarm
-bellFile filename sound file for bell sound
-[no]alarm turn on/off alarm
-alarmTime hh:mm time alarm goes off
-alarmFile filename sound file for alarm sound
-audioPlay filename executable to use to play bell and alarm
-fadeRate int_val wait between fade steps (in msec)
-slope float_val set angle of the digits
-smallsize float_val set size ratio of the small to large digits
-second_gap float_val set spacing between minutes and seconds digits
-thickness float_val set segment thickness as ratio to digit width
-spacing float_val set digit spacing as ratio to digit width
-fontName name name of freefont font to use for date string
so

-nomiltime (don't) display time in 24 hour format
OR
-miltime display time in 24 hour format

NOTE the two different times on the screen shot.


I DID notice a "bug" maybe?
Looks like
Code:
/mnt/us/extensions/dclock/bin/dclock -miltime -name L:A_N:application_id:Dclock

may strip the top and bottom segments. (pictured)

I did not investigate further, perhaps it could be fixed with other flags.
Attached Thumbnails
Click image for larger version

Name:	Selection_604.png
Views:	263
Size:	45.8 KB
ID:	110663   Click image for larger version

Name:	Selection_605.png
Views:	251
Size:	42.6 KB
ID:	110664  

Last edited by twobob; 09-09-2013 at 03:16 PM.
twobob is offline   Reply With Quote