Re: script bei x-window start ausfuehren
On Wed, 1 Jan 2003 21:01:24 +0100
Thorsten Haude <debian@thorstenhau.de> wrote:
> Trag's in die ~/.xinitrc ein.
>
>
> Thorsten
Das habe ich probiert, jedoch bei "startx" diese Fehlermeldung erhalten:
(EE) Attempt to register more than one core pointer (Generic Mouse)
WARNING: imwheel is not checking/writing a pid file, BE CAREFUL!
An imwheel may be running already.
Two or more imwheel processes on the same X display,
or simultaneously using a wheel fifo,
will not operate as expected.
INFO: imwheel started (pid=661)
Meine Maus config sieht folgendermassen aus...:
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
EndSection
... das Script, dass beim Start ausgefuehrt werden soll:
#!/bin/sh
[ -r /etc/sysconfig/mouse ] && . /etc/sysconfig/mouse
# M$ Explorer mouse hack
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
BINARY=$(which imwheel)
$BINARY -p -b "67"
# imwheel ends here
Vielleicht bringen diese Informationen was?!
Gruss Roman
Reply to: