Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

-3 votes
0 answers
31 views
Kali Linux terminal shows overlapping or misplaced symbols
How can I change my Kali Linux terminal preference settings back to the default? Because the symbols are not in the right place, I think. As you can see, the symbols overlap with each other. [![Screenshot showing overlapping characters in the terminal][1]][1] [1]: https://i.sstatic.net/9Q2rQwBK.png
How can I change my Kali Linux terminal preference settings back to the default? Because the symbols are not in the right place, I think. As you can see, the symbols overlap with each other. Screenshot showing overlapping characters in the terminal
Subhan Ceferov (1 rep)
Jul 30, 2025, 02:27 PM • Last activity: Jul 31, 2025, 05:57 AM
3 votes
1 answers
3569 views
How do I install custom fonts like xfonts on WSL/WSLg for use in GUI apps?
I try to use GUI Apps on Windows 11 via WSL and WSLg. Unfortunately my GUI app needs some custom fonts (specifically `xfonts-100dpi` and `xfonts-75dpi`). Since WSLg does not include those fonts, my GUI App crashes. How can I install those fonts and make them available for WSLg (the x11 server)? I've...
I try to use GUI Apps on Windows 11 via WSL and WSLg. Unfortunately my GUI app needs some custom fonts (specifically xfonts-100dpi and xfonts-75dpi). Since WSLg does not include those fonts, my GUI App crashes. How can I install those fonts and make them available for WSLg (the x11 server)? I've installed them for WSL itself, but it does not look like they get shared with WSLg. Even manually copying the font files from /usr/share/fonts to /mnt/wslg/fonts did not change anything.
CrownUpKid (73 rep)
Dec 8, 2022, 01:54 PM • Last activity: Jul 29, 2025, 09:06 PM
3 votes
1 answers
3925 views
Change the font used in the Breeze SDDM theme
The default Breeze theme for SDDM on KDE uses default fonts from somewhere I don't know of. In earlier versions of KDE/SDDM, there used to be specific files in the SDDM themes where a font could be set (using something like `font.family` in `PlasmaComponents.Label`). However, in newer versions (Plas...
The default Breeze theme for SDDM on KDE uses default fonts from somewhere I don't know of. In earlier versions of KDE/SDDM, there used to be specific files in the SDDM themes where a font could be set (using something like font.family in PlasmaComponents.Label). However, in newer versions (Plasma/sddm-breeze 5.10.1-1, sddm 0.14.0-10 on Fedora 26) everything seems to have been rearranged and I can't find any file(s) where the font can clearly/obviously be set. I would like to change the font for preferably _all_ UI elements. I found this post but couldn't glean much useful information from it. One option in particular, got by following a link in that post, is to just change the system's default (fallback) fonts , and that is something I _definitely_ don't want to do (I need the default fonts as they are for other reasons). I also tried the option mentioned in the original post, by the author of an SDDM theme, of setting the font in the theme.conf file , but to no avail. (To be fair, the author does mention that this technique won't work with other themes. :( ) Is there really a way to change the SDDM font, particularly for the Breeze theme?
Saurav Sengupta (321 rep)
Jul 30, 2017, 07:06 PM • Last activity: Jul 23, 2025, 07:06 AM
2 votes
1 answers
4460 views
Change telegram desktop messages font family
I installed Manjaro with KDE and set up the Telegram desktop app. Persian (Farsi) text in Telegram displays in a very unattractive font. Is there any way to change the font family?
I installed Manjaro with KDE and set up the Telegram desktop app. Persian (Farsi) text in Telegram displays in a very unattractive font. Is there any way to change the font family?
ShaSha (121 rep)
Jan 24, 2020, 03:32 PM • Last activity: Jul 17, 2025, 11:05 PM
1 votes
1 answers
2201 views
How to fix Konsole font?
After updating to RHEL7 from RHEL6 my Konsole fonts are looking ugly and un-antialiased(Monospace size 11 in both systems). I played around with font antialiasing system settings but I am unable to make it identical to how it was before. Is there a way to restore the looks of font? i.e by copying so...
After updating to RHEL7 from RHEL6 my Konsole fonts are looking ugly and un-antialiased(Monospace size 11 in both systems). I played around with font antialiasing system settings but I am unable to make it identical to how it was before. Is there a way to restore the looks of font? i.e by copying some old font file or some settings from old system? Same issue is there for my Gvim.
Jean (211 rep)
Jan 18, 2019, 03:36 PM • Last activity: Jul 16, 2025, 12:04 PM
10 votes
1 answers
4777 views
How do I find which font provides a particular Unicode glyph?
On the Fedora 23 system I upgraded from F22, the U1F32D symbol 🌭 shows up just fine in the terminal, but on the one I installed from scratch, I get the box-with-numbers placeholder. I just checked and I have about 60 font packages on the system where it doesn't work, and over 200 where it do...
On the Fedora 23 system I upgraded from F22, the U1F32D symbol 🌭 shows up just fine in the terminal, but on the one I installed from scratch, I get the box-with-numbers placeholder. I just checked and I have about 60 font packages on the system where it doesn't work, and over 200 where it does. Without inspecting each one manually, is there a way to identify which font I need to add?
mattdm (41207 rep)
Nov 3, 2015, 04:06 PM • Last activity: Jul 3, 2025, 10:23 AM
3 votes
1 answers
9566 views
Fonts in chromium
(no, it isn't [this][1]) My bold fonts are completely deformed in some sites (mostly SE) in chromium. I have had this issue for a while on two Arch systems, but not in Ubuntu. Here is an example from a [question I was viewing][2] (getting carried away again ...): ![enter image description here][3] A...
(no, it isn't this ) My bold fonts are completely deformed in some sites (mostly SE) in chromium. I have had this issue for a while on two Arch systems, but not in Ubuntu. Here is an example from a question I was viewing (getting carried away again ...): enter image description here As you can see, some letters are bigger than others, and it generally looks a mess. I tried messing with the chromium fonts, but it seems the problematic SE sites have their own fonts they want, which overrides chromium's settings. What is going wrong? Is this some kind of extreme hinting that totally malforms the letters? Or is there something I ought to install? Come to think of it, what font is it? The only fitting fonts I have installed are Helvatica (Neue) and Nimbus Sans.
MadTux (745 rep)
Jul 16, 2014, 06:28 PM • Last activity: Jun 30, 2025, 04:06 PM
1 votes
0 answers
48 views
How do I change the font Chromium exposes as `ui-monospace`?
Currently, this is always Liberation Mono, which I hate, and it *doesn't* respect the font gsetting (I use MATE).
Currently, this is always Liberation Mono, which I hate, and it *doesn't* respect the font gsetting (I use MATE).
roundabout (111 rep)
Feb 11, 2025, 05:27 PM • Last activity: Jun 23, 2025, 10:36 AM
-1 votes
1 answers
107 views
Fish shell : characters not displayed correctly in prompt
I'm moving from bash to fish, and I've installed [ilancosman/tide prompt][1]. However, Some characters are not displayed correctly (cf. right part): [![Prompt with character display bug][2]][2] What I've done : - Install MesloLGS fonts by putting `*.ttf` files in `/usr/local/share/fonts` and running...
I'm moving from bash to fish, and I've installed ilancosman/tide prompt . However, Some characters are not displayed correctly (cf. right part): Prompt with character display bug What I've done : - Install MesloLGS fonts by putting *.ttf files in /usr/local/share/fonts and running fc-cache -fv which outputs /usr/local/share/fonts: caching, new cache contents: 4 fonts, 0 dirs - Install powerline and fonts-powerline : sudo apt install powerline fonts-powerline - Checked that my $LANG uses UTF-8 : echo $LANG outputs fr_FR.UTF-8 What can I do to have characters displayed correctly? Thanks The buggy character seems to be git-related as the current working directory was created while performing a git clone ... and it precedes a version number. I have not modified fish prompt in any way, except by installing Fish tide: https://github.com/IlanCosman/tide I think I understood the problem, even if it is still unsolved. I copied my prompt inside libreoffice, set the font as the one supposed to be used by the tide prompt (MesloLGS), and got the following result (I manually yellowed the differences spotted with my prompt) : Prompt in libreoffice So, as I understand, the problem resides in the fact that my prompt is not using the right font. Still investigating on it.
John Kravicz (23 rep)
Jun 11, 2025, 09:42 AM • Last activity: Jun 11, 2025, 11:20 AM
0 votes
1 answers
47 views
Changing font in my Vim text editor on Arch Linux? (DWM/X11)
I need your help! I am trying to set up a specific font and font size in my ```~/.vimrc``` file using ```set guifont=Monospace:h15```, but nothing is changing no matter if I put 12 or 20 in the size column. I've tried several fonts also, but it seems like changes just not apply - after writing the f...
I need your help! I am trying to set up a specific font and font size in my
~/.vimrc
file using
guifont=Monospace:h15
, but nothing is changing no matter if I put 12 or 20 in the size column. I've tried several fonts also, but it seems like changes just not apply - after writing the file and reopening it, size of the font and the font itself stays the same. Also
:set guifont=*
command doesn't show me anything. Here is my
.vimrc
file:
set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'nyngwang/nvimgelion'

syntax on

set termguicolors

set guifont=Monospace:h20

call vundle#end()
filetype plugin indent on

au BufNewFile, BufRead *.py
	\ set tabstop=4
	\ set softtabstop=4
	\ set shiftwidth=4
	\ set expandtab
	\ set autoindent
	\ set fileformat=unix

set laststatus=2

set wrap

set encoding=utf-8

vnoremap  :w !xclip -i -sel c
How to set up a specific font in my Vim configuration file? Thank you for your help.
Alex (3 rep)
Jun 9, 2025, 07:20 PM • Last activity: Jun 10, 2025, 06:07 AM
16 votes
4 answers
77508 views
How to install Microsoft True Type fonts for Centos 7?
There is no fonts directory in `/usr/share` at all on my system. How can I go about installing Microsoft True Type fonts in Centos 7? I only need Arial and Georgia.
There is no fonts directory in /usr/share at all on my system. How can I go about installing Microsoft True Type fonts in Centos 7? I only need Arial and Georgia.
cea (1573 rep)
Jul 21, 2015, 12:30 PM • Last activity: Jun 6, 2025, 05:25 PM
0 votes
1 answers
99 views
What causes fonts to be rendered incorrectly?
Environment: Manjaro, KDE. Font is IBM Plex Sans I'm trying to identify an issue with font rendering with my system, hopefully you can see from the first screenshot below the lowercase characters: `n` and `a` are strangely rendered, and the font at this size is inconsistently drawn/misaligned in ter...
Environment: Manjaro, KDE. Font is IBM Plex Sans I'm trying to identify an issue with font rendering with my system, hopefully you can see from the first screenshot below the lowercase characters: n and a are strangely rendered, and the font at this size is inconsistently drawn/misaligned in terms of height. Arch linux wiki Zoomed in +110% in Chrome/Edge fixes this. Arch linux wiki zoomed in Screenshot from Arch linux wiki: https://wiki.archlinux.org/title/Arch_Linux I'm not sure what to do to fix this, other than reverting to the original font KDE came with. Thanks Edit: getting similar results in Firefox and VSCode From firefox: firefox
Matthew (101 rep)
May 29, 2025, 03:24 PM • Last activity: Jun 4, 2025, 12:38 PM
0 votes
2 answers
4970 views
Setting the default style of a font in fonts.conf
I'm trying to set the default style of a font in `fonts.conf` because for whatever reason the bold version always gets matched: ``` $ fc-match monospace LigaOperatorMonoSSm-Bold.otf: "Liga Operator Mono SSm" "Bold" ``` This is my `fonts.conf`: ``` true Liga Operator Mono SSm Medium serif Circular St...
I'm trying to set the default style of a font in fonts.conf because for whatever reason the bold version always gets matched:
$ fc-match monospace
LigaOperatorMonoSSm-Bold.otf: "Liga Operator Mono SSm" "Bold"
This is my fonts.conf:
true

  
    Liga Operator Mono SSm
    Medium
  

  
    serif
    Circular Std
  
  
    sans-serif
    Circular Std
  
  
    sans
    Circular Std
  
  
    monospace
    Liga Operator Mono SSm
  
  
    terminal
    Liga Operator Mono SSm
As you can see, I've tried to set the default width to Medium but it unfortunately does not work. These are the available styles:
/usr/share/fonts/OTF/LigaOperatorMonoSSm-LightItalic.otf: Liga Operator Mono SSm:style=Light Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-MediumItalic.otf: Liga Operator Mono SSm:style=Medium Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Medium.otf: Liga Operator Mono SSm:style=Medium,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-BoldItalic.otf: Liga Operator Mono SSm:style=Bold Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Book.otf: Liga Operator Mono SSm:style=Book,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Bold.otf: Liga Operator Mono SSm:style=Bold,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-BookItalic.otf: Liga Operator Mono SSm:style=Book Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Light.otf: Liga Operator Mono SSm:style=Light,Regular
Does anyone see where the mistake is? Thanks!
malte-v (101 rep)
Apr 1, 2020, 07:11 PM • Last activity: May 31, 2025, 10:06 PM
0 votes
1 answers
71 views
Wayland terminal with fixed font
I am switching from regular Xorg setup to Plasma KDE on Wayland. There is no better look that I know for a terminal than transparent urxvt with fixed xorg 7x14 font. Urxvt has issues with wayland and it is not supported so I am curious if there is any modern terminal which can take regular xorg font...
I am switching from regular Xorg setup to Plasma KDE on Wayland. There is no better look that I know for a terminal than transparent urxvt with fixed xorg 7x14 font. Urxvt has issues with wayland and it is not supported so I am curious if there is any modern terminal which can take regular xorg font description as its primary font? Is it possible in a wayland world at all? I tried Konsole and Alacritty, they both support xft scaled fonts only like TTF or whatever.
kab00m (233 rep)
May 20, 2025, 05:39 PM • Last activity: May 23, 2025, 04:11 PM
15 votes
1 answers
1251 views
Why does Consolas have different vertical alignment on Linux?
Using Consolas 14px ### Firefox default profile, max zoom [![Consolas on Windows 10 vs Linux][1]][1] ### VS Code, same settings, no zoom [![Windows 10 (Left), Linux Mint (Right)][2]][2] *Windows 10 (Left), Linux Mint (Right)* Aside from Windows having more vibrant colors (2nd image), the font render...
Using Consolas 14px ### Firefox default profile, max zoom Consolas on Windows 10 vs Linux
### VS Code, same settings, no zoom
Windows 10 (Left), Linux Mint (Right)
*Windows 10 (Left), Linux Mint (Right)* Aside from Windows having more vibrant colors (2nd image), the font renders essentially the same in Windows 10 and Linux, except for the vertical alignment. Why does this happen and is it possible to change the alignment behavior in Linux to match Windows?
Note: I also tested this on Arch + KDE Plasma and got the same behavior as Mint.
nullblade (161 rep)
May 23, 2025, 02:17 PM • Last activity: May 23, 2025, 03:41 PM
0 votes
0 answers
79 views
Grub does not display custom fonts - How to Debug?
Operating system: OpenSUSE 15.6, upgraded from 15.5 I am creating a custom `grub` theme in which I want to use a font with a larger size than the default (I'm on a 3840x2160 screen). I followed the instructions of using custom fonts, but the font doesn't show up. Other aspects of the theme (colors,...
Operating system: OpenSUSE 15.6, upgraded from 15.5 I am creating a custom grub theme in which I want to use a font with a larger size than the default (I'm on a 3840x2160 screen). I followed the instructions of using custom fonts, but the font doesn't show up. Other aspects of the theme (colors, including font color) do work, so I know I'm editing the right theme file and compiling correctly. I have used grub2-mkfont to create the .pf2 files, and put those files in the theme directory. I can see the loadfont statements in the compiled grub.cfg file for all the font files in the theme directory. I checked the font name with the --verbose parameter to grub2-mkfont and made sure I used that name in the theme file. How do I debug from here? I'm figuring that either the font files I generated are somehow invalid, or the font loading is not getting triggered, or the font name doesn't match up somehow, but no clue how to figure out what.
Eric (1 rep)
May 21, 2025, 09:01 PM
3 votes
1 answers
2764 views
Cannot render non-ASCII characters with ffmpeg's drawtext
Using the `drawtext` filter in `ffmpeg` I am unable to use anything but ASCII characters. This command creates a five second test video, as expected (nothing pretty): ffmpeg -f lavfi -i testsrc -to 5 -vf "drawtext=text='AT 05 ーポン 攢ð':fontcolor=white" test.mpg But the output fails to...
Using the drawtext filter in ffmpeg I am unable to use anything but ASCII characters. This command creates a five second test video, as expected (nothing pretty): ffmpeg -f lavfi -i testsrc -to 5 -vf "drawtext=text='AT 05 ーポン 攢ð':fontcolor=white" test.mpg But the output fails to render any non-ASCII characters: FFMPEG Note from left to right: AT - Double spaced characters 05 - Simple numbers ーポン - CJK characters 攢ð - AltGr + a,b,c,d in my locale (en_GB.UTF-8) At first I assumed the font was at fault, but I've checked numerous fonts and they have the relevant glyphs. Indeed my entire system has no problems with these characters at all. I then assumed it must be ffmpeg but I tried the following: convert -background black -size 800x480 -fill "#ff0080" -family "Ubuntu Mono" -pointsize 72 -gravity center label:'AT 05 ーポン 攢ð' output.png The result being: convert So I'm back to assuming there is something wrong with my environment. I've tried on Ubuntu Trusty and Ubuntu Xenial but the results are the same. $ locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= $ ffmpeg ffmpeg version 3.2.4-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.1 (Debian 5.4.1-5) 20170205 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 $ convert -version Version: ImageMagick 6.7.7-10 2017-05-26 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP I don't know where else to look given that my locale appears to be correct, and any font I use correctly renders the font, but when passed to either ffmpeg or convert the text shown is useless. I've done the usual hours and hours of Googling to no avail. I'm amazed nobody else has seen this problem before me. Can anyone shed any light?
Ken Sharp (559 rep)
Jun 13, 2017, 10:05 PM • Last activity: May 21, 2025, 12:04 AM
1 votes
2 answers
1204 views
Linux console with different input / output font size
Is there a way to have multiple font sizes in a single linux console? example: x@system:~$ ls -a // Font Size 14 . .. td // Font Size 10
Is there a way to have multiple font sizes in a single linux console? example: x@system:~$ ls -a // Font Size 14 . .. td // Font Size 10
mlwn (119 rep)
Jan 9, 2020, 10:15 AM • Last activity: May 9, 2025, 05:42 PM
4 votes
1 answers
20890 views
How to increase the TTY fontsize on Fedora?
I have a fedora machine, I am used to working on CLI since I had CRT monitor, after switching to TFT - the experience is not the same I had with CRT, the font is smaller now. How to change it?
I have a fedora machine, I am used to working on CLI since I had CRT monitor, after switching to TFT - the experience is not the same I had with CRT, the font is smaller now. How to change it?
Ayush Goyal (343 rep)
Oct 23, 2010, 05:10 AM • Last activity: May 7, 2025, 05:31 PM
1 votes
1 answers
356 views
Google Chrome 136 under Linux no longer honors Freetype font antialiasing overrides
For years I've used this to run Chrome/Chromium: ```bash FREETYPE_PROPERTIES=truetype:interpreter-version=35 chrome ``` This no longer works in Chrome 136.0.7103.59 (Official Build) (64-bit). Does anyone know why? How to get back the old behavior? Here's what I'm talking about: [![Chrome 136 font re...
For years I've used this to run Chrome/Chromium:
FREETYPE_PROPERTIES=truetype:interpreter-version=35 chrome
This no longer works in Chrome 136.0.7103.59 (Official Build) (64-bit). Does anyone know why? How to get back the old behavior? Here's what I'm talking about: Chrome 136 font rendering with Freetype's overrides It's also discussed here and here's the corresponding bug report .
Artem S. Tashkinov (32730 rep)
May 2, 2025, 10:01 AM • Last activity: May 2, 2025, 10:16 AM
Showing page 1 of 20 total questions