Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the xlsfonts command in Linux

Shulou Source: shulou.com Published: 2022-06-01 15:08:30 11月23日 Update

This article mainly introduces how to use the xlsfonts command in Linux. It is very detailed and has a certain reference value. Friends who are interested must finish it!

The Linux common command 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.

Grammatical format

Xlsfonts [parameters]

Common parameter:-l lists 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 the font size-n set the number of columns displayed in each column-o list the font list in OpenFont form-u list the font list without sorting by its name-w set the maximum number of characters per column reference instance

Displays a list of the first five fonts used:

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

Display both font name and attributes in OpenFont format:

[root@linux265 ~] # xlsfonts-lo

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

[root@linux265 ~] # xlsfonts-lm

The above is all the contents of the article "how to use xlsfonts commands in Linux". 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 simultaneous attribute information content size common use form effect list article reference maximum upper and lower upper limit value number of digits Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft Xiaomi Huawei Docker