You are not logged in.

#1 2019-01-10 21:21:59

doubleslash
Member
Registered: 2011-08-16
Posts: 80

[SOLVED]X does not seem to read custom .conf files

X doesn't seem to read my custom config files. I set the font path in /etc/X11/xorg.conf.d/50-fontpaths.conf as follows

Section "Files"
 ModulePath "/usr/lib/xorg/modules"
 FontPath     "/usr/share/fonts/OTF"
 FontPath     "/usr/share/fonts/TTF"
EndSection

and the file is world readable:

-rw-r--r-- 1 root root 50-fontpaths.conf

The output of

xset q

doesn't show my custom path (/usr/share/fonts/OTF)

 Font Path:
/usr/share/fonts/misc,/usr/share/fonts/TTF, (a few more ...

Why isn't it showing the OTF path? Please advise

Last edited by doubleslash (2019-01-10 21:42:42)

Offline

#2 2019-01-10 21:25:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]X does not seem to read custom .conf files

Paste your Xorg log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-01-10 21:42:19

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED]X does not seem to read custom .conf files

Paste your Xorg log.

The log says path does not exist even though it does. But I figured out that it wants to find the fonts.dir file immediately under the directory. My directory tree was /usr/share/fonts/OTF/adobe/fonts.dir, which caused the error since X did not find font.dir directly under the specified /usr/share/fonts/OTF. Changing the file to read

 FontPath     "/usr/share/fonts/OTF/adobe" 

fixed the problem.
Thank you.

Offline

Board footer

Powered by FluxBB