Author Topic: LXpanel's Digital Clock Font  (Read 2698 times)

Offline JNibski

  • Full Member
  • ***
  • Posts: 154
Re: LXpanel's Digital Clock Font
« Reply #15 on: February 07, 2012, 09:56:05 PM »


         .....

JN.
"Don't stare at an OJ can just because it says 'concentrate'..."

Offline princethrash

  • Jr. Member
  • **
  • Posts: 22
Re: LXpanel's Digital Clock Font
« Reply #16 on: February 08, 2012, 07:07:26 AM »
Thanks for the help guys. 
Think I'm going to write my own, for kicks, and as an excuse to ignore my children.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXpanel's Digital Clock Font
« Reply #17 on: February 08, 2012, 07:56:28 AM »
Hi, do you mean write a plugin ? If you have success, please let us know.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline princethrash

  • Jr. Member
  • **
  • Posts: 22
Re: LXpanel's Digital Clock Font
« Reply #18 on: February 08, 2012, 03:49:21 PM »
melodie,

Sadly I am just a novice python hobbyist, otherwise I'd love to contribute.  I am amalgamating the clock with the three other crude tray-icon-based programs I wrote in python, so I don't increase RAM usage, which using the panel plugin also let me avoid.

Seeing that RAM number go down is my true mistress.  Please don't tell my human mistress.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXpanel's Digital Clock Font
« Reply #19 on: February 08, 2012, 04:31:33 PM »
melodie,

Sadly I am just a novice python hobbyist, otherwise I'd love to contribute.  I am amalgamating the clock with the three other crude tray-icon-based programs I wrote in python, so I don't increase RAM usage, which using the panel plugin also let me avoid.

Better than me ! I don't code at all. :-(

Quote
Seeing that RAM number go down is my true mistress.  Please don't tell my human mistress.

The clock in the tint2 panel can be configured. Here is a part of my tint2rc conf file:
Quote
# Clock
time1_format = %H:%M:%S
time1_font = Nimbus Sans L 15
time2_format = %A %d %B
time2_font = Sans 9
clock_font_color = #EEEEFF 74
clock_padding = 1 0
clock_background_id = 0
clock_lclick_command = ~/.config/openbox/scripts/dzen.sh
clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris

In htop I see it using 0.4% of the available memory. I am not sure to know how to benchmark it...
If you use tint2 you will not have a menu as in lxpanel, however. And when I tried to have both, I got errors in the .xsession-errors file (I suppose it is possible to live with these errors... not sure, I didn't try during a long time).

Regards,
Mélodie



melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode