Skip to content

Show Terminal Font on kgx (Gnome Console) #577

@JamiKettunen

Description

@JamiKettunen

Current state:

$ fastfetch --show-errors
...
Terminal: kgx 45.0
Terminal Font: Unknown terminal: kgx
...

Wanted state:

$ fastfetch --show-errors
...
Terminal: kgx 45.0
Terminal Font: Source Code Pro (10pt)
...

Why the change is sensible:

With Gnome Console 45.0 release it now supports setting a non-default custom font through a preferences dialog:
image

The system default is from gsettings get org.gnome.desktop.interface monospace-font-name ('Source Code Pro 10' in my case).

Custom font can be seen with:

$ dconf read /org/gnome/Console/use-system-font
false
$ dconf read /org/gnome/Console/custom-font
'DejaVu Sans Mono 10'

With the first being useful to see if the monospace-font-name should be shown instead.

On versions prior to 45 only Terminal: kgx is seen in fastfetch output, so in case a version (or the /org/gnome/Console/custom-font dconf entry) isn't found perhaps it could still show the monospace-font-name value which it uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions