/[gentoo]/xml/htdocs/doc/en/xorg-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/xorg-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.40 Revision 1.41
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v 1.40 2010/08/29 03:39:55 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v 1.41 2010/10/12 23:13:18 nightmorph Exp $ -->
4 4
5<guide> 5<guide>
6<title>The X Server Configuration HOWTO</title> 6<title>The X Server Configuration HOWTO</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="swift"/> 9 <mail link="swift"/>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="nightmorph"/> 12 <mail link="nightmorph"/>
13</author> 13</author>
14 14
15<abstract> 15<abstract>
16Xorg is the X Window server which allows users to have a graphical 16Xorg is the X Window server which allows users to have a graphical
17environment at their fingertips. This HOWTO explains what Xorg is, how to 17environment at their fingertips. This HOWTO explains what Xorg is, how to
18install it and what the various configuration options are. 18install it and what the various configuration options are.
19</abstract> 19</abstract>
20 20
21<!-- The content of this document is licensed under the CC-BY-SA license --> 21<!-- The content of this document is licensed under the CC-BY-SA license -->
22<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 22<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
23<license/> 23<license/>
24 24
25<version>2</version> 25<version>3</version>
26<date>2010-08-28</date> 26<date>2010-10-12</date>
27 27
28<chapter> 28<chapter>
29<title>What is the X Window Server?</title> 29<title>What is the X Window Server?</title>
30<section> 30<section>
31<title>Graphical vs Command-Line</title> 31<title>Graphical vs Command-Line</title>
32<body> 32<body>
33 33
34<p> 34<p>
35The average user may be frightened at the thought of having to type in commands. 35The average user may be frightened at the thought of having to type in commands.
36Why wouldn't he be able to point and click his way through the freedom provided 36Why wouldn't he be able to point and click his way through the freedom provided
37by Gentoo (and Linux in general)? Well, of course you are able to 37by Gentoo (and Linux in general)? Well, of course you are able to
38do this! Linux offers a wide variety of flashy user interfaces and 38do this! Linux offers a wide variety of flashy user interfaces and
39environments which you can install on top of your existing installation. 39environments which you can install on top of your existing installation.
40</p> 40</p>
41 41
652 Option "Monitor-DVI-0" "DVI screen" 652 Option "Monitor-DVI-0" "DVI screen"
653EndSection 653EndSection
654Section "Monitor" 654Section "Monitor"
655 Identifier "DVI screen" 655 Identifier "DVI screen"
656 Option "PreferredMode" "1440x900" 656 Option "PreferredMode" "1440x900"
657EndSection 657EndSection
658</pre> 658</pre>
659 659
660<p> 660<p>
661Run X (<c>startx</c>) to discover it uses the resolution you want. 661Run X (<c>startx</c>) to discover it uses the resolution you want.
662</p> 662</p>
663 663
664</body> 664</body>
665</section> 665</section>
666<section> 666<section>
667<title>Multiple monitors</title>
668<body>
669
670<p>
671You can configure more than one monitor in <path>/etc/X11/xorg.conf</path>. All
672you have to do is give each monitor an identifer, then list its physical
673position, such as "RightOf" or "Above" another monitor. The following example
674shows how to configure a DVI and a VGA monitor, with the VGA monitor as the
675right-hand screen:
676</p>
677
678<pre caption="Configuring multiple monitors in xorg.conf">
679Section "Device"
680 Identifier "RadeonHD 4550"
681 Option "Monitor-DVI-0" "DVI screen"
682 Option "Monitor-VGA-0" "VGA screen"
683EndSection
684
685Section "Monitor"
686 Identifier "DVI screen"
687EndSection
688
689Section "Monitor"
690 Identifier "VGA screen"
691 Option "RightOf" "DVI screen"
692EndSection
693</pre>
694
695</body>
696</section>
697<section>
667<title>Configuring your keyboard</title> 698<title>Configuring your keyboard</title>
668<body> 699<body>
669 700
670<p> 701<p>
671To setup X to use an international keyboard, you can copy the content of 702To setup X to use an international keyboard, you can copy the content of
672<path>/usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2</path> to 703<path>/usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2</path> to
673<path>/etc/hal/fdi/policy/10-xinput-configuration.fdi</path>: 704<path>/etc/hal/fdi/policy/10-xinput-configuration.fdi</path>:
674</p> 705</p>
675 706
676<pre caption="Using an existing config file"> 707<pre caption="Using an existing config file">
677# <i>bzcat /usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2 > /etc/hal/fdi/policy/10-xinput-configuration.fdi</i> 708# <i>bzcat /usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2 > /etc/hal/fdi/policy/10-xinput-configuration.fdi</i>
678</pre> 709</pre>
679 710
680<p> 711<p>
681Now you can just edit <path>10-xinput-configuration.fdi</path> and change the 712Now you can just edit <path>10-xinput-configuration.fdi</path> and change the

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20