Customize The Gnome Panel Clock To Match Karmic’s New Icons

Karmic may not be released, but this little tweak is too sexy not to mention! It changes the system clock applet to match the rest of the "new" style panel theme.

For comparison, here’s the default set-up: –

Easy Peasy Lemon Gconf

  • Launch gconf-editor either via ALT+F2 or the terminal
  • Naviagte the folders  /apps/panel/applets/clock_screen0/prefs 
  • Right-Click on €œformat€
  • Select €œEdit Key€
  • Set to €œcustom€ (lowercase, minus the quote marks!)
  • Right-Click on €œcustom_format€
  • Choose €œEdit Key€
  • Paste in the tiny code from here http://pastebin.com/f52910886

Customize

You can replace the font with any you have installed – I use Droid purely because the rest of my system does. Same goes for the font size – though bear in mind the smaller you go the harder it’ll be to read!

Also my panel is set to 28px in the screenshots – play around until you get something that works for you.

You may or may not need to restart gnome-panel to see the changes. This is a simple: –

  • killall gnome-panel

in a terminal to kill and restart it.

Super thanks to zacbarton who’s script i’m shamelessy plugging :)

Related posts:

  1. Smoke €“ Sleek Gnome Panel Background
  2. Icons In ‘Places’ Don’t Match Icon Theme? Fix It!
  3. Get Rid of Panel Shadow
Post a comment or leave a trackback: Trackback URL.
  • Thomas

    Hey, what hinting and aliasing settings do you use?

    • http://omgubuntu.co.uk/ d0od

      96 dpi / subpixel / slight / RGB

  • http://ndrw.me AndrewNoNumbers

    Wow that’s slick, but I’m gonna wait for Karmic to come out.

  • https://launchpad.net/~stylzp Phil D.

    %a %d %b%n%H:%M

    for 24h format

  • Anonymous

    there is not /apps/panel/applets/clock_screen0/prefs on mine, is there any other way to do it?
    (on karmic)

    • http://omgubuntu.co.uk/ d0od

      That’s my bad, it will usuall read /apps/panel/applets/clock_screen0/prefs however it can also read

      /apps/panel/applets/clock_screen1/prefs
      /apps/panel/applets/clock_screenx/prefs

      etc

      • Anonymous

        actually i mean that there is no clock_screen at all :P
        anyway, i’ll try to find the options of the clock later on and put the script there – they have to be somewhere

        • whiskey

          Look at all the applets one by one until you find the one that says OAFIID:GNOME_ClockApplet in the bonobo_id (it will be one of those with an arrow on it).

          • Anonymous

            i found it some days ago but still when i enter the code nothing changes :S

  • http://omgafb.blogspot.com/ Mauro22

    Really sweet!! Thanks

  • http://twitter.com/kinesthesia kinesthesia

    Argh, I need to stop reading these as it just makes me want to try out Karmic even more. Must wait until Beta at least..

    • http://seifsallam.co.cc/ Seif Sallam

      i did it on jaunty

  • http://ubuntronics.blogspot.com/ Javier

    Excellent ->Thanks you… bye.

  • Anonymous

    that looks so much nicer and stream lined thank you :)

  • blakamin

    Thanks for this… very cool.
    But while we are here, what are the values to use in the “Cities” list in the clock applet (to get the weather etc I presume)

    • blakamin

      Nevermind, got it sorted, Just a shame the temp display isn’t the same colour as the clock. Oh well, I’ll just hide it again!

  • Tyler Lovelace

    I love this, thanks so much for this tip :D

    • http://omgubuntu.co.uk/ d0od

      Thank you very much! It is so simply, but so gorgeous!

  • lnx4tw

    It is set up a little different on the netbook remix for some reason. It is under:

    /apps/panel/applets/applet5/prefs

    My only problem was that I couldn’t find out how to make the panel itself bigger so i changed the code a little bit.

    %a %d %b, %I:%M %p

    The date no longer sits on top of the time, but it definitely improves the look.

    Thanks so much for this post!!

    • http://omgubuntu.co.uk/ d0od

      Thanks for that! I hadn’t gotten around to changing it on my netbook, but i shall now!

  • Anonymous

    They should really make this a default.

  • whiskey

    Works in Jaunty too!

  • http://ww.onoametal.wordpress.com/ Onoametal

    Great trick, thanks!

  • Steam

    I get it to only show a 1. in my clock in the panel.It’s fucked.

  • Steam

    I get it to only show a 1. in my clock in the panel.It’s fucked.

  • Aaron

    I did this to Lucid and change the colors to match the monochrom icons.