Hi!
Useless to explain why strongly recommended that root tasks be carried out at command line, not by mouse clicking within the X environment. However here is a task which, despite of being very common (!), I wasn't able to carry out without mouse clicking under X. Since a professional command-line alternative surely exist, this thread is kindly asking for advice.
One often happens that internet sites display on the client's monitor not letters but little boxes arrays. Most often that happens because of lacking (on the client behalf) of suitable fonts for non latin languages. Please do believe that, even installing all KDEI Slackware packages, you do not solve all natural needs in this respect, though suitable fonts do exist available. Another example is that of professionally peculiar sites which need non-literal fonts (e.g. musical composition, mathematics, etc).
So, in such cases, the root which has got suitable X fonts must install them. Here are the beginning steps to follow.
-------------------
1) Create a font directory
Code:
# mkdir /usr/X11R6/lib/X11/fonts/font_completion
and put inside the new font files.
2) Edit
Code:
# pico /etc/X11/xorg.conf
and introduce a PATH, to the new font files, by inserting a suitable line such as
Code:
FontPath "/usr/X11R6/lib/X11/fonts/font_completion"
3) Update the font setting
4) and verify the availability of the new font files
-------------------
Now the new fonts, though fully installed, cannot be seen (therefore cannot be implemented concretely) by most of X applications; one needs a litle "introducing step". Here is the only practical guidance which I've found on the net:
5) Open X, choose
Control Center -> System Administration -> Font Installer -> Administration Mode then introduce the
root password, choose
Add Fonts and finally specify, in turn, the paths to each font file to be acknowledged by X applications.
Could you please specify a command-line counterpart to the 5) step from above?
Thanks!