> Here's a thought. What happens when you switch away then switch back 
> kill moused then restart moused? I'm thinking that maybe a cron job 
> could be created to check mouse states and kill then restart moused.

Very interesting...

# Kill and restart moused

ps -wax | grep moused > /dev/null 2>&1
if [ $? -eq 0 ] ; then
    m=`ps -wax | grep moused | cut -d" " -f3`
    kill $m
    if [ $? -eq 0 ] ; then 
        echo "Killed mouse daemon"
        echo "Unable to kill mouse daemon"
moused -p /dev/psm0 -t auto
if [ $? -eq 0 ] ; then
    echo "Restarted mouse daemon successfully"
    echo "Unable to restart mouse daemon"

This works in principle, but I have to do it 4 or 5 times after
switching back from windows.
Any time I move the mouse, things go haywire, until I finally reset it
enough times.
I'm satisfied for the time being, thanks for the suggestion, and thanks
to everyone who replied!

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to