Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #264902 > unrolled thread

Mouse single click handling?

Started bylocal10 <local10@tutanota.com>
First post2023-12-19 16:10 +0100
Last post2023-12-20 19:30 +0100
Articles 20 on this page of 44 — 22 participants

Back to article view | Back to linux.debian.user


Contents

  Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-19 16:10 +0100
    Re: Mouse single click handling? Dan Purgert <dan@djph.net> - 2023-12-19 16:30 +0100
    Re: Mouse single click handling? Henning Follmann <hfollmann@itcfollmann.com> - 2023-12-19 16:40 +0100
      Re: Mouse single click handling? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-19 16:50 +0100
        Re: Mouse single click handling? Charles Curley <charlescurley@charlescurley.com> - 2023-12-20 05:40 +0100
          Re: Mouse single click handling? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-20 06:00 +0100
            Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-20 06:10 +0100
      Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-19 17:10 +0100
        Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-19 17:40 +0100
          [SOLVED?] Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-21 11:50 +0100
        Re: Mouse single click handling? Greg Wooledge <greg@wooledge.org> - 2023-12-19 17:40 +0100
          Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-19 17:40 +0100
            Re: Mouse single click handling? Curt <curty@free.fr> - 2023-12-19 17:50 +0100
        Installing? Why debian? yxcv@vienna.at - 2023-12-19 17:50 +0100
        Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-19 18:00 +0100
        Re: Mouse single click handling? Brad Rogers <brad@fineby.me.uk> - 2023-12-19 18:20 +0100
        Re: Mouse single click handling? Alexis Grigoriou <alexis@nanoid.net> - 2023-12-19 19:50 +0100
          Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-19 19:50 +0100
          Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-19 21:50 +0100
            Re: Mouse single click handling? Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-12-20 16:00 +0100
              [SOLVED] Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-20 19:30 +0100
        Re: Mouse single click handling? Charles Curley <charlescurley@charlescurley.com> - 2023-12-20 05:30 +0100
          Re: Mouse single click handling? "Jeremy Nicoll" <jn.ml.dbi.73@letterboxes.org> - 2023-12-20 20:40 +0100
            Re: Mouse single click handling? "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2023-12-20 21:00 +0100
              Re: Mouse single click handling? songbird <songbird@anthive.com> - 2023-12-21 15:00 +0100
                Re: Mouse single click handling? "Jeremy Nicoll" <jn.ml.dbi.73@letterboxes.org> - 2023-12-22 16:40 +0100
                  worn off key labels songbird <songbird@anthive.com> - 2023-12-23 16:30 +0100
                  Re: Mouse single click handling? Dan Ritter <dsr@randomstring.org> - 2023-12-23 18:00 +0100
        Re: Mouse single click handling? Cindy Sue Causey <butterflybytes@gmail.com> - 2023-12-20 22:10 +0100
          Re: Mouse single click handling? "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2023-12-20 23:10 +0100
      Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-19 17:40 +0100
    Re: Mouse single click handling? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-12-19 17:40 +0100
      Re: Mouse single click handling? <tomas@tuxteam.de> - 2023-12-19 17:50 +0100
        Re: Mouse single click handling? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-12-19 18:10 +0100
      Re: Mouse single click handling? Felix Miata <mrmazda@earthlink.net> - 2023-12-19 19:50 +0100
        Re: Mouse single click handling? Fred <fred@blakemfg.com> - 2023-12-20 02:10 +0100
          Re: Mouse single click handling? Felix Miata <mrmazda@earthlink.net> - 2023-12-20 03:20 +0100
        OT: Pitfalls of online purchases (Was Re: Mouse single click  handling?) "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-12-20 08:50 +0100
          Re: OT: Pitfalls of online purchases (Was Re: Mouse single  clickhandling?) gene heskett <gheskett@shentel.net> - 2023-12-20 12:30 +0100
        Re: Mouse single click handling? Dan Purgert <dan@djph.net> - 2023-12-20 13:50 +0100
    Re: Mouse single click handling? gene heskett <gheskett@shentel.net> - 2023-12-19 18:10 +0100
    Re: Mouse single click handling? Jeffrey Walton <noloader@gmail.com> - 2023-12-20 16:20 +0100
      Re: Mouse single click handling? Jeffrey Walton <noloader@gmail.com> - 2023-12-20 16:30 +0100
      Re: Mouse single click handling? local10 <local10@tutanota.com> - 2023-12-20 19:30 +0100

Page 1 of 3  [1] 2 3  Next page →


#264902 — Mouse single click handling?

Fromlocal10 <local10@tutanota.com>
Date2023-12-19 16:10 +0100
SubjectMouse single click handling?
Message-ID<HMJTj-eF1p-5@gated-at.bofh.it>
Hi,

I have several mice that went bad with the same defect: they sometimes generate two single clicks very quickly (say, within 10-20ms) instead of a single click.

With reference to the above, is there a way or setting to force several mouse clicks within a short period of time to be interpreted as a single mouse click?

Thanks

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5  KDE Frameworks Version: 5.103.0  Qt Version: 5.15.8
Kernel Version: 6.1.0-15-amd64 (64-bit)
Graphics Platform: X11

[toc] | [next] | [standalone]


#264903

FromDan Purgert <dan@djph.net>
Date2023-12-19 16:30 +0100
Message-ID<HMKcF-eF8g-1@gated-at.bofh.it>
In reply to#264902

[Multipart message — attachments visible in raw view] — view raw

On Dec 19, 2023, local10 wrote:
> I have several mice that went bad with the same defect: they sometimes
> generate two single clicks very quickly (say, within 10-20ms) instead
> of a single click.
> 
> With reference to the above, is there a way or setting to force
> several mouse clicks within a short period of time to be interpreted
> as a single mouse click?

As far as I'm aware, there are no "low-pass" options in the drivers /
software to accommodate the case when the mechanical parts in the mouse
start sending spurious clicks, thanks to the contacts / springs / etc.
wearing out.  

It'd probably be less effort to just replace the failing switch(es) in
the mouse than trying to add that to the software.


-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860

[toc] | [prev] | [next] | [standalone]


#264904

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2023-12-19 16:40 +0100
Message-ID<HMKml-eFbp-1@gated-at.bofh.it>
In reply to#264902
On Tue, Dec 19, 2023 at 04:04:19PM +0100, local10 wrote:
> Hi,
> 
> I have several mice that went bad with the same defect: they sometimes generate two single clicks very quickly (say, within 10-20ms) instead of a single click.
> 
> With reference to the above, is there a way or setting to force several mouse clicks within a short period of time to be interpreted as a single mouse click?
> 
> Thanks
> 

I have to ask: are you currently located at a remote location like the ISS
station or similar? Why would you go down this rabbit hole when the right
thing is to replace faulty hardware especially when it is cheap hardware?

-H


-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#264905

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2023-12-19 16:50 +0100
Message-ID<HMKw1-eFeU-1@gated-at.bofh.it>
In reply to#264904
> I have to ask: are you currently located at a remote location like the ISS
> station or similar? Why would you go down this rabbit hole when the right
> thing is to replace faulty hardware especially when it is cheap hardware?

FWIW there's a case to be made that "The Right Thing" is to try and
reduce consumption of resources, and prolonging the use of hardware falls
in this category.

This said, fully working mouses are thrown out on a regular basis at
most large organisations, so it's probably a lost battle.  But maybe the
OP's mouse have some characteristic which makes it harder to find
worthy replacements.

I'd encourage the OP to try and add support for such "debounce" support in
the drivers.  If for no other reason than the satisfaction of having
done the right thing and the feeling of empowerment one gets from molding
the software to one's own needs (enabled by Free Software).


        Stefan

[toc] | [prev] | [next] | [standalone]


#264946

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-12-20 05:40 +0100
Message-ID<HMWxb-eMzl-1@gated-at.bofh.it>
In reply to#264905
On Tue, 19 Dec 2023 10:43:37 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> FWIW there's a case to be made that "The Right Thing" is to try and
> reduce consumption of resources, and prolonging the use of hardware
> falls in this category.

One's time is also a finite resource.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#264947

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2023-12-20 06:00 +0100
Message-ID<HMWQx-eMFE-1@gated-at.bofh.it>
In reply to#264946
>> FWIW there's a case to be made that "The Right Thing" is to try and
>> reduce consumption of resources, and prolonging the use of hardware
>> falls in this category.
> One's time is also a finite resource.

Yup.  But the OP seemed to have at least some time/motivation to try and
workout a solution other than replacing the device.


        Stefan

[toc] | [prev] | [next] | [standalone]


#264948

From<tomas@tuxteam.de>
Date2023-12-20 06:10 +0100
Message-ID<HMX0d-eMXZ-3@gated-at.bofh.it>
In reply to#264947

[Multipart message — attachments visible in raw view] — view raw

On Tue, Dec 19, 2023 at 11:56:29PM -0500, Stefan Monnier wrote:
> >> FWIW there's a case to be made that "The Right Thing" is to try and
> >> reduce consumption of resources, and prolonging the use of hardware
> >> falls in this category.
> > One's time is also a finite resource.
> 
> Yup.  But the OP seemed to have at least some time/motivation to try and
> workout a solution other than replacing the device.

Some people have learnt their Huxley by heart. "Better ending than
mending"

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#264906

Fromlocal10 <local10@tutanota.com>
Date2023-12-19 17:10 +0100
Message-ID<HMKPn-eFAw-5@gated-at.bofh.it>
In reply to#264904
Dec 19, 2023, 15:30 by hfollmann@itcfollmann.com:

> I have to ask: are you currently located at a remote location like the ISS
> station or similar?
>

No, nothing like that.


> Why would you go down this rabbit hole when the right
> thing is to replace faulty hardware especially when it is cheap hardware?
>


I've been replacing them, I have 4-5 mice like that, they all fail with the same defect after 6-12 months or so. So I thought perhaps there was a way to fix them instead of buying a new one every 6-12 months.

Regards,

[toc] | [prev] | [next] | [standalone]


#264908

From<tomas@tuxteam.de>
Date2023-12-19 17:40 +0100
Message-ID<HMLip-eFKj-5@gated-at.bofh.it>
In reply to#264906

[Multipart message — attachments visible in raw view] — view raw

On Tue, Dec 19, 2023 at 05:01:46PM +0100, local10 wrote:
> Dec 19, 2023, 15:30 by hfollmann@itcfollmann.com:
> 
> > I have to ask: are you currently located at a remote location like the ISS
> > station or similar?
> >
> 
> No, nothing like that.
> 
> 
> > Why would you go down this rabbit hole when the right
> > thing is to replace faulty hardware especially when it is cheap hardware?
> >
> 
> 
> I've been replacing them, I have 4-5 mice like that, they all fail with the same defect after 6-12 months or so. So I thought perhaps there was a way to fix them instead of buying a new one every 6-12 months.

Here's someone offering a patch for xserver-xorg-input-evdev:

   https://blog.guntram.de/?p=16

and this is someone reporting on how to build for Ubuntu:

  https://askubuntu.com/questions/321816/mouse-sometimes-doubleclicks-when-i-click-once

so yes, it seems you are not alone :-)

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#265060 — [SOLVED?] Re: Mouse single click handling?

Fromlocal10 <local10@tutanota.com>
Date2023-12-21 11:50 +0100
Subject[SOLVED?] Re: Mouse single click handling?
Message-ID<HNoMN-f4n6-1@gated-at.bofh.it>
In reply to#264908
Dec 19, 2023, 16:36 by tomas@tuxteam.de:

> Here's someone offering a patch for xserver-xorg-input-evdev:
>
>  https://blog.guntram.de/?p=16
>
> and this is someone reporting on how to build for Ubuntu:
>
>  https://askubuntu.com/questions/321816/mouse-sometimes-doubleclicks-when-i-click-once
>
> so yes, it seems you are not alone :-)
>


Will mark it as SOLVED in case if the solution that has worked for me ( https://lists.debian.org/debian-user/2023/12/msg01048.html ) doesn't work for someone.
Regards,

[toc] | [prev] | [next] | [standalone]


#264909

FromGreg Wooledge <greg@wooledge.org>
Date2023-12-19 17:40 +0100
Message-ID<HMLiq-eFKj-21@gated-at.bofh.it>
In reply to#264906
On Tue, Dec 19, 2023 at 05:01:46PM +0100, local10 wrote:
> I've been replacing them, I have 4-5 mice like that, they all fail with the
> same defect after 6-12 months or so. So I thought perhaps there was a way to
> fix them instead of buying a new one every 6-12 months.

If you can fix the hardware, sure.

Putting crazy workaround hacks in the drivers is not a fix, though.

[toc] | [prev] | [next] | [standalone]


#264910

From<tomas@tuxteam.de>
Date2023-12-19 17:40 +0100
Message-ID<HMLiq-eFKj-29@gated-at.bofh.it>
In reply to#264909

[Multipart message — attachments visible in raw view] — view raw

On Tue, Dec 19, 2023 at 11:31:21AM -0500, Greg Wooledge wrote:
> On Tue, Dec 19, 2023 at 05:01:46PM +0100, local10 wrote:
> > I've been replacing them, I have 4-5 mice like that, they all fail with the
> > same defect after 6-12 months or so. So I thought perhaps there was a way to
> > fix them instead of buying a new one every 6-12 months.
> 
> If you can fix the hardware, sure.
> 
> Putting crazy workaround hacks in the drivers is not a fix, though.

But at the end, that's how most (reaonably complex) hardware works :)

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#264914

FromCurt <curty@free.fr>
Date2023-12-19 17:50 +0100
Message-ID<HMLs5-eFNz-11@gated-at.bofh.it>
In reply to#264910
On 2023-12-19, <tomas@tuxteam.de> <tomas@tuxteam.de> wrote:
>
>
> But at the end, that's how most (reaonably complex) hardware works :)
>

Surely there must be superior and inferior mice. Maybe the OP should try
another brand. Or has she?

Up on the ISS, I would suppose they use touch screens, as floating mice
would be a novelty.

[toc] | [prev] | [next] | [standalone]


#264913 — Installing? Why debian?

Fromyxcv@vienna.at
Date2023-12-19 17:50 +0100
SubjectInstalling? Why debian?
Message-ID<HMLs5-eFNz-7@gated-at.bofh.it>
In reply to#264906
Debian still wants interesteing user to take netinstall.iso or any other 
*iso because of Debian installation, but recommends the US-Shit GRUB. it is 
usefull to study Heise.de before and absolut all from Ubuntu about the 
GReatly Ugly and UnUseabe pile of sht B. This shit in combination with other 
maschines in  the net kill all other bootprogramms on all maschiens. This 
isn's just mad, it is criminal typical US-Manner. And Debian is it stupid 
partner just like Ukraine.
When interested for control. kill all ethernet, therefore wireless is just 
so much suppoerted. And Debian is the stupid partner. Everybody is warned.

All answers never will be read

[toc] | [prev] | [next] | [standalone]


#264915

Fromlocal10 <local10@tutanota.com>
Date2023-12-19 18:00 +0100
Message-ID<HMLBL-eFQP-5@gated-at.bofh.it>
In reply to#264906
Dec 19, 2023, 16:37 by tomas@tuxteam.de:

> Here's someone offering a patch for xserver-xorg-input-evdev:
>
>  https://blog.guntram.de/?p=16
>
> and this is someone reporting on how to build for Ubuntu:
>
>  https://askubuntu.com/questions/321816/mouse-sometimes-doubleclicks-when-i-click-once
>
> so yes, it seems you are not alone :-)
>


I will look into it. Thanks to everyone who responded.

[toc] | [prev] | [next] | [standalone]


#264918

FromBrad Rogers <brad@fineby.me.uk>
Date2023-12-19 18:20 +0100
Message-ID<HMLV8-eGcs-3@gated-at.bofh.it>
In reply to#264906

[Multipart message — attachments visible in raw view] — view raw

On Tue, 19 Dec 2023 17:01:46 +0100 (CET)
local10 <local10@tutanota.com> wrote:

Hello local10,

> So I thought perhaps there was a way to fix them instead of buying a
> new one every 6-12 months.

Replace the flaky switch.  If you're not happy wielding a soldering
iron, get a friend to do it - assuming you know someone competent at
soldering.

Failing that, when you come to buy a new mouse, pay more;  That way, one
would hope, that the quality of parts would be better, making for a
longer life.

My mouse developed similar behaviour;  LMB(1) became very touchy.  I
replaced the switch about three years ago and am still using the same
device now.  The mouse is now over a decade old.

Also, it's a good idea to give your mouse a darn good clean every now
and then.  This means taking it apart to get all the dust and other cruft
out that accumulates over time.

(1)  IME it's almost always LMB that fails - it gets far more use than
RMB.

-- 
 Regards  _       "Valid sig separator is {dash}{dash}{space}"
         / )      "The blindingly obvious is never immediately apparent"
        / _)rad   "Is it only me that has a working delete key?"
Early morning when I wake up I look like Kiss but without the make-up
Strong - Robbie Williams

[toc] | [prev] | [next] | [standalone]


#264925

FromAlexis Grigoriou <alexis@nanoid.net>
Date2023-12-19 19:50 +0100
Message-ID<HMNke-eGU6-5@gated-at.bofh.it>
In reply to#264906
On Tue, 2023-12-19 at 17:01 +0100, local10 wrote:
> Dec 19, 2023, 15:30 by hfollmann@itcfollmann.com:
> 
> I've been replacing them, I have 4-5 mice like that, they all fail
> with the same defect after 6-12 months or so. So I thought perhaps
> there was a way to fix them instead of buying a new one every 6-12
> months.
> 

Been there done that. Cheap mice have cheap switches which fail sooner
than later. Gaming mice are more expensive, but they are rated for 10-
20million clicks. Way more than than the cheap ones. In the long run
those gaming mice come cheaper. I have an Evga X3 mouse at work i got
in 2018. It still works and it cost just 30 euros.

[toc] | [prev] | [next] | [standalone]


#264926

From<tomas@tuxteam.de>
Date2023-12-19 19:50 +0100
Message-ID<HMNke-eGU6-11@gated-at.bofh.it>
In reply to#264925

[Multipart message — attachments visible in raw view] — view raw

On Tue, Dec 19, 2023 at 08:40:56PM +0200, Alexis Grigoriou wrote:
> On Tue, 2023-12-19 at 17:01 +0100, local10 wrote:
> > Dec 19, 2023, 15:30 by hfollmann@itcfollmann.com:
> > 
> > I've been replacing them, I have 4-5 mice like that, they all fail
> > with the same defect after 6-12 months or so. So I thought perhaps
> > there was a way to fix them instead of buying a new one every 6-12
> > months.
> > 
> 
> Been there done that. Cheap mice have cheap switches which fail sooner
> than later. Gaming mice are more expensive, but they are rated for 10-
> 20million clicks. Way more than than the cheap ones. In the long run
> those gaming mice come cheaper. I have an Evga X3 mouse at work i got
> in 2018. It still works and it cost just 30 euros.

As I said, I fixed a couple of them where the switches weren't the
failure, but rather the mechanical transmission, which became "too
short" (most probably because the frame around it became too long).
A thin shim did the trick.

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#264931

Fromlocal10 <local10@tutanota.com>
Date2023-12-19 21:50 +0100
Message-ID<HMPcl-eI3m-1@gated-at.bofh.it>
In reply to#264925
Dec 19, 2023, 18:41 by alexis@nanoid.net:

> Been there done that. Cheap mice have cheap switches which fail sooner
> than later. Gaming mice are more expensive, but they are rated for 10-
> 20million clicks. Way more than than the cheap ones. In the long run
> those gaming mice come cheaper. I have an Evga X3 mouse at work i got
> in 2018. It still works and it cost just 30 euros.
>


It's a Logitech Trackman Marble Trackball mouse (T-BC21 model). I like this model but for some reason they just don't seem to last as long as they used to.

Regards,

[toc] | [prev] | [next] | [standalone]


#264972

FromAnssi Saari <anssi.saari@debian-user.mail.kapsi.fi>
Date2023-12-20 16:00 +0100
Message-ID<HN6db-eSJ1-5@gated-at.bofh.it>
In reply to#264931
local10 <local10@tutanota.com> writes:

> It's a Logitech Trackman Marble Trackball mouse (T-BC21 model). I like
> this model but for some reason they just don't seem to last as long as
> they used to.

Maybe they have cost reduced it so much it doesn't last as well any
more. Looks like there are some other models from Logitech and
Kensington and others still in production, maybe one of those could work
better?

BTW, you might be able to use working switches from your other mice as
spare parts if you want to fix one.

I've never had a trackball, I think a friend of mine had one back in the
90s which is when I may have used one...

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web