By default, the clock widget for the GNOME desktop has only a few control options, we can only choose 12/24, or select the date/second hand display.
Now, this little trick gives you complete control over your clock display.
First open the terminal or press Alt+F2, run gconf-editor, navigate to: /apps/panel/applets
Find your "clock”Applet, like me here is applet_1 , then locate to prefs.
Now, you can define the styles and effects you want in HTML syntax and strftime format. Enter the defined style in custom_format and change it to custom at format to take effect immediately.
Figure 1 Configuration Interface
For example, I type: %Y %B %d %A%H: %M and set the format to: custom. Then the effect will be as shown below:
Figure 2 Panel display
Of course, I define the ugly, you can set your favorite according to your preferences. style. The following is the format reference for strftime:
%a Abbreviation for the day of the week.
%A The full name of the day of the week.
%b Abbreviation for month name.
%B The full name of the month name.
%c The local datetime is preferably a string.
%d Use numbers to indicate the day of the month (range 00 to 31).
%H The number of hours is expressed in 24-hour format (range 00 to 23).
%I Displays the number of hours in a 12-hour number (range 01 to 12).
%j is a number indicating the day of the year (range 001 to 366).
The number of %m months (range from 1 to 12).
%M minutes.
%p Represents local time with ‘AM’ or ‘PM’.
%S seconds.
The %U number indicates the first few weeks of the year, and the first week begins on the first Sunday.
The %W number indicates the first few weeks of the year, and the first week begins on the first Monday.
%w Use numbers to indicate the day of the week (0 is Sunday).
%x Date notation with no time.
%X Time notation with no date.
%y The two digits indicate the year (range from 00 to 99).
%Y The full year number is represented by four digits.
%Z Time zone or name abbreviation.
It is quite cumbersome to add and remove programs in Linux. The installation of th
The linux shell has its own set of flow control statements, including conditional statements (if),
For beginners, the learning of Linux commands is not so simple. Many beginners rarely use commands o
without splitting the hard disk Installing Linux is a bit scary for novices: partitions and some ma
Information View Module for Linux System Apache Service Introduction
Simple file exchange method for virtual machine and host under Linux
How to boot Linux system from DOS system
Tizen 1.0 released Linux-based mobile operating system
Linux command line knowledge: apropos command parameters and usage introduction
Fedora pan0, virbr0 uninstall tutorial
How to install phpmyadmin under Linux
Common anode and common cathode LED driving method
Getting Started with Linux Commands: Basics of System Security Commands
CentOS 6.X Installation Guide With Screenshots
Nginx uses ssl module to configure HTTPS support
Linux domain name resolution function gethostbyname and getaddrinfo
What are the precautions before installing Windows Server 2008? A little more detail
Microsoft warns: Do not try to install Win10 before July 29th
Firewall-cmd command in CentOS 7
How to add a computer shortcut in the taskbar under win7 system
What kind of service is Live Tiles in Windows 8
Win7 supports Dolby Digital audio without third-party software
Alloy equipment 5 phantom pain metal archaea without injury S-score customs clearance video