SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-03-25 21:56:22

jc
#! CrunchBanger
Registered: 2009-03-24
Posts: 107

[Solved] taskbar date and time settings

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

Help fund CrunchBang, donate to the project!

#2 2009-03-25 22:38:12

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: [Solved] taskbar date and time settings

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

#3 2009-03-25 23:33:38

jc
#! CrunchBanger
Registered: 2009-03-24
Posts: 107

Re: [Solved] taskbar date and time settings

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. smile

Last edited by jc (2009-03-25 23:35:11)

Offline

#4 2009-03-26 00:04:45

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: [Solved] taskbar date and time settings

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

#5 2009-03-26 00:49:00

needcoffee
Member
Registered: 2009-03-15
Posts: 39

Re: [Solved] taskbar date and time settings

I'm not sure, but i guess it uses the same sequences like "date". Typing

man date

in a terminal should bring up a list with possible formats.

Offline

#6 2009-03-26 00:58:01

jc
#! CrunchBanger
Registered: 2009-03-24
Posts: 107

Re: [Solved] taskbar date and time settings

Thanks to both of you for the help and time, very much appreciated. smile Now I have something to fiddle with. I luuuuv CrunchBang btw. smile))

Offline

#7 2009-03-26 09:52:22

jc
#! CrunchBanger
Registered: 2009-03-24
Posts: 107

Re: [Solved] taskbar date and time settings

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:%S

Offline

#8 2009-03-26 20:05:13

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: [Solved] taskbar date and time settings

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

#9 2009-03-27 07:38:49

jc
#! CrunchBanger
Registered: 2009-03-24
Posts: 107

Re: [Solved] taskbar date and time settings

Oh yes, should have thought about that myself. >_<

Thanks!

Offline

#10 2009-03-27 19:53:08

theZoid
Member
From: Florida
Registered: 2009-03-27
Posts: 20
Website

Re: [Solved] taskbar date and time settings

anonymous wrote:

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  big_smile big_smile


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

#11 2009-07-13 09:18:48

Midas
#! Member
Registered: 2009-06-19
Posts: 53

Re: [Solved] taskbar date and time settings

How to do the same for #! 9.04.01? This recipe doesn't work -- right clicking clock has no effect... neutral

Offline

#12 2009-07-13 10:22:12

thil77
#! CrunchBanger
Registered: 2009-01-12
Posts: 193

Re: [Solved] taskbar date and time settings

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

#13 2009-11-29 23:36:29

turqoisegirl08
#! Member
From: trying not to blow up the lab!
Registered: 2009-11-29
Posts: 68
Website

Re: [Solved] taskbar date and time settings

How do I change it from military time to standard time?


Socrates: I drank what?

Offline

#14 2009-11-29 23:49:44

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: [Solved] taskbar date and time settings

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:

http://crunchbanglinux.org/forums/topic … es-to-faq/


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#15 2009-11-29 23:54:59

turqoisegirl08
#! Member
From: trying not to blow up the lab!
Registered: 2009-11-29
Posts: 68
Website

Re: [Solved] taskbar date and time settings

anonymous wrote:

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:

http://crunchbanglinux.org/forums/topic … es-to-faq/

Thanks!


Socrates: I drank what?

Offline

#16 2012-03-09 02:04:04

MrWareWolf
New Member
Registered: 2012-03-09
Posts: 1

Re: [Solved] taskbar date and time settings

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

#17 2013-02-11 04:30:23

aficionadoofsorts
New Member
Registered: 2013-02-11
Posts: 1

Re: [Solved] taskbar date and time settings

time1_format = %A %e %B %Y  %l:%M %P


Day of the Week, Date, Month, Year, 12 Hour Format, Minutes, am/pm

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo