How to set the single click speed?
Jim Byrnes
jf_byrnes at comcast.net
Wed Jan 20 21:13:07 UTC 2016
On 01/20/2016 01:08 PM, Jim Byrnes wrote:
> On 01/20/2016 09:16 AM, Colin Law wrote:
>> On 20 January 2016 at 14:29, Jim Byrnes <jf_byrnes at comcast.net> wrote:
>>> On 01/20/2016 01:24 AM, Colin Law wrote:
>>>>
>>>> On 19 January 2016 at 18:19, Jim Byrnes <jf_byrnes at comcast.net> wrote:
>>>>>
>>>>> I moved from Ubuntu 12.04 to 14.04 and find I have trouble getting
>>>>> drop
>>>>> down
>>>>> menus in the title bar to drop down.
>>>>>
>>>>> If I click on a menu as I normally do it just flashes briefly but does
>>>>> not
>>>>> drop down. To get it to drop down I must tap and release the
>>>>> button very
>>>>> rapidly.
>>>>
>>>>
>>>> Does the mouse behave perfectly in all other situations?
>>>>
>>>> Colin
>>>>
>>>
>>> Yes it does. If for example I click on toolbar it works fine.
>>>
>>> After thinking about this some more, I think I asked the wrong
>>> question. I
>>> think I should have been focusing on how the menus received a mouse
>>> click,
>>> because I realized I control the speed of the click by how I use it.
>>
>> I don't think it is to do with speed of mouse click. The mouse should
>> send one event when you click and another when you release. I wonder
>> whether it is sending additional click operations or something along
>> those lines. In a terminal run
>> xev
>> that will open a little window and show you events in the terminal
>> itself. Move the mouse over the little window then click the mouse
>> button. Each time you click you should see a down event and then a
>> release event when you let go.
>>
>> Colin
>>
>
> Here are the results for button push and release. There was only one of
> each of the events logged.
>
> ConfigureNotify event, serial 37, synthetic YES, window 0x4e00001,
> event 0x4e00001, window 0x4e00001, (1953,39), width 178, height 178,
> border_width 0, above 0x0, override NO
>
> FocusIn event, serial 37, synthetic NO, window 0x4e00001,
> mode NotifyNormal, detail NotifyNonlinear
>
> KeymapNotify event, serial 37, synthetic NO, window 0x0,
> keys: 4294967180 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> EnterNotify event, serial 37, synthetic NO, window 0x4e00001,
> root 0x28c, subw 0x4e00002, time 10885795, (32,24), root:(1985,63),
> mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
> focus YES, state 272
>
> KeymapNotify event, serial 37, synthetic NO, window 0x0,
> keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> ButtonPress event, serial 37, synthetic NO, window 0x4e00001,
> root 0x28c, subw 0x4e00002, time 10885766, (32,24), root:(1985,63),
> state 0x10, button 1, same_screen YES
>
> EnterNotify event, serial 37, synthetic NO, window 0x4e00001,
> root 0x28c, subw 0x0, time 10885795, (32,24), root:(1985,63),
> mode NotifyGrab, detail NotifyInferior, same_screen YES,
> focus YES, state 272
>
> KeymapNotify event, serial 37, synthetic NO, window 0x0,
> keys: 4294967180 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> PropertyNotify event, serial 37, synthetic NO, window 0x4e00001,
> atom 0x136 (_NET_WM_STATE), time 10885808, state PropertyNewValue
>
> ButtonRelease event, serial 37, synthetic NO, window 0x4e00001,
> root 0x28c, subw 0x4e00002, time 10885894, (32,24), root:(1985,63),
> state 0x110, button 1, same_screen YES
>
> LeaveNotify event, serial 37, synthetic NO, window 0x4e00001,
> root 0x28c, subw 0x0, time 10885894, (32,24), root:(1985,63),
> mode NotifyUngrab, detail NotifyInferior, same_screen YES,
> focus YES, state 16
>
> After doing some more searching I found that people using Eclispse were
> have problems with menus. The fix was to start it like this:
>
> env UBUNTU_MENUPROXY= eclipse
>
> I tried it with gedit and it worked, but when I tried it with Firefox
> and Thunderbird it had no effect.
Turns out that gedit works without doing this.
> What did fix it was turning global menus on in the panel, but I hate
> global menus. I had them turned off with no ill effects in 12.04. I
> guess I will have to keep experimenting to find a solution.
>
> Thanks, Jim
>
>
Some more info:
Programs that have their own menu bar, ie do not display menus in the
title bar, do not have this problem. Examples are: gEdit, Terminal and
Unsettings.
The programs that have the problem, display the menus in the title bar.
Examples are: Firefox, thunderbird and libreoffice. If I place the mouse
pointer on a menu in these programs and keep the button pressed down the
pointer turns into a hand. It does not do that on the programs I
mentioned in the previous paragraph.
Regards, Jim
More information about the ubuntu-users
mailing list