Alan Coopersmith wrote:
> Brian Ruthven - Solaris Network Sustaining - Sun UK wrote:
>   
>> I have a Toshiba Tecra M10, and the mouse pad has two buttons.
>> Most of the time, I can highlight some text using the left button (click
>> and drag as normal), then I can press both buttons together to paste in
>> a target window (i.e. simulating the middle click).
>>
>> This mostly works (and I usually copy-n-paste this way), but at some
>> point during my login session, it stops working, and instead I only ever
>> get the right-click context menu.
>>     
>
> The default configuration of Xorg is to recognize left+right as emulating
> a third button until/unless a third button is actually clicked, at which
> point it assumes you don't need it any more.
>
> Unfortunately, on builds before about 119, the default on Solaris is to
> open /dev/mouse and have the kernel combine all mouse like devices into
> a single output stream, so a click on an external mouse will disable it
> on all mice.   With the switch to hal-based input hotplug in 119 and later,
> each mouse is individually opened, so it should track each one seperately.
>   

I don't often plug in an external mouse, and I've certainly noticed it 
disabling the emulation without an extra mouse. There are actually two 
pointing devices on the Tecra M10 I have - the the touchpad and the 
little blue joystick between the G-H keys. There are two sets of buttons 
(presumably for use with your preferred pointing device), but I've found 
that I can use each set interchangeably without loss of the emulation.

>   
>> I've not worked out what changes this, and I've not got a clue where to
>> start diagnosing this.
>>     
>
> Any messages in /var/log/Xorg.0.log about disabling 3 button emulation?
>
>   

I'll check when this next happens.

Is there something wrong which needs diagnosing here, or should I simply 
apply the setting to xorg.conf from later in the thread and keep quiet?

(oh and can you remind me the current way to generate the "default" 
xorg.conf - is it still "Xorg -configure"?)

Thanks,
Brian


-- 
Brian Ruthven
Solaris Revenue Product Engineering
Sun Microsystems UK
Sparc House, Guillemont Park, Camberley, GU17 9QG

Reply via email to