Thursday, January 28, 2010

Changing Gnome panel clock from 24hr time to 12hr time on OpenSUSE 11.2

Fire up your shell, and type in gconf-editor.  Then, on the left, select Apps --> panel --> applets --> applet0 --> prefs (This was slightly different for me between two different machines.  It might be ...applets --> clock_screen0 --> prefs.)  First you want to right click on 'format' on the right side of the gconf-editor, and select 'Edit Key'.  In the dialogue box that comes up, enter 'custom' (without the quotes).  Then click ok.  Next, you will need to enter 'custom_format' (about 6 entries above 'format').  Again, right click and select 'Edit Key'.  Here you will enter <b>%a %b %d, %l:M %p</b> and click ok.  This will get you a format such as Thu Jan 28, 12:20.  If you prefer a different format, look at some of the options available in the date man page.

Read more here.  (Don't forget to look at the comments section at the bottom as well).

No comments:

Post a Comment