Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to customize the time and date display format of the Ubuntu panel

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to customize the Ubuntu panel time and date display format, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Time and date format

Although there are already some options available on the settings page, this quick tutorial will show you how to customize the time and date indicators on the Ubuntu panel in more depth.

Custom time date

Before you begin, search for and install dconf Editor in the Ubuntu Software Center. Then start the software and follow these steps:

1. When dconf Editor starts, navigate to com-> canonical-> indicator-> datetime. Set the value of time-format to custom.

Custom time format

You can also do the above through the commands in the terminal:

Gsettings set com.canonical.indicator.datetime time-format 'custom'

2. Now you can customize the format of time and date by editing the value of custom-time-format.

Custom-time format

You can also do it by order.

Gsettings set com.canonical.indicator.datetime custom-time-format 'FORMAT_VALUE_HERE'

The following is the meaning of the parameters:

◆% a = week initials

◆% A = full spelling of week name

◆% b = month abbreviation

◆% B = full spelling of month name

◆% d = date of each month

◆% l = hour (1.. 12),% I = hour (01.. 12)

◆% k = hour (1.. 23),% H = hour (01.. 23)

◆% M = minutes (00.. 59)

◆% p = afternoon, AM or PM,% P = am or pm.

◆% S = seconds (00.59)

You can open the terminal and type the command man date and execute it for more details.

Some examples of custom time and date display format values:

% a% HVA% M% m/%d/%Y#FormatImgID_0#

A r b d or an I:%M:%S p b d#FormatImgID_1#

% a%-d% b% lvu% M% P% z

Thank you for reading this article carefully. I hope the article "how to customize the time and date display format of the Ubuntu panel" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report