tags 777291 patch
thx

Attached is a patch against current sid which adds a systemd unit
for gpm. I've been using it for a few days on my system without
any issues.

Cheers,
        Moritz

diff -Naur gpm-1.20.7.orig/debian/gpm.service gpm-1.20.7/debian/gpm.service
--- gpm-1.20.7.orig/debian/gpm.service	1970-01-01 01:00:00.000000000 +0100
+++ gpm-1.20.7/debian/gpm.service	2021-01-01 20:11:49.684963093 +0100
@@ -0,0 +1,11 @@
+[Unit]
+Description=Console Mouse manager
+ConditionPathExists=/dev/input/mice
+
+[Service]
+ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
+Type=forking
+PIDFile=/run/gpm.pid
+
+[Install]
+WantedBy=multi-user.target

Reply via email to