Fixing fonts in Manjaro BSPWM

I followed this page instrucctions in order to improve fonts in Manjaro “I can’t include links in my post”. I did not like it so I wanted to get back the default fonts the system came out with and after reading some articles about the topic it says to create a symbolic link like this ls -s files inside /etc/fonts/conf.avail/. The problem is there are many of them which one should I select.

Which files did you change?
For future reference:
make a backup copy of the system files before you change them so you can easily revert

That probably read:
ln -s files inside /etc/fonts/conf.avail/
and depends on in which directory you currently are or needs to be given the full path

No one knows which instructions you followed - either describe it or post the link with some character in between the http and the rest

I did followed these instructions which are in the Manjaro Wiki but didn’t like it, the fonts looks either too thick and bold fonts look like they have a ghost behind them.
1. Create the file /etc/fonts/local.conf

sudo nano /etc/fonts/local.conf

Paste the following content in the file-

true true hintslight lcddefault

After that save the file.

  1. Create backup of ~/.Xresources file:

cp ~/.Xresources ~/.Xresources.bak

If the .Xresources file has not been already created and you get the error -

“cp: cannot stat ‘~/.Xresources’: No such file or directory”, then skip to step No. 3.

  1. Open/Create ~/.Xresources file in text editor:

nano ~/.Xresources

If the following is not already present, paste at the end of the file or edit existing values:

Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault

Save changes to the file.

4.Run the following command in terminal:

xrdb -merge ~/.Xresources

That file doesn’t exist in a (my) standard installation.
I don’t know if it does anything - what you said you pasted in there doesn’t look right …
(it’s supposed to be an .xml file)

but since that file didn’t exist before you created it:

just remove it, so that the initial state is restored.

restore that ~/.Xresources file as well (from the backup you apparently made)
just copy the backup copy back to the original name
cp ~/.Xresources.bak ~/.Xresources

The original .Xresources file can also be found in
/etc/skel
where all the default configs are stored - they are copied from there to any new user account,
but you can use them to restore your altered files to their default state

That would be my take based upon the info you provided here.
Basically:
just restore the state before your modifications

you seem to have all the needed files/backups to do this


you can’t post links?
Perhaps describe how to find it then?

But the info above should take care to get rid of any modifications that where made, so this is not that important.

New users are not allowed to post links, this is to prevent spam bots.

The way to post links for new users is adding backticks in the editor:
`https://somelink.somewhere/somedir/some.file`

https://somelink.somewhere/somedir/some.file

It will show as code so we all can see what were are getting into when we click the link and not ending up here or worse.

This is the link wiki.manjaro.org/index.php/Improve_Font_Rendering. Also, default fonts looks gorgeous at least on Manjaro BSPWM. For any kind of reason this is not the case on their KDE/Gnome edition. I did restore the .Xresources file but didn’t work.

If you have just done what is in that Manjaro Wiki on improving font rendering
and nothing else,
then these commands will restore the state the system was in before you started:

cd ~/
sudo rm /etc/fonts/local.conf
cp /etc/skel/.Xresources ./
xrdb -merge ~/.Xresources

For any kind of reason this is not the case on their KDE/Gnome edition.

In KDE/Gnome and others, there are Gui-tools to do the same thing.

I did restore the .Xresources file but didn’t work.

I have no idea what that means.