Web Design

Categorized | GNOME

Tags :

Custom clock in GNOME

Want a customized clock and date applet display in the GNOME Panel? Open gconf-editor and go to apps > panel > clock_screen0 > prefs. Edit the format field and type custom in it. Now, in the custom_format field type

<span color=”#333333″>%a %d %b</span> <b>%H:%M</b>

If you are interested in CISSP then go through 70-640 dumps and 642-832 practice exam to successfully complete your certification.

Author Profile

T4L ;

Other posts by

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


15 Comments

  1. Alex.O

    Hi,

    In my system (Ubuntu 8.10) I have the following path for clock_screen0:
    apps > panel > applets > clock_screen0 > prefs

    Also it works only without ‘span’ tags in the “custom format” field:
    %a %d %b %H:%M

    1

  2. Weird, I have 8.10 and mine is not there. One day I will get to the bottom of this…. screen cap here: http://eroticpenguin.com/ubuntu-gnome-clock-change

    2
  3. Tom

    I changed the clock like explained here, but instead of clored text and bold text, I see the HTML tags in the clock area (Ubuntu 8.10)

    3
  4. T4L

    I also use Ubuntu 8.10. If you follow the steps it should work. Check the settings again pls.

    4
  5. AJ

    I couldn’t find the applet prefs as per the instructions above, either, but I did find it eventually.

    In 8.10 this is how I managed to find the custom settings for the clock applet:

    Open up Configuration Editor as usual, go to panel > applets > applet_1 > prefs. Then follow the instructions in the original post. Note that you must remove the span tags in order for it to work in 8.10.

    Hope that helps!

    5
  6. cainmark

    I had the problem when I copied and pasted the information, just seeing the tags. When I typed it out,however, it worked a charm.

    Should be the same, though. I don’t get the difference.

    6
  7. AJ

    Also, the tags used in the custom field are the same as in PHP time.

    7
  8. JBu92

    I am also on Ubutnu 8.1, and for those of y’all who’re still seeing the html tags- only certain ones work. works, works, works if you put a space between the %whatever and the

    8
  9. JBu92

    wonderful, the html went through. they work, it’s just difficult. when you first type in the html, leave a space between the tags and the markup, then click OUT of it so it gets applied, then you can go back in and remove the spaces

    9
  10. John

    I’m using ubuntu 8.10, and i cant seem to get rid of the zero in front of a single digit hour. like 08:30 instead of 8:30. i used %I:%M in the code. is there a way to cut that zero off or a different variable?

    10
  11. T4L

    @John: right-click on the clock in the Panel, chose preferences > 12 hour format

    11

  12. I’m with the commenters whose gconf-editor simply does not show the same items everyone else seems to have. Very frustrating!

    /*few minutes later*/

    Run gconf-editor as a regular user, not sudo. Then you won’t have that problem. I’ve finally got my time the way I want it. Oh joy. And curses on the Gnome devs who made it so insanely difficult.

    12
  13. Guilherme - Milhouse

    %n for new line

    13
  14. poisonborz

    it’s important to note that you must run gconf-editor *without sudo*, otherwise the desired values above will not appear.

    14
  15. Calin

    Just to clear things up a bit: The time format displayed is used in the “date” command. for a reference you can always type “man date” in a terminal to see all the formatting options. Also, sudo will apply the changes for the root user and not to yours (obviously).

    15

7 Trackback(s)

  1. 16 12 2008 : Custom clock in GNOME | Linux-Trickz
  2. 18 12 2008 : Customize Your Linux Panel Clock - Softsaurus.org
  3. 18 12 2008 : McColley.net » Blog Archive » Customize Your Linux Panel Clock [Linux Tip]
  4. 18 12 2008 : windows Customize Your Linux Panel Clock [Linux Tip] | 82123
  5. 18 12 2008 : Slackerology - Customize Your Linux Panel Clock [Linux Tip]
  6. 18 12 2008 : Reloj del panel personalizado « Pain Dev
  7. 12 01 2009 : Customize Your Linux Panel Clock [Linux Tip] | Techno Portal

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>