Changeset d3a4bcb


Ignore:
Timestamp:
07/20/2014 05:34:45 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
ab4735a7
Parents:
25caf25
Message:

Convert gpm to systemd.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13517 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • TODO

    r25caf25 rd3a4bcb  
    1 gpm
    21svn server
    32wpa_supplicant
  • general/sysutils/gpm-systemd.xml

    r25caf25 rd3a4bcb  
    118118
    119119    <sect3 id="gpm-init">
    120       <title>Boot Script</title>
     120      <title>Systemd Units</title>
    121121
    122122      <indexterm zone="gpm gpm-init">
     
    124124      </indexterm>
    125125
    126       <para>Install the <filename>/etc/rc.d/init.d/gpm</filename> init script
    127       included in the <xref linkend="bootscripts"/> package.</para>
     126      <para>
     127        To start the <command>gpm</command> daemon at boot,
     128        install the systemd unit from the <xref linkend="bootscripts"/>
     129        package by running the following command as the
     130        <systemitem class="username">root</systemitem> user:
     131      </para>
    128132
    129133<screen role="root"><userinput>make install-gpm</userinput></screen>
     
    138142      <command>gpm-root</command> configuration files.</para>
    139143
    140       <para><filename>/etc/sysconfig/mouse</filename>:
    141       This file contains the name of your mouse device and the protocol
    142       it uses.  To create this file, run the following as the
    143       <systemitem class="username">root</systemitem> user:</para>
    144 
    145 <screen role="root"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
    146 <literal># Begin /etc/sysconfig/mouse
    147 
    148 MDEVICE="<replaceable>&lt;yourdevice&gt;</replaceable>"
    149 PROTOCOL="<replaceable>&lt;yourprotocol&gt;</replaceable>"
    150 GPMOPTS="<replaceable>&lt;additional options&gt;</replaceable>"
    151 
    152 # End /etc/sysconfig/mouse</literal>
    153 EOF</userinput></screen>
    154 
    155144      <indexterm zone="gpm gpm-config">
    156145        <primary sortas="e-AA.gpm-root">~/.gpm-root</primary>
     
    161150      </indexterm>
    162151
    163       <indexterm zone="gpm gpm-config">
    164         <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>
    165       </indexterm>
    166 
    167152    </sect3>
    168153
     
    170155      <title>Configuration Information</title>
    171156
    172       <para>Examples of values to set <envar>MDEVICE</envar>,
    173       <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
    174 
    175 <screen><literal>MDEVICE="/dev/psaux"
    176 PROTOCOL="imps2"
    177 GPMOPTS=""</literal></screen>
    178 
    179       <para>A list of which protocol values are known can be found by running
    180       <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>.
    181       The <envar>MDEVICE</envar> setting depends on which type of mouse you
    182       have.  For example, <filename>/dev/ttyS0</filename> for a serial mouse
    183       (on Windows this is COM1), <filename>/dev/input/mice</filename> is often
    184       used for USB mice and <filename>/dev/psaux</filename> for PS2 mice.
    185       <envar>GPMOPTS</envar> is the 'catch all' for any additional options that
    186       are needed for your hardware.</para>
     157      <para>
     158        <application>GPM</application> is by default started with
     159        the following parameters:
     160        <parameter>-m /dev/input/mice -t imps2</parameter>. If the
     161        mentioned parameters don't suit your needs, you can override
     162        them by running the following the following commands as
     163        the <systemitem class="username">root</systemitem> user:
     164      </para>
     165
     166<screen role="root"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d
     167echo "ExecStart=/usr/sbin/gpm &lt;list of parameters&gt;" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen>
    187168
    188169    </sect3>
  • general/sysutils/sysutils.xml

    r25caf25 rd3a4bcb  
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-systemd.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron-systemd.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm-systemd.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hdparm.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="initdtools.xml"/>
Note: See TracChangeset for help on using the changeset viewer.