Changeset d47153e
- Timestamp:
- 11/29/2018 07:01:07 PM (6 years ago)
- Branches:
- basic
- Parents:
- 82f8b2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/gpm.xml
r82f8b2c rd47153e 78 78 </sect2> 79 79 80 <sect2 role="kernel" id='gpm-kernel'> 81 <title>Kernel Configuration</title> 82 83 <para> 84 Enable the following option in the kernel configuration and recompile the 85 kernel if necessary: 86 </para> 87 88 <screen><literal>Device Drivers ---> 89 Input device support ---> [CONFIG_INPUT] 90 <*/M> Mouse interface [CONFIG_INPUT_MOUSEDEV]</literal></screen> 91 92 <indexterm zone="gpm gpm-kernel"> 93 <primary sortas="d-gpm">gpm</primary> 94 </indexterm> 95 96 </sect2> 97 80 98 <sect2 role="installation"> 81 99 <title>Installation of GPM</title> 100 82 101 83 102 <para>Install <application>GPM</application> by running … … 130 149 131 150 <sect3 id="gpm-init"> 132 <title>Boot Script or Systemd Unit</title> 151 <title><phrase revision="sysv">Boot Script</phrase> 152 <phrase revision="systemd">Systemd Unit</phrase></title> 133 153 134 154 <indexterm zone="gpm gpm-init"> … … 136 156 </indexterm> 137 157 138 <para> 139 For System V based systems, install the 140 <filename>/etc/rc.d/init.d/gpm</filename> init script included in the 141 <xref linkend="bootscripts"/> package. 142 </para> 143 144 <para> 145 For systemd based systems, to start the <command>gpm</command> daemon 146 at boot, install the systemd unit from the <xref linkend="systemd-units"/> 158 <para revision="sysv">Install the 159 <filename>/etc/rc.d/init.d/gpm</filename> init script included in the 160 <xref linkend="bootscripts"/> package.</para> 161 162 <para revision="systemd"> 163 To start the <command>gpm</command> daemon at boot, 164 install the systemd unit from the <xref linkend="systemd-units"/> 147 165 package by running the following command as the 148 166 <systemitem class="username">root</systemitem> user: … … 160 178 <command>gpm-root</command> configuration files.</para> 161 179 162 <para ><filename>/etc/sysconfig/mouse</filename> (System V only):180 <para revision="sysv"><filename>/etc/sysconfig/mouse</filename>: 163 181 This file contains the name of your mouse device and the protocol 164 182 it uses. To create this file, run the following as the 165 183 <systemitem class="username">root</systemitem> user:</para> 166 184 167 <screen role="root" ><userinput>cat > /etc/sysconfig/mouse << "EOF"185 <screen role="root" revision="sysv"><userinput>cat > /etc/sysconfig/mouse << "EOF" 168 186 <literal># Begin /etc/sysconfig/mouse 169 187 … … 183 201 </indexterm> 184 202 185 <indexterm zone="gpm gpm-config" >203 <indexterm zone="gpm gpm-config" revision="sysv"> 186 204 <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary> 187 205 </indexterm> … … 192 210 <title>Configuration Information</title> 193 211 194 <para >System V:Examples of values to set <envar>MDEVICE</envar>,212 <para revision="sysv">Examples of values to set <envar>MDEVICE</envar>, 195 213 <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para> 196 214 197 <screen ><literal>MDEVICE="/dev/input/mice"215 <screen revision="sysv"><literal>MDEVICE="/dev/input/mice" 198 216 PROTOCOL="imps2" 199 217 GPMOPTS=""</literal></screen> 200 218 201 <para >A list of which protocol values are known can be219 <para revision="sysv">A list of which protocol values are known can be 202 220 found by running 203 221 <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>. … … 209 227 are needed for your hardware.</para> 210 228 211 <para >212 systemd:<application>GPM</application> is by default started with229 <para revision="systemd"> 230 <application>GPM</application> is by default started with 213 231 the following parameters: 214 232 <parameter>-m /dev/input/mice -t imps2</parameter>. If the … … 218 236 </para> 219 237 220 <screen role="root" ><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d238 <screen role="root" revision="systemd"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d 221 239 echo "ExecStart=/usr/sbin/gpm <list of parameters>" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen> 222 240
Note:
See TracChangeset
for help on using the changeset viewer.