You are not logged in.

#1 2013-01-04 01:04:38

netonardin
Member
From: Nardin
Registered: 2012-01-17
Posts: 23

tint2 clock

Is it possible to have more than one clock in the same tint2? And if it is, is it possible to have one in the left side and another in the right (for example)?

Offline

#2 2013-01-04 01:58:42

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,634

Re: tint2 clock

netonardin wrote:

Is it possible to have more than one clock in the same tint2? And if it is, is it possible to have one in the left side and another in the right (for example)?

Yes, and yes. https://wiki.archlinux.org/index.php/Tint2

see "panel_items"

also see https://code.google.com/p/tint2/

If you want two clocks showing different time zones, you may need to use a different panel, like lxpanel or fbpanel.

Last edited by 2ManyDogs (2013-01-04 02:04:29)

Offline

#3 2013-01-05 16:37:19

netonardin
Member
From: Nardin
Registered: 2012-01-17
Posts: 23

Re: tint2 clock

2ManyDogs wrote:
netonardin wrote:

Is it possible to have more than one clock in the same tint2? And if it is, is it possible to have one in the left side and another in the right (for example)?

Yes, and yes. https://wiki.archlinux.org/index.php/Tint2

see "panel_items"

also see https://code.google.com/p/tint2/

If you want two clocks showing different time zones, you may need to use a different panel, like lxpanel or fbpanel.

I already knew about panel_items, but i didn't thought it would work using the same thing two times, and actually it didn't, i did this: panel_items = CLTSBC and now there is only a blank space in the first C and the other clock is in the end (normal), do you have any idea? I tried add one more #Clock... but didn't work...

Offline

#4 2013-01-07 04:55:40

boblitz13
Member
Registered: 2012-08-14
Posts: 19

Re: tint2 clock

Yes, it is possible to display two times but it looks like they will have to be on top of each other if you want them on the same panel. time1_format and time2_format are used in the default config file to display the time on top and the date on the bottom. If you don't mind the two times being stuck right by each other, all you have to do is modify the formatting sequences in those two variables.

If their being on opposite sides of the screen is important to you and you're feeling hackish, you could always create two configuration files, one containing everything but the second clock with the panel aligned to one side and one containing only the second clock aligned to the other.

Offline

#5 2013-01-07 14:36:47

netonardin
Member
From: Nardin
Registered: 2012-01-17
Posts: 23

Re: tint2 clock

boblitz13 wrote:

Yes, it is possible to display two times but it looks like they will have to be on top of each other if you want them on the same panel. time1_format and time2_format are used in the default config file to display the time on top and the date on the bottom. If you don't mind the two times being stuck right by each other, all you have to do is modify the formatting sequences in those two variables.

If their being on opposite sides of the screen is important to you and you're feeling hackish, you could always create two configuration files, one containing everything but the second clock with the panel aligned to one side and one containing only the second clock aligned to the other.

I already knew it was possible to create two separate configs, but i wanted just one...

i was thinking to do a panel for xfce, it would look like:

Aplications (clock with comand xfce4-appfinder) / aplications list / notification area / normal clock / my name (clock with comand halt, to open xfce's logout dialog)

but thanks anyway!

Offline

Board footer

Powered by FluxBB