Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use 3-key mouse applications with 2-key mouse

Status
Not open for further replies.

sedawk

Programmer
Feb 5, 2002
247
US
I am using xfig, an application to draw figures in Linux. This application requires 3-key mouse, however, my mouse has 2-key mouse only. I recall someone asked similar questions before but I couldn't search them out. Anyone has experience on this?

Thanks.
 

You press the right and left button at the same time.
If this doen't work you haven't enabled it. It's easy to find in your XF86config file.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I modified the XF86Config file but that still didn't work on xfig. The way I change XF86Config:

change two places on "Emulation3key" from "no" to "yes".
 

Did you restart the X server?

If you start X from the command line the output should tell you which options are enabled.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
yes, I did restart my computer. I don't understand what you meant "X server". I am using desktop environment only.
 

You never have to restart your computer. You restart the X server by pressing <ctrl>+<alt>+<BackSpace>.

I don't know what the problem is though.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I think it should be:

Option &quot;Emulate3Buttons&quot; &quot;true&quot;
Option &quot;Emulate3Timeout&quot; &quot;50&quot;


Give it a try anyway.


This is what my mouse settings are in my xf86config (Slackware) if it helps.

Identifier &quot;Mouse1&quot;
Driver &quot;mouse&quot;
Option &quot;Protocol&quot; &quot;IMPS/2&quot;
Option &quot;Device&quot; &quot;/dev/psaux&quot;
Option &quot;ZAxisMapping&quot; &quot;4 5&quot;
#Option &quot;Emulate3Buttons&quot; &quot;false&quot;
#Option &quot;Emulate3Timeout&quot; &quot;50&quot;
 
RH 9 XF86Config has different format than AP81 mentioned then(original one):

Section &quot;InputDevice&quot;
Identifier &quot;Mouse0&quot;
Driver &quot;mouse&quot;
Option &quot;Protocol&quot; &quot;IMPS/2&quot;
Option &quot;Device&quot; &quot;/dev/psaux&quot;
Option &quot;ZAxisMapping&quot; &quot;4 5&quot;
Option &quot;Emulate3Buttons&quot; &quot;no&quot;(&quot;no&quot; change to &quot;yes&quot;
EndSection

Identifier &quot;DevInputMice&quot;
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Driver &quot;mouse&quot;
Option &quot;Protocol&quot; &quot;IMPS/2&quot;
Option &quot;Device&quot; &quot;/dev/input/mice&quot;
Option &quot;ZAxisMapping&quot; &quot;4 5&quot;
Option &quot;&quot;Emulate3Buttons&quot; &quot;no&quot;(&quot;no&quot; change to &quot;yes&quot;)
EndSection


After doing these changes, still not 3-key mouse. I don't see &quot;Emulate3Timeout&quot; option.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top