Red Hat Bugzilla – Bug 54004
/etc/init.d/gpm does not use DEVICE correctly
Last modified: 2007-04-18 12:37:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010816
Description of problem:
I think there is a typo in /etc/init.d/gpm. If you try to set
the mouse device in /etc/sysconfig/mouse to something like:
then gpm will still try to use /dev/mouse. The offending lines in
if [ -n "$DEVICE" ]; then
This means that if DEVICE is set to something set it to
/dev/mouse instead. The lines should be:
if [ -z "$DEVICE" ]; then
This means, if DEVICE is NOT set, then set it to /dev/mouse.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set DEVICE to something else than /dev/mouse in /etc/sysconfig/mouse.
2. Start gpm with /etc/init.d/gpm
Actual Results: Gpm uses /dev/mouse as device.
Expected Results: Gpm should use what you have set DEVICE to in
Created attachment 32559 [details]
A patch to fix /etc/init.d/gpm
*** This bug has been marked as a duplicate of 36995 ***