Changeset 2be20f1b for general/sysutils/gpm/gpm-config.xml
- Timestamp:
- 09/21/2003 01:38:00 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 110ec35a
- Parents:
- 7b3d96c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/gpm/gpm-config.xml
r7b3d96c9 r2be20f1b 1 1 <sect2> 2 <title>Configuring gpm</title>2 <title>Configuring <application>gpm</application></title> 3 3 4 4 <sect3><title>gpm init.d script</title> 5 <para>The gpm init.d script can be created using the following6 commands: (This assumes that you have followed the LFS default of 7 having your $rc_base set to <filename5 <para>The <application>gpm</application> init.d script can be created using 6 the following commands: (This assumes that you have followed the 7 <acronym>LFS</acronym> default of having your $rc_base set to <filename 8 8 class="directory">/etc/rc.d</filename>)</para> 9 < para><screen><userinput>cat > /etc/rc.d/init.d/gpm << "EOF"</userinput>9 <screen><userinput><command>cat > /etc/rc.d/init.d/gpm << "EOF"</command> 10 10 #!/bin/sh 11 11 # Begin $rc_base/init.d/gpm … … 58 58 59 59 # End $rc_base/init.d/gpm 60 < userinput>EOF61 chmod 755 /etc/rc.d/init.d/gpm</ userinput></screen></para>60 <command>EOF 61 chmod 755 /etc/rc.d/init.d/gpm</command></userinput></screen> 62 62 63 63 <para>You then need to create symbolic links to this file in the relevant rc.d 64 64 directories. For example: 65 <screen><userinput> cd /etc/rc.d/init.d &&65 <screen><userinput><command>cd /etc/rc.d/init.d && 66 66 ln -sf ../init.d/gpm ../rc0.d/K10gpm && 67 67 ln -sf ../init.d/gpm ../rc1.d/K10gpm && … … 70 70 ln -sf ../init.d/gpm ../rc4.d/S70gpm && 71 71 ln -sf ../init.d/gpm ../rc5.d/S70gpm && 72 ln -sf ../init.d/gpm ../rc6.d/K10gpm</ userinput></screen></para></sect3>72 ln -sf ../init.d/gpm ../rc6.d/K10gpm</command></userinput></screen></para></sect3> 73 73 74 74 <sect3><title>Config files</title> … … 77 77 it uses. To create this file, run the following:</para> 78 78 79 < para><screen><userinput>cat > /etc/sysconfig/mouse << "EOF"</userinput>79 <screen><userinput><command>cat > /etc/sysconfig/mouse << "EOF"</command> 80 80 # start /etc/sysconfig/mouse 81 81 MDEVICE=yourdevice 82 82 PROTOCOL=yourprotocol 83 83 # end /etc/sysconfig/mouse 84 < userinput>EOF</userinput></screen></para>84 <command>EOF</command></userinput></screen> 85 85 </sect3> 86 86 87 87 <sect3><title>Configuration Information</title> 88 88 89 <para>Examples of values to set MDEVICE and PROTOCOL to are</para> 89 <para>Examples of values to set <envar>MDEVICE</envar> and 90 <envar>PROTOCOL</envar> to are</para> 90 91 91 < para><screen>MDEVICE=/dev/psaux92 PROTOCOL=imps2</ screen></para>92 <screen><userinput>MDEVICE=/dev/psaux 93 PROTOCOL=imps2</userinput></screen> 93 94 94 95 <para>A list of which protocol values are known can be found by running 95 < userinput>gpm -t -help</userinput>. Your MDEVICEsetting depends on96 <command>gpm -t -help</command>. Your <envar>MDEVICE</envar> setting depends on 96 97 which type of mouse you have. For example, 97 98 <filename>/dev/ttyS0</filename> for a serial mouse (on Windows this is 98 COM1), <filename>/dev/input/mice</filename> is often used for USB mice 99 and <filename>/dev/psaux</filename> for PS2 mice. It is normally 99 COM1), <filename>/dev/input/mice</filename> is often used for 100 <acronym>USB</acronym> mice 101 and <filename>/dev/psaux</filename> for <acronym>PS2</acronym> mice. It is normally 100 102 thought not a good idea to link <filename>/dev/mouse</filename> to the relevant device, but 101 103 instead to reference it directly.</para>
Note:
See TracChangeset
for help on using the changeset viewer.