source: general/sysutils/gpm/gpm-config.xml@ 563bc92

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_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 563bc92 was 40d91bde, checked in by Tushar Teredesai <tushar@…>, 20 years ago

First batch of lfs-bootscripts

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1908 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[f45b1953]1<sect2>
[04a28bc]2<title>Configuring <application><acronym>GPM</acronym></application></title>
[f45b1953]3
4<sect3><title>gpm init.d script</title>
[40d91bde]5<para>Install the <filename>/etc/rc.d/init.d/gpm</filename>
6init script included in the
7<xref linkend="intro-important-bootscripts"/> package.</para>
[f45b1953]8
[40d91bde]9<screen><userinput><command>make install-gpm</command></userinput></screen>
[f45b1953]10
[a75063d4]11</sect3>
[f45b1953]12
13<sect3><title>Config files</title>
[064db32a]14<para><filename>/etc/sysconfig/mouse</filename>
[f45b1953]15This file contains the name of your mouse device and the protocol which
16it uses. To create this file, run the following:</para>
17
[2be20f1b]18<screen><userinput><command>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</command>
[3f38dad]19# Begin /etc/sysconfig/mouse
20
[a75063d4]21MDEVICE=<replaceable>[yourdevice]</replaceable>
22PROTOCOL=<replaceable>[yourprotocol]</replaceable>
[3f38dad]23
24# End /etc/sysconfig/mouse
[2be20f1b]25<command>EOF</command></userinput></screen>
[f45b1953]26</sect3>
27
28<sect3><title>Configuration Information</title>
29
[2be20f1b]30<para>Examples of values to set <envar>MDEVICE</envar> and
31<envar>PROTOCOL</envar> to are</para>
[f45b1953]32
[2be20f1b]33<screen><userinput>MDEVICE=/dev/psaux
34PROTOCOL=imps2</userinput></screen>
[f45b1953]35
36<para>A list of which protocol values are known can be found by running
[2be20f1b]37<command>gpm -t -help</command>. Your <envar>MDEVICE</envar> setting depends on
[f45b1953]38which type of mouse you have. For example,
[8a0cee4]39<filename>/dev/ttyS0</filename> for a serial mouse (on Windows this is
[2be20f1b]40COM1), <filename>/dev/input/mice</filename> is often used for
41<acronym>USB</acronym> mice
[971ca3d]42and <filename>/dev/psaux</filename> for PS2 mice. It is normally
[8a0cee4]43thought not a good idea to link <filename>/dev/mouse</filename> to the relevant device, but
[f45b1953]44instead to reference it directly.</para>
45
46</sect3>
47
48</sect2>
Note: See TracBrowser for help on using the repository browser.