PDA

View Full Version : [xubuntu] Orage clock options?



tpprynn
December 26th, 2010, 09:43 PM
Is it possible to remove the seconds from the Orage clock?

I'm using Xubuntu 10.10, Xfce 4.6 if you need to know.

Thanks.

hhh
December 27th, 2010, 12:19 AM
I don't use the Orage clock, but looking at this page...
http://www.kolumbus.fi/~w408237/orage/screenshots.html
it says that it uses strftime formatting (which is what the Gnome panel and Xfce panel clock applets use). I use %l:%M %p which gives me a readout like 6:19 PM . Replace %X with that, or another custom format...
http://www.cplusplus.com/reference/clibrary/ctime/strftime/

tpprynn
December 27th, 2010, 03:25 AM
Good work Batman. I've put


%I:%M


and that does the job. Thanks!

hhh
December 27th, 2010, 04:34 AM
No problem. Even more parameters...
http://www.mkssoftware.com/docs/man3/strftime.3.asp