/[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.35 Revision 1.38
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.35 2009/12/31 01:37:01 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v 1.38 2010/05/23 21:29:35 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@gentoo.org">Sven Vermeulen</mail> 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
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>1.25</version> 25<version>1.28</version>
26<date>2009-12-30</date> 26<date>2010-05-23</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>
396will have told you that it has written <path>/root/xorg.conf.new</path> ready 396will have told you that it has written <path>/root/xorg.conf.new</path> ready
397for you to test. So let's test. :) 397for you to test. So let's test. :)
398</p> 398</p>
399 399
400<pre caption="Testing the xorg.conf.new file"> 400<pre caption="Testing the xorg.conf.new file">
401# <i>X -config /root/xorg.conf.new</i> 401# <i>X -config -retro /root/xorg.conf.new</i>
402</pre> 402</pre>
403 403
404<p> 404<p>
405If all goes well, you should see a simple black and white pattern. Verify if 405If all goes well, you should see a simple black and white pattern. Verify if
406your mouse works correctly and if the resolution is good. You might not be able 406your mouse works correctly and if the resolution is good. You might not be able
449 <path>/etc/env.d/90xsession</path> to make it a default for all the users on 449 <path>/etc/env.d/90xsession</path> to make it a default for all the users on
450 the system. For example, as root, run <c>echo XSESSION="Xfce4" > 450 the system. For example, as root, run <c>echo XSESSION="Xfce4" >
451 /etc/env.d/90xsession</c>. This will create the <path>90xsession</path> file 451 /etc/env.d/90xsession</c>. This will create the <path>90xsession</path> file
452 and set the default X session to Xfce4. 452 and set the default X session to Xfce4.
453 </li> 453 </li>
454 <li>
455 If all of the above fail, it will fall back to a simple window manager,
456 usually <c>twm</c>.
457 </li>
458</ul> 454</ul>
459 455
460<pre caption="Starting X"> 456<pre caption="Starting X">
461# <i>startx</i> 457$ <i>startx</i>
462</pre> 458</pre>
463 459
464<p> 460<p>
465You can kill the X session using the Ctrl-Alt-Backspace combination. This will 461You can kill the X session by using the Ctrl-Alt-Backspace combination. This
466however make X exit disgracefully -- something that you might not always want. 462will, however, make X exit disgracefully -- something that you might not always
463want.
464</p>
465
466<p>
467If you haven't yet installed a window manager, all you'll see is a black screen.
468Since this can also be a sign that something's wrong, you may want to emerge
469<c>twm</c> and <c>xterm</c> <e>only to test X</e>.
470</p>
471
472<p>
473Once those two programs are installed, run <c>startx</c> again. A few xterm
474windows should appear, making it easier to verify that X is working correctly.
475Once you're satisfied with the results, run <c>emerge --unmerge twm xterm</c> as
476root to get rid of the testing packages. You won't need them once you've setup a
477proper desktop environment.
467</p> 478</p>
468 479
469</body> 480</body>
470</section> 481</section>
471</chapter> 482</chapter>
521 EndSubSection 532 EndSubSection
522EndSection 533EndSection
523</pre> 534</pre>
524 535
525<p> 536<p>
526Run X (<c>startx</c>) to discover it uses the resolution you want. :) 537Run X (<c>startx</c>) to discover it uses the resolution you want.
527</p> 538</p>
528 539
529</body> 540</body>
530</section> 541</section>
531<section> 542<section>
537<path>/usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2</path> to 548<path>/usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2</path> to
538<path>/etc/hal/fdi/policy/10-xinput-configuration.fdi</path>: 549<path>/etc/hal/fdi/policy/10-xinput-configuration.fdi</path>:
539</p> 550</p>
540 551
541<pre caption="Using an existing config file"> 552<pre caption="Using an existing config file">
542# <i>bzcat /usr/share/doc/hal-*/*/use-estonian-layout.fdi > /etc/hal/fdi/policy/10-xinput-configuration.fdi</i> 553# <i>bzcat /usr/share/doc/hal-*/*/use-estonian-layout.fdi.bz2 > /etc/hal/fdi/policy/10-xinput-configuration.fdi</i>
543</pre> 554</pre>
544 555
545<p> 556<p>
546Now you can just edit <path>10-xinput-configuration.fdi</path> and change the 557Now you can just edit <path>10-xinput-configuration.fdi</path> and change the
547Estonian keyboard layout (<c>ee</c>) to your own, such as Great Britain 558Estonian keyboard layout (<c>ee</c>) to your own, such as Great Britain

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20