You are not logged in.
Hi. Being new to Crunchbang and the ways things work I feel a little stupid asking this (because it's probably very trivial) but gods know I've used the search feature to no avail. So basically, I screwed up and deleted my "digital clock" applet from taskbar. I know how to get it back, but fail to figure out how to set the parametres so that I can show the default date and time (including seconds). If someone could help me I would be very grateful. Thank you.
Last edited by jc (2009-03-26 09:55:55)
Offline
Right-click on the panel > Add/Remove Panel Items > Add > select Digital Clock and click on Add. Afterwards you can select Digital Clock and click on Edit.
For the clock format, you could use: %D %r
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Thank you, anonymous. It looks better already. Could you please point me in the right direction to a page where the parameters are shown so I can adjust them to my own needs? That'll be swell. 
Last edited by jc (2009-03-25 23:35:11)
Offline
I found these variables through trial and error:
%a - the day (abbreviated)
%A - the day (not abbreviated)
%b - the month (abbreviated)
%B - the month (not abbreviated)
%c - "Wed 25 Mar 2009 04:49:09 PM PDT"
%C - I dont know
%d - the date "25"
%D - the date "03/25/09"
%e - same as %d
%F - the date "2009-03-25"
%g - the year as two digits
%G - the year as four digits
%h - same as %b
%H - the hour in 24 hour format
%I - hour with leading zero
%j - I dont know
%k - same as %H
%l - hour without the leading zero
%m - I dont know
%M - minutes
%n - I dont know how to describe what it does
%p - AM/PM in uppercase
%P - AM/PM in lowercase
%r - the time "04:58:56 PM"
%R - the time "16:59"
%s - unix clock? I dont know.
%S - seconds
%t - black space?
%T - the time "17:00:33"
%u - I dont know.
%U - I dont know.
%V - I dont know.
%w - I dont know.
%W - I dont know.
%x - the date "03/25/2009"
%X - same as %r
%y - same as %g
%Y - same as %G
%z - I dont know.
%Z - Time zone I think.Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
I'm not sure, but i guess it uses the same sequences like "date". Typing
man datein a terminal should bring up a list with possible formats.
Offline
Thanks to both of you for the help and time, very much appreciated.
Now I have something to fiddle with. I luuuuv CrunchBang btw.
))
Offline
Alright, I finally found something pretty close to the default settings (perhaps it even is identical to the default date and time format).
I searched the forums again and went to the forum topic called "My Conky Config" to look more into Conky configurations and also for inspiration. That turned out to be a good idea. Lots of great stuff there.
If anyone's interested, here's the date and time format I am now using:
It shows Date Month Year Time Seconds
%d %B %Y %H:%M:%SOffline
BTW if you want to know, the LiveCD uses "%x %X".
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Oh yes, should have thought about that myself. >_<
Thanks!
Offline
Right-click on the panel > Add/Remove Panel Items > Add > select Digital Clock and click on Add. Afterwards you can select Digital Clock and click on Edit.
For the clock format, you could use: %D %r
Thanks for that clock setting...being a yank, it's gets my head screwed back on straight

Cheers, Big Ears!
DΞLL Precision M6500 "Big Dog": i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300 //Win7Pro x64/Sabayon KDE 4.5.4 x64
Offline
How to do the same for #! 9.04.01? This recipe doesn't work -- right clicking clock has no effect... 
Offline
How to do the same for #! 9.04.01? This recipe doesn't work -- right clicking clock has no effect... neutral
latest crunchbang use tint2. you can change the format in the config file ~/.config/tint2/tint2rc
time1_format = %H:%M
time2_format = %A %d %B
for the option, see anonymous previous post.
or check http://code.google.com/p/tint2/wiki/Con … gure#Clock
Offline
How do I change it from military time to standard time?
Socrates: I drank what?
Offline
Openbox > Preferences > tint2 Panel Config > Edit config file, look for "time1_format = %H:%M" and change it to "time1_format = %I:%M".
If you want to know what other time variables you can use, look here:
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Openbox > Preferences > tint2 Panel Config > Edit config file, look for "time1_format = %H:%M" and change it to "time1_format = %I:%M".
If you want to know what other time variables you can use, look here:
Thanks!
Socrates: I drank what?
Offline
how do I make it reload changes?
[fig'd it out.. feel dumb..]
sol: right-click desktop, choose settings -> tint2 -> restart
Last edited by MrWareWolf (2012-03-09 02:09:34)
Offline
time1_format = %A %e %B %Y %l:%M %P
Day of the Week, Date, Month, Year, 12 Hour Format, Minutes, am/pm
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.