lsb_release has little to do with fonts, as you know.
So, if "you messed your default fonts up", I don't think it was because you decided to installing lsb_release.
On the other hand, using apt, I have never installed with apt using a wildcard (*) like you show in your post .
Was that a typo in your reply?
Anyway, you are running CentOS.
So, for CentOS, I think you can change the default system font by adding the <prefer> directive to your fonts.conf file.
You might want to investigate that. I saw on the net where many people change their default system fonts on CentOS using the <prefer> or <default> directive:
Frankly, I don't change system fonts on my servers; and when I login remotely (everyday), I change the console fonts using the terminal program (I use Roboto and Anonymous Pro fonts) not with the system fonts.
Anyway, I not really very helpful on this, so I think you can easily Google around about how to change the default system font in CentOS and make good progress.
In closing, I would like to caution you about saying "changing fonts on Linux system" (as in the title of this discussion you posted).
Linux, defines only the kernel. The operating environment is defined by the distribution (in your case CentOS). Linux is the kernel, everything else falls under the actual distribution.
Your issue changing system fonts is a CentOS issue, not a Linux issue, per se. Linux is the kernel, not the "distribution".
Created the config file ~/.config/fontconfig/fonts.conf
Then i reloaded the font-cache using the command fc-cache -fv
I then used check.sh script which has the below code to get the Default fonts:
Output:
The output still says my default is Dejavu instead of the below:
Can you please suggest what could be the issue in my configuration ?
--- Post updated at 11:11 PM ---
The issue is resolve my making the following changes (changing lyx to St Ryde):
I change lyx to St Ryde as you can see above.
What i still wish to know how do i know the family of a font given a .ttf file ?
In this case the family was St Ryde but that was more so a guess. Can you tell me the correct place to see the family given the .ttf file ?
Also, the /usr/share/fonts/lyx: skipping, looped directory detected message persists while I was able to change the default font. hence, i guess troubleshooting that was irrelevant.
By the way ... thank you Neo for all your help ... appreciated.
Hi Gurus,
I have a small requirement where i want to change the color & font of some text in a file.
i have a file error.txt which will be created in the script using egrep.
After that iam adding these lines at head & tail to that file using the following code
awk 'BEGIN{print"Please... (4 Replies)
I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx?
mailx -s "MY REPORT, `date +'%D %r` " -r "REPORTING SYSTEM"... (2 Replies)
Hello All,
Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not...
Anyway.. How can I find out what the Default font being used is inside a Gtk2::Widget. In this case I'm trying to figure out the
font being used inside a... (1 Reply)
Hello,
I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg.
I ran below code:
ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \
-c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4
When I play it in VLC,... (2 Replies)
Hi All,
I have a file that contains following entries.
I want to highlight the line that has word as "FAILURE" while sending the email.
File
------------------------------------------------------------
Job Name: ABC
Start Time: 07/20/2019 07:32:39
End Time: 07/20/2019... (4 Replies)