Changeset da4b5e0
- Timestamp:
- 05/09/2017 08:59:52 AM (6 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/inkscape-core-mods, lazarus, lxqt, perl-modules, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 714eef7a
- Parents:
- 6da5593
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xorg-config.xml
r6da5593 rda4b5e0 20 20 </indexterm> 21 21 22 22 <sect2 id='X11-testing' xreflabel="Testing Xorg"> 23 23 <title>Testing Xorg</title> 24 24 25 <note><para>Before starting Xorg for the first time, is is useful to 26 rebuild the library cache by running <userinput>ldconfig</userinput> 27 as the <systemitem class="username">root</systemitem> user.</para></note> 28 29 <para>To test the <application>Xorg</application> installation, issue 30 <userinput>startx</userinput>. This command brings up a rudimentary window 31 manager called <emphasis>twm</emphasis> with three xterm windows and one 32 xclock window. The xterm window in the upper left is a login terminal and 33 running <emphasis>exit</emphasis> from this terminal will exit the 34 <application>X Window</application> session. The third xterm window may be 35 obscured on your system by the other two xterms.</para> 36 37 <note><para>When testing <application>Xorg</application> with the 38 <application>twm</application> window manager, there will be several 39 warnings in the Xorg log file, <filename revision="sysv"> 40 /var/log/Xorg.0.log</filename><filename revision="systemd"> 41 $HOME/.local/share/xorg/Xorg.0.log</filename>, 42 about missing font files. In addition, there will be several warnings on 43 the text mode terminal (usually tty1) about missing fonts. These warnings 44 do not affect functionality, but can be removed if desired by installing 45 the <xref linkend="xorg7-legacy"/>.</para></note> 46 47 <para>Generally, there is no specific configuration required for 48 <application>Xorg</application>, but customization is possible. For details 49 see <xref linkend='xconfig'/> below.</para> 50 51 </sect2> 52 53 <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI installation"> 25 <note> 26 <para> 27 Before starting Xorg for the first time, is is useful to 28 rebuild the library cache by running <userinput>ldconfig</userinput> 29 as the <systemitem class="username">root</systemitem> user. 30 </para> 31 </note> 32 33 <para> 34 To test the <application>Xorg</application> installation, issue 35 <command>startx</command>. This command brings up a rudimentary window 36 manager called <emphasis>twm</emphasis> with three xterm windows and one 37 xclock window. The xterm window in the upper left is a login terminal and 38 running <emphasis>exit</emphasis> from this terminal will exit the 39 <application>X Window</application> session. The third xterm window may 40 be obscured on your system by the other two xterms. 41 </para> 42 43 <note> 44 <para> 45 When testing <application>Xorg</application> with the 46 <application>twm</application> window manager, there will be several 47 warnings in the Xorg log file, <filename revision="sysv"> 48 /var/log/Xorg.0.log</filename><filename revision="systemd"> 49 $HOME/.local/share/xorg/Xorg.0.log</filename>, about missing font 50 files. In addition, there will be several warnings on the text mode 51 terminal (usually tty1) about missing fonts. These warnings do not 52 affect functionality, but can be removed if desired by installing 53 the <xref linkend="xorg7-legacy"/>. 54 </para> 55 </note> 56 57 <para> 58 Generally, there is no specific configuration required for 59 <application>Xorg</application>, but customization is possible. For 60 details, see <xref linkend='xconfig'/> below. 61 </para> 62 63 </sect2> 64 65 <sect2 role="configuration" id="checking-dri" xreflabel="Checking the DRI 66 installation"> 54 67 <title>Checking the Direct Rendering Infrastructure (DRI) 55 68 Installation</title> … … 164 177 </para> 165 178 166 </sect2> 167 168 <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid 169 Graphics"> 179 </sect2> 180 181 <sect2 role="configuration" id="hybrid-graphics" xreflabel="Hybrid Graphics"> 170 182 <title>Hybrid Graphics</title> 171 183 … … 200 212 </para> 201 213 202 214 </sect2> 203 215 204 216 <sect2 role="configuration" id='xconfig'> 205 217 <title>Setting up Xorg Devices</title> 206 218 207 <para>For most hardware configurations, modern Xorg will automatically 208 get the server configuration correct without any user intervention. There 209 are, however, some cases where auto-configuration will be incorrect. 210 Following are some example manual configuration items that may be of use in 211 these instances.</para> 219 <para> 220 For most hardware configurations, modern Xorg will automatically 221 get the server configuration correct without any user intervention. There 222 are, however, some cases where auto-configuration will be incorrect. 223 Following are some example manual configuration items that may be of use 224 in these instances. 225 </para> 212 226 213 227 <sect3 id="xinput"> 214 <title>Setting up X Input Devices</title> 215 <para>For most input devices, no additional configuration will be 216 necessary. This section is provided for informational purposes only.</para> 217 218 <para>A sample default XKB setup could look like the following (executed as 219 the <systemitem class="username">root</systemitem> user):</para> 228 <title>Setting up X Input Devices</title> 229 <para> 230 For most input devices, no additional configuration will be 231 necessary. This section is provided for informational purposes only. 232 </para> 233 234 <para> 235 A sample default XKB setup could look like the following (executed as 236 the <systemitem class="username">root</systemitem> user): 237 </para> 220 238 221 239 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/xkb-defaults.conf << "EOF" … … 228 246 EOF</userinput></screen> 229 247 230 <para> 231 The <quote>XkbLayout</quote> line is an example for a French (AZERTY) 232 keyboard. Change it to your keyboard model. That line is not needed for 233 a QWERTY (US/GB) keyboard. 234 </para> 235 </sect3> 236 237 <sect3 id="xdisplay"> 238 <title>Fine Tuning Display Settings</title> 239 240 <para>Again, with modern Xorg, little or no additional configuration is 241 necessary. If you should need extra options passed to your video driver, 242 for instance, you could use something like the following (again, executed as 243 the <systemitem class="username">root</systemitem> user):</para> 244 245 <screen><userinput role="root">cat > /etc/X11/xorg.conf.d/videocard-0.conf << "EOF" 248 <para> 249 The <quote>XkbLayout</quote> line is an example for a French (AZERTY) 250 keyboard. Change it to your keyboard model. That line is not needed for 251 a QWERTY (US) keyboard. 252 </para> 253 </sect3> 254 255 <sect3 id="xdisplay"> 256 <title>Fine Tuning Display Settings</title> 257 258 <para> 259 Again, with modern Xorg, little or no additional configuration is 260 necessary. If you should need extra options passed to your video driver, 261 for instance, you could use something like the following (again, 262 executed as the <systemitem class="username">root</systemitem> user): 263 </para> 264 265 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/videocard-0.conf << "EOF" 246 266 Section "Device" 247 267 Identifier "Videocard0" … … 253 273 EOF</userinput></screen> 254 274 255 <para>Another common setup is having multiple server layouts for use in 256 different environments. Though the server will automatically detect the 257 presence of another monitor, it may get the order incorrect:</para> 258 259 <screen><userinput role="root">cat > /etc/X11/xorg.conf.d/server-layout.conf << "EOF" 275 <para> 276 Another common setup is having multiple server layouts for use in 277 different environments. Though the server will automatically detect the 278 presence of another monitor, it may get the order incorrect: 279 </para> 280 281 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/server-layout.conf << "EOF" 260 282 Section "ServerLayout" 261 283 Identifier "DefaultLayout" … … 266 288 EOF</userinput></screen> 267 289 268 </sect3>290 </sect3> 269 291 </sect2> 270 292 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.