Changeset 3f72a148 for x/installing/xfree86.xml
- Timestamp:
- 05/05/2006 07:01:37 AM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, 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/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- afb1341
- Parents:
- 9d91468a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xfree86.xml
r9d91468a r3f72a148 445 445 EOF</userinput></screen> 446 446 447 <para>You should now continue on to the <xref linkend="x-setup"/> section 448 to complete the configuration of 449 <application>XFree86</application>.</para> 450 447 451 </sect3> 448 452 … … 492 496 </sect2> 493 497 494 <sect2 role="configuration" id="xfree86-config">495 <title>Configuring XFree86</title>496 497 <para>As the <systemitem class="username">root</systemitem> user: Edit498 <filename>/etc/ld.so.conf</filename> and add499 <filename class="directory">/usr/X11R6/lib</filename>, then run:</para>500 501 <screen role="root"><userinput>ldconfig</userinput></screen>502 503 <indexterm zone="xfree86 xfree86-config">504 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>505 </indexterm>506 507 <para>Ensure <filename class="directory">/usr/X11R6/bin</filename>508 and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>509 are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>510 environment variables, respectively. Instructions for doing this are511 described in the section <xref linkend='postlfs-config-profile'/>.</para>512 513 <indexterm zone="xfree86 xfree86-config">514 <primary sortas="e-etc-X11-XF86Config">/etc/X11/XF86Config</primary>515 </indexterm>516 517 <para>Create the <filename>XF86Config</filename> file with:</para>518 519 <screen><userinput>cd ~ &&520 XFree86 -configure</userinput></screen>521 522 <para>The screen will go black and you may hear some clicking of the monitor.523 This command will create a file, <filename>XF86Config.new</filename> in your524 home directory.</para>525 526 <para>Edit <filename>XF86Config.new</filename> to suit your system.527 The details of the file are located in the man page <command>man528 XF86Config</command>. Some things you may want to do are:</para>529 530 <itemizedlist>531 <listitem>532 <para>Section "Files". Change the order of the font paths searched.533 You may want to put 100dpi fonts ahead of 75dpi fonts if your system534 normally comes up closer to 100 dots per inch. You may want to remove535 some font directories completely.</para>536 </listitem>537 <listitem>538 <para>Section "Module". If you are going to install NVidia539 drivers, remove the "dri" line.</para>540 </listitem>541 <listitem>542 <para>Sections "InputDevice". You may want to change the543 keyboard autorepeat rate by adding544 <option>Option "Autorepeat" "250 30"</option>.</para>545 </listitem>546 <listitem>547 <para>Section "Monitor". Specify the <option>VertRefresh</option>548 and <option>HorizSync</option> values if the system does not549 automatically detect the monitor and its values.</para>550 </listitem>551 <listitem>552 <para>Section "Device". You may want to set some of the options553 available for your selected video driver. A description of the554 driver parameters is in the man page for your driver.</para>555 </listitem>556 <listitem>557 <para>Section "Screen". Add a DefaultDepth statement such as:558 <option>DefaultDepth 24</option>. In the SubSection for your559 default depth, add a modes line such as:560 <option>Modes "1600x1200" "1280x1024" "1024x768"</option>. The561 first mode listed will normally be the starting resolution.</para>562 </listitem>563 </itemizedlist>564 565 <para>Test the system with:</para>566 567 <screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen>568 569 <para>You will only get a gray background with an X-shaped mouse cursor,570 but it confirms the system is working. Exit with571 <keycap>Control+Alt+Backspace</keycap>. If the system does not work,572 examine <filename>/var/log/XFree86.0.log</filename> to see what went573 wrong.</para>574 575 <para>As the <systemitem class="username">root</systemitem> user:576 move the configuration file to its final location:</para>577 578 <screen role="root"><userinput>mv ~/XF86Config.new /etc/X11/XF86Config</userinput></screen>579 580 <para>Create <filename>.xinitrc</filename>:</para>581 582 <screen><userinput>cat > ~/.xinitrc << "EOF"583 <literal># Begin .xinitrc file584 xterm -g 80x40+0+0 &585 xclock -g 100x100-0+0 &586 twm</literal>587 EOF</userinput></screen>588 589 <para>This provides an initial screen with an xterm and a clock that is590 managed by a simple window manager, Tab Window Manager. For details of591 <command>twm</command>, see the man page.</para>592 593 <indexterm zone="xfree86 xfree86-config">594 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>595 </indexterm>596 597 <note>598 <para>When needed, <application>XFree86</application> creates the599 directory <filename>/tmp/.ICE-unix</filename> if it does not exist.600 If this directory is not owned by <systemitem601 class="username">root</systemitem>, <application>XFree86</application>602 delays startup by a few seconds and also appends a warning to the603 logfile. This also affects startup of other applications. To improve604 performance, it is advisable to manually create the directory before605 <application>XFree86</application> uses it. Add the file creation to606 <filename>/etc/sysconfig/createfiles</filename> that is sourced by607 the <filename>/etc/rc.d/init.d/cleanfs</filename> startup script.</para>608 609 <screen role="root"><userinput>cat >> /etc/sysconfig/createfiles << "EOF"610 <literal>/tmp/.ICE-unix dir 1777 root root</literal>611 EOF</userinput></screen>612 613 </note>614 615 <indexterm zone="xfree86 xfree86-config">616 <primary617 sortas="e-etc-sysconfig-createfiles">/etc/sysconfig/createfiles</primary>618 </indexterm>619 620 <para>Start <application>X</application> with:</para>621 622 <screen><userinput>startx</userinput></screen>623 624 <para>to get a basic functional <application>X Window625 System</application>.</para>626 627 <para>At this point, you should check out <xref linkend='x-setup'/>628 for the necessary configuration to make <application>X</application>629 fully functional. Additionally, you can have a look at <xref630 linkend='x-config'/> for information on fine tuning your631 <application>X</application> configuration.</para>632 633 </sect2>634 635 498 <sect2 id="xfree86-contents" role="content" 636 499 xreflabel="XFree86 Contents and Descriptions">
Note:
See TracChangeset
for help on using the changeset viewer.