Changeset 310960e4
- Timestamp:
- 02/12/2005 05:15:01 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 46b900a
- Parents:
- 0bfe309a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/x-setup.xml
r0bfe309a r310960e4 15 15 16 16 <sect2 id='dri'> 17 <title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>) Installation</title> 17 <title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>) 18 Installation</title> 18 19 19 20 <indexterm zone="x-setup dri"> 20 <primary sortas="g- x-setup">DRI</primary>21 </indexterm> 22 23 <para><acronym>DRI</acronym> is a framework for allowing software to access graphics hardware24 in a safe and efficient manner.It is installed in25 <application>X</application> by default if 26 you have a supported video card. To check if <acronym>DRI</acronym> is installed properly,27 check the log file<filename>/var/log/XFree86.0.log</filename> or21 <primary sortas="g-DRI">DRI</primary> 22 </indexterm> 23 24 <para><acronym>DRI</acronym> is a framework for allowing software to access 25 graphics hardware in a safe and efficient manner. It is installed in 26 <application>X</application> by default if you have a supported video card. 27 To check if <acronym>DRI</acronym> is installed properly, check the log file 28 <filename>/var/log/XFree86.0.log</filename> or 28 29 <filename>/var/log/Xorg.0.log</filename> for statements like:</para> 29 30 30 31 <screen>(II) R128(0): Direct rendering enabled</screen> 31 32 32 <para>From an <command>xterm</command>, run <command>glxinfo</command> and look for the phrase:</para> 33 <para>From an <command>xterm</command>, run <command>glxinfo</command> and 34 look for the phrase:</para> 35 33 36 <screen>direct rendering: Yes</screen> 34 37 … … 48 51 </indexterm> 49 52 50 51 <para>For troubleshooting problems, check the <acronym>DRI</acronym> Users Guide at 52 <ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/>. 53 </para> 53 <para>For troubleshooting problems, check the <acronym>DRI</acronym> Users 54 Guide at 55 <ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/>.</para> 56 54 57 </sect2> 55 58 … … 69 72 70 73 <itemizedlist> 71 72 74 <listitem><para>Establish a directory for the fonts and move any 73 75 <application>TrueType</application> fonts you want into that directory. … … 79 81 80 82 <listitem><para>Create the <filename>fonts.scale</filename> and 81 <filename>fonts.dir</filename> files in the 83 <filename>fonts.dir</filename> files in the 82 84 <application>TrueType</application> font 83 85 directory.</para></listitem> 84 86 85 <listitem><para>Ensure the <application>TrueType</application> module is loaded in the 86 <filename>XF86Config</filename> or <filename>xorg.conf</filename>.</para></listitem> 87 <listitem><para>Ensure the <application>TrueType</application> module is 88 loaded in the <filename>XF86Config</filename> or 89 <filename>xorg.conf</filename>.</para></listitem> 87 90 88 91 <listitem><para>Ensure the <parameter>FontPath</parameter> in … … 90 93 <application>TrueType</application> font directory.</para></listitem> 91 94 95 <listitem><para>Update the font cache files</para></listitem> 96 </itemizedlist> 97 92 98 <indexterm zone="x-setup fonts"> 93 99 <primary sortas="e-etc-X11-xorg.conf">/etc/X11/xorg.conf</primary> … … 98 104 </indexterm> 99 105 100 <listitem><para>Update the font cache files</para></listitem> 101 102 </itemizedlist> 103 104 <sect3><title>Establish a <application>TrueType</application> font directory</title> 105 106 <para>The build of <application>X</application> as given above 107 automatically creates a <application>TrueType</application> 108 font directory: <filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>. This 109 directory already has some <application>TrueType</application> fonts and is set up correctly. 110 If this directory is satisfactory, copy any other 111 <application>TrueType</application> fonts you want 112 into that directory. If not, create a new directory, preferably in 113 the <filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and put 114 your <application>TrueType</application> fonts there.</para></sect3> 106 <sect3><title>Establish a <application>TrueType</application> font 107 directory</title> 108 109 <para>The build of <application>X</application> as given above automatically 110 creates a <application>TrueType</application> font directory: 111 <filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>. This 112 directory already has some <application>TrueType</application> fonts and is 113 set up correctly. If this directory is satisfactory, copy any other 114 <application>TrueType</application> fonts you want into that directory. If 115 not, create a new directory, preferably in the 116 <filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and 117 put your <application>TrueType</application> fonts there.</para> 118 </sect3> 115 119 116 120 <sect3><title>Download the fonts</title> 117 121 118 122 <para>There are two known high quality free font resources: 119 <ulink url="ftp://ftp.gnu.org/savannah/files/freefont/"/> and <ulink120 url="http://corefonts.sourceforge.net/"/>. Copy the fonts (files with 123 <ulink url="ftp://ftp.gnu.org/savannah/files/freefont/"/> and 124 <ulink url="http://corefonts.sourceforge.net/"/>. Copy the fonts (files with 121 125 the <filename>.ttf</filename> suffix) to the directory you've just 122 126 created.</para> … … 139 143 Load "freetype" 140 144 ... 141 EndSection</screen></para></sect3> 145 EndSection</screen></para> 146 </sect3> 142 147 143 148 <sect3><title>Ensure the <parameter>FontPath</parameter> in … … 177 182 </indexterm> 178 183 179 180 184 <para><application>X</application> will now be able to use 181 185 <application>TrueType</application> fonts when it is restarted. … … 200 204 practice. To set up a keyboard for Latin and non-Latin input, 201 205 change the XkbLayout keyboard driver option in the InputDevice section 202 of the <filename>XF86Config</filename> or <filename>xorg.conf</filename> file. For example:</para> 206 of the <filename>XF86Config</filename> or <filename>xorg.conf</filename> file. 207 For example:</para> 203 208 204 209 <screen> Section "InputDevice" … … 211 216 212 217 <para>In this example, you can use the Alt-Shift combination to switch 213 between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to indicate when214 the second layout is active.</para>218 between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to 219 indicate when the second layout is active.</para> 215 220 </sect2> 216 221 … … 219 224 <title>Setting up fonts</title> 220 225 221 <para>Users using character sets other than <acronym>ISO</acronym>-8859-1 have to 222 make a few adjustments to their font settings in order to 223 make sure that fonts with 224 the correct encoding are used for "fixed", "variable", "10x20" and 226 <para>Users using character sets other than <acronym>ISO</acronym>-8859-1 have 227 to make a few adjustments to their font settings in order to make sure that 228 fonts with the correct encoding are used for "fixed", "variable", "10x20" and 225 229 similar aliases:</para> 226 230 227 231 <para>For Cyrillic alphabet, it is sufficient to put the following line 228 232 into the top of the "Files" section in <filename>XF86Config</filename> 229 or <filename>xorg.conf</filename> 230 because this directory already contains the needed bitmap fonts and 231 their aliases:</para> 233 or <filename>xorg.conf</filename> because this directory already contains 234 the needed bitmap fonts and their aliases:</para> 232 235 233 236 <screen>FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"</screen> … … 270 273 <para>There are many options that can be set in 271 274 <application>X</application> and <application>X</application> clients via 272 resources. Typically resources are set in the <filename>~/.Xresources</filename>273 file.</para>275 resources. Typically resources are set in the 276 <filename>~/.Xresources</filename> file.</para> 274 277 275 278 <para>The layout of the <filename>~/.Xresources</filename> file consists … … 277 280 278 281 <indexterm zone="x-setup x-resources"> 279 <primary sortas="e-AA -.xresources">~/.Xresources</primary>282 <primary sortas="e-AA.xresources">~/.Xresources</primary> 280 283 </indexterm> 281 284 … … 298 301 <screen>*background: blue</screen> 299 302 300 <para>More specific resource variables will override less specific names. 303 <para>More specific resource variables will override less specific names.</para> 301 304 302 305 <para>Resource definitions can be found in the man pages for each 303 306 respective client.</para> 304 307 305 <para>In order to load your resources, the <command>xrdb</command> 306 program must be 307 called with the appropriate parameters. Typically, the first time 308 <para>In order to load your resources, the <command>xrdb</command> program 309 must be called with the appropriate parameters. Typically, the first time 308 310 resources are loaded, you use:</para> 309 311 310 312 <screen><userinput><command>xrdb -load <filename></command></userinput></screen> 311 313 312 <para>To add resources to <application>X</application>'s database in memory, use:</para> 314 <para>To add resources to <application>X</application>'s database in memory, 315 use:</para> 316 313 317 <screen><userinput><command>xrdb -merge <filename></command></userinput></screen> 314 318 … … 322 326 323 327 </sect2> 328 324 329 </sect1> 325 330
Note:
See TracChangeset
for help on using the changeset viewer.