emulate 3-button mouse


Forum: Laptops
Topic: emulate 3-button mouse
started by: ogre

Posted by ogre on Mar. 16 2005,04:52
hi,

love the new 1.0-rc1..  i've got everything working on my sony viao pcg-f560 except that it won't emulate the 3rd mouse button (by clicking both buttons together)..  

it's really strange because i think it works fine in featherlinux which also uses the xvesa..  

my .xserverrc:

exec /usr/bin/X11/Xvesa -3button -screen 1024x768x32 -shadow -nolisten tcp -I &>/dev/null

which is exactly the same as featherlinux uses..

anyone know why?  

i would love to switch to dsl if i resolve this issue..

thanks.

ps.  everything else works (touchpad, etc)

Posted by cbagger01 on Mar. 16 2005,05:09
Hmm...

How about using -2button instead of -3button ??

Or adding -mouse /dev/psaux,2  to your command line

Posted by ogre on Mar. 17 2005,04:07
thanks for your help cbagger01..

it turns out that the xsetup.sh doesn't seem to work properly and sets .xserverrc to be:

exec /usr/bin/X11/Xvesa -mouse /dev/psaux -screen 1024x768x32 -shadow -nolisten tcp -I &>/dev/null

but this worked for me:

exec /usr/bin/X11/Xvesa -2button -screen 1024x768x32 -shadow -nolisten tcp -I &>/dev/null

but it was tricky because everytime i killed the xvesa (ctrl-alt-f1 and then break [ctrl-c]) and tried 'startx'..  it would default to my original .xserverrc and not the one i edited..

i finally did a backup, right after i edited .xserverrc to:

exec /usr/bin/X11/Xvesa -2button -screen 1024x768x32 -shadow -nolisten tcp -I &>/dev/null

and now the 3rd button emulation works fine..  

i really think there's a bug, because i tried it on another laptop and even though i selected 2 buttons on xsetup.sh, there was no -2button in .xserverrc and 3 button emulation did not work for that laptop either..  maybe this can be fixed?

==

btw, i used mkmydsl and it worked great!!  i wish though we can keep the updated /etc/ files since i have a  prism wireless card not listed and i have to copy wlan-ng.conf to /etc/prism/ everytime i boot..  oh well, i have a script for that, anyhow.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.