Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the xlsfonts command of linux to display a list of X server fonts

Shulou Source: shulou.com Published: 2022-06-02 20:09:29 09月22日 Update

This article mainly introduces the use of linux xlsfonts command to display the X server font list, the article is very detailed, has a certain reference value, interested friends must read it!

The xlsfonts command displays a list of fonts currently used by the X server, or you can use only eligible fonts listed in the template style.

When you run the xlsfonts command, you are required to enter it on the command line under the graphical interface after starting the graphical interface of the local X-Windows, otherwise there will be an error prompt.

Syntax format: xlsfonts [parameters]

Common parameters:

-l list the properties of the font in addition to the font name-ll this parameter is similar to specifying the "l" parameter, but displays more detailed information-lll this parameter is similar to specifying the "ll" parameter, but shows more detailed information-m when used with the parameter "- l" List the upper and lower limits of font size-n set the number of columns displayed in each column-o list fonts in OpenFont form-u list fonts without sorting by name-w set the maximum number of characters per column

Reference example

Displays a list of the first five fonts used:

[root@linuxcool ~] # xlsfonts | head-n 5

Display both font name and attributes in OpenFont format:

[root@linuxcool ~] # xlsfonts-lo

Display font name and attribute with upper limit of size at the same time:

[root@linuxcool ~] # xlsfonts-lm above is to use linux's xlsfonts command to display all the contents of the X server font list, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Font parameter command name server service at the same time properties information content graphics size form effects list interface reference maximum up and down upper limit Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi vpn Shulou Technology Xiaomi Apple