Changing the look of gnome-panel's clock


Recommended Posts

Found this on reddit and thought I'd share it here. (everything below this line has been copy-pasted)

I just found out you can customize the clock applet quite a bit:

open gconf-editor, go to /apps/panel/applets/clock_screen0/prefs, set the format key to "custom", then edit the custom_format key as you like.

Two examples (I use the second one):

rTwcg.png

custom_key value:

<sup><span rise="3000" font_desc="Sans 7.5" color="#606060" weight="normal">%a %d %b</span></sup>%n<sub><span font_desc="Sans 7.5" color="#606060" weight="bold">%I:%M %p</span></sub>

wi0Bb.png

custom_key value:

<sup><span rise="1000" font_desc="Sans 7.5" color="#606060" weight="normal">%a %F</span></sup>%n<sub><span font_desc="Sans 7.5" color="#606060" weight="bold">%H:%M %z</span></sub>

You may have to enlarge the panel height of a couple of pixels (<25px looks like **** with this font) to have a decent result though.

I really like it.

souricon.gif Source: reddit

At the risk of connecting my reddit account to this nickname (you know how they figure out who you are through mystical ways sometimes):

LEpPa.png

&lt;span size="smaller" color="#999999"&gt;%a %d %b&lt;/span&gt;	&lt;b&gt;%H:%M &lt;small&gt;%S&lt;/small&gt;&lt;/b&gt;

This is what I've been using for the longest time. I think I got it of a blogpost from Hylke Bons

  • 3 weeks later...
Found this on reddit and thought I'd share it here. (everything below this line has been copy-pasted)

I just found out you can customize the clock applet quite a bit:

open gconf-editor, go to /apps/panel/applets/clock_screen0/prefs, set the format key to "custom", then edit the custom_format key as you like.

Two examples (I use the second one):

rTwcg.png

custom_key value:

&lt;sup&gt;&lt;span rise="3000" font_desc="Sans 7.5" color="#606060" weight="normal"&gt;%a %d %b&lt;/span&gt;&lt;/sup&gt;%n&lt;sub&gt;&lt;span font_desc="Sans 7.5" color="#606060" weight="bold"&gt;%I:%M %p&lt;/span&gt;&lt;/sub&gt;

wi0Bb.png

custom_key value:

&lt;sup&gt;&lt;span rise="1000" font_desc="Sans 7.5" color="#606060" weight="normal"&gt;%a %F&lt;/span&gt;&lt;/sup&gt;%n&lt;sub&gt;&lt;span font_desc="Sans 7.5" color="#606060" weight="bold"&gt;%H:%M %z&lt;/span&gt;&lt;/sub&gt;

You may have to enlarge the panel height of a couple of pixels (<25px looks like **** with this font) to have a decent result though.

I really like it.

souricon.gif Source: reddit

Thats cool, I'll have to try that when I get home.

  • 3 weeks later...
  • 2 weeks later...
  • 2 years later...

thanks. mine is a variant of the OSX one someone posted somewhere else, but different, made to look like a vintage digital clock:

&lt;sup&gt;&lt;span font_desc="Minisystem 21" color="green" weight="bold" &gt; %a &lt;/span&gt; &lt;span font_desc="Minisystem 21" color="green" weight="bold" &gt;%I:%M %p&lt;/span&gt;&lt;/sup&gt;

requires the Minisystem font available here from FontCenter: http://www.fontcenter.com/fonts/minisystem.html they have a lot of nice fonts, i also recommend zero threes among others. if doesnt matter if you click on mac font or pc font, they both work fine in the font installer.

clockz.png

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.