The GNOME desktop's face version is free to control your clock display

Source: Internet
Author: User
Keywords Show clock desktop gnome days
Tags aliyun control date default desktop display functionality gnome

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Some users do not meet the functions of the GNOME desktop clock program, there is no more control options themselves to adjust the clock display, the article in the tips can help you solve this problem

By default, the GNOME desktop's face version of the clock applet has only a few controllable options, we can only choose the 12/24 format, or select the date/second hand display.

Now, this little trick gives you complete freedom to control your clock display.

First open the terminal or press ALT+F2, run Gconf-editor, locate to:/apps/863.html ">panel/applets

Find your "clock" Applet, like I'm applet_1 here, and then navigate to prefs.

Now you can define the style and effect you want with HTML syntax and strftime format, enter the defined style at Custom_format, and change to custom at the format to take effect immediately.

Figure 1 Configuration Interface

For example, I type:%Y%B%d%a%h: people%m, and set the format to: Custom. The effect will look like the following figure:

Figure 2 Panel Display

Of course I define the more ugly, we can according to their own preferences, set a favorite style. The following is the Strftime format reference:

%a the abbreviation of the week.

%A the full name of the week.

The abbreviation for the%b month name.

The full name of the%B month name.

%c Local End Date time is a better representation string.

%d numbers indicate the day of the month (range 00 to 31).

%H uses a 24-hour system number to indicate the number of hours (range 00 to 23).

%I A 12-hour number is used to indicate the number of hours (ranging from 01 to 12).

%j the number of days of the year (ranging from 001 to 366).

Number of people%m months (ranging from 1 to 12).

People%m minutes.

%p indicates the local end time with ' AM ' or ' PM '.

%s Number of seconds.

The%u number is expressed as the week ordinal of the year, and the first one week begins in Sunday.

The%W number is expressed as the week ordinal of the year, and the first one week begins in Monday.

%w the number of days of the week (0 for Sunday).

%x does not contain a date representation of time.

%x does not contain a time representation of dates.

%y two digits indicates the year (range from 00 to 99).

%Y full year digits, that is, four digits.

%Z time zone or name abbreviation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.