This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
локализация_x_сервера [2013/05/22 13:50] 127.0.0.1 внешнее изменение |
локализация_x_сервера [2014/07/22 17:05] val [Включаем поддержку русской клавиатуры] |
||
---|---|---|---|
Line 25: | Line 25: | ||
==== Включаем поддержку русских шрифтов ==== | ==== Включаем поддержку русских шрифтов ==== | ||
- | === Штатные шрифты === | ||
<code> | <code> | ||
- | # cat /etc/X11/xorg.conf | + | # cd /usr/local/lib/X11/fonts/ |
- | </code><code> | + | |
- | ... | + | |
- | Section "Files" | + | |
- | RgbPath "/usr/X11R6/lib/X11/rgb" | + | |
- | ModulePath "/usr/X11R6/lib/modules" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/misc/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/TTF/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/Type1/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/CID/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" | + | |
- | EndSection | + | |
- | </code> | + | |
- | + | ||
- | === TrueType шрифты === | + | |
- | <code> | + | |
- | # cd /usr/X11R6/lib/X11/fonts/ | + | |
# fetch http://koi8.pp.ru/dist/msttcorefonts.tgz | # fetch http://koi8.pp.ru/dist/msttcorefonts.tgz | ||
- | # tar -xvzf ~/msttcorefonts.tgz | + | # tar -xvzf msttcorefonts.tgz |
# cat /etc/X11/xorg.conf | # cat /etc/X11/xorg.conf | ||
+ | </code><code> | ||
+ | ... | ||
Section "Files" | Section "Files" | ||
- | RgbPath "/usr/X11R6/lib/X11/rgb" | + | ModulePath "/usr/local/lib/xorg/modules" |
- | ModulePath "/usr/X11R6/lib/modules" | + | FontPath "/usr/local/lib/X11/fonts/msttcorefonts/" |
- | FontPath "/usr/X11R6/lib/X11/fonts/msttcorefonts/" | + | FontPath "/usr/local/lib/X11/fonts/cyrillic/ |
- | FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" | + | ... |
- | FontPath "/usr/X11R6/lib/X11/fonts/misc/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/TTF/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/Type1/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/CID/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" | + | |
- | FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" | + | |
- | EndSection | + | |
</code> | </code> | ||
Line 75: | Line 51: | ||
<code> | <code> | ||
# cat /usr/local/etc/hal/fdi/policy/x11-input.fdi | # cat /usr/local/etc/hal/fdi/policy/x11-input.fdi | ||
+ | </code><code> | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
<deviceinfo version="0.2"> | <deviceinfo version="0.2"> |