Re: [ubuntu-uk] Mouse accessibility problem

2018-04-09 Thread Jim Price
That'll solve the problem for a file manager, but there is another 
related problem which it won't solve. When the mouse moves after the 
button down of a single click in e.g. Firefox the link can move instead 
of registering a click. Getting the mouse button down and up in a short 
time is as difficult as getting a reliable double click it would seem. 
The text of the link then floats above the page and drops wherever the 
release of the mouse button happens. This makes opening pages from a 
link somewhat dependent on being able to keep the mouse stable. 
Apologies for the mission creep.


Thanks anyway for the suggestion.

--
Jim

On 09/04/18 14:58, r...@league2000.co.uk wrote:

Not at my Ubuntu machine so can't check. But, I've got my opensuse laptop at 
hand. There's an option to use a single click to open files and folders.  Not 
sure if this is of use.




--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Mouse accessibility problem

2018-04-09 Thread J Fernyhough
On 09/04/18 17:50, Jim Price wrote:
> Getting the mouse button down and up in a short
> time is as difficult as getting a reliable double click it would seem.


After doing some more digging the libinput "DragLockButtons" option may
help with this:


>  Option "DragLockButtons" "L1 B1 L2 B2 ..."
> 
> Sets "drag lock buttons" that simulate a button logically down even when 
> it has been physically released. To logically release a locked button, a 
> second click of the same button is required.
> 
> If the option is a single button number, that button acts as the "meta" 
> locking button for the next button number. See section Button Drag Lock for 
> details.
> 
> If the option is a list of button number pairs, the first number of each 
> number pair is the lock button, the second number the logical button number 
> to be locked. See section Button Drag Lock for details.
> 
> For both meta and button pair configuration, the button numbers are 
> device button numbers, i.e. the ButtonMapping applies after drag lock.


http://manpages.ubuntu.com/manpages/xenial/man4/libinput.4.html


However, it also seems as though you're trying to address
mutually-exclusive issues. On the one hand, you want to allow a
single-click-then-move to trigger drag-and-drop behaviour, while at the
same time you want to prevent a single-click-and-move from triggering
drag-and-drop behaviour.

The only way to address this is to separate cursor movement from
clicking and so allow independent control over both activities. This can
not be accomplished with a single mouse - you either need to look again
at larger trackballs (with a central ball, Expert or Orbit-style), or
some other input device, for example a trackpad, trackpoint/joystick,
dedicated "click" key/button, or breath controller.

J

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Mouse accessibility problem

2018-04-09 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

In CSS can you use the code that makes a border around the text,  so
as well as the actual visible link text there is a border you can't
see round the side, if you use a:hover then you can change the link
text too,  so it changes colour when in the right place.

https://stackoverflow.com/questions/2570972/css-font-border

basically increase the area where the mouse changes from a pointer to
a text select thing.

Paul

On 09/04/18 17:50, Jim Price wrote:
> That'll solve the problem for a file manager, but there is another 
> related problem which it won't solve. When the mouse moves after
> the button down of a single click in e.g. Firefox the link can move
> instead of registering a click. Getting the mouse button down and
> up in a short time is as difficult as getting a reliable double
> click it would seem. The text of the link then floats above the
> page and drops wherever the release of the mouse button happens.
> This makes opening pages from a link somewhat dependent on being
> able to keep the mouse stable. Apologies for the mission creep.
> 
> Thanks anyway for the suggestion.
> 

- -- 
http://www.zleap.net
Torbay Tech Jam http://torbaytechjam.org.uk
Next Tech jam 2nd Saturday of the month
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJay+Y7AAoJEPCGVTfQZjAtaT4P/RkJFN7XbrznfvZpzHbn0C+h
bwO4DCEmXUQiuOa0x09bh7+xzEm/G4XA6eY2h4+6nUuYsBcg73cF4+CxKjdg7CUF
lQ6jT2OyTd04sGUF3c3h0fallSSgHSJbRrfE6rDaxyczM+rNdKdhgVNvzPPie4Rb
tLTXX+t3uwYE3OjUIxAo38quny+1wkDtProfUatbG+tvuLRIhSk2Pip3v5M/H1cO
Mvxfx6gYzxbPg3/QgVJV4u+Mf4PT1mtpwkwArgEH9Y0CkM6uIKjylV9eUvQWPfex
XPe9/EmbK/7BQB6BvnOsqSV4BoL/OvIqWZfPvZfDzt969kqcmiod8eWbYPcpbLW8
t/m2fN46x+Q6cMFb0VxocP5wUd+Dti+toM1QBU/s86wbRotEgfQofXLJ8/iMnG07
Qe/NmcJanJGVkPOxt1Ke9GfGfN4i3X0PVj8ZIIXoZSqugg/bJ1k7yPAbEqOUr7Yg
hxhEX6VUT8UfYCcgNLbJHnpvjlpiqflGVi7xzwjefLBh6HmhfvAfqjxwxb/R3FsI
/4CrTEM6HMNc3mc9GuY+dYBFtLEJcBL9al7g+dtLFXyzDnJdabQMCnN/n2c8cCE1
B5V5K7ZDKt4rz/xqZlvYMpu/EnzIFrGsl8+Lo3vbWJcX+6bOohmH08PgqzegxDAQ
pJo8md+niRYpRPdn1sRh
=5eqv
-END PGP SIGNATURE-

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Mouse accessibility problem

2018-04-09 Thread r...@league2000.co.uk
Not at my Ubuntu machine so can't check. But, I've got my opensuse laptop at 
hand. There's an option to use a single click to open files and folders.  Not 
sure if this is of use.

Sent from my HTC

- Reply message -
From: ubuntu-uk-requ...@lists.ubuntu.com
To: 
Subject: ubuntu-uk Digest, Vol 149, Issue 1
Date: Mon, Apr 9, 2018 13:00

Send ubuntu-uk mailing list submissions to
ubuntu-uk@lists.ubuntu.com

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
or, via email, send a message with subject or body 'help' to
ubuntu-uk-requ...@lists.ubuntu.com

You can reach the person managing the list at
ubuntu-uk-ow...@lists.ubuntu.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ubuntu-uk digest..."


Today's Topics:

1.  Mouse accessibility problem (Jim Price)
2. Re:  Mouse accessibility problem (J Fernyhough)
3. Re:  Mouse accessibility problem (Jim Price)
4. Re:  Mouse accessibility problem (J Fernyhough)
5. Re:  Mouse accessibility problem (Jim Price)


--

Message: 1
Date: Sun, 8 Apr 2018 14:08:46 +0100
From: Jim Price 
To: ubuntu-uk@lists.ubuntu.com
Subject: [ubuntu-uk] Mouse accessibility problem
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

I'm trying to solve a problem with double clicking the mouse for someone 
with jittery hand movements. The problem is that there is usually enough 
movement between their first and second clicks of a double click that it 
is registered as two single clicks in different places. This has all 
sorts of unwanted side effects, all of which include doing something 
different to what was intended. I have an idea of what it might take to 
address the issue - hold the mouse pointer still for the duration of the 
double click detection period. This would be a bit like sticky keys for 
the keyboard, but googling for sticky mouse doesn't get me very far as 
anyone who remembers ball mice will understand. Has anyone seen a 
setting anywhere which might do this, or maybe a program or any other 
way of doing it? Suggestions welcome.

-- 
Jim




--

Message: 2
Date: Sun, 8 Apr 2018 15:44:59 +0100
From: J Fernyhough 
To: ubuntu-uk@lists.ubuntu.com
Subject: Re: [ubuntu-uk] Mouse accessibility problem
Message-ID: 
Content-Type: text/plain; charset="utf-8"

On 08/04/18 14:08, Jim Price wrote:
> I'm trying to solve a problem with double clicking the mouse for someone
> with jittery hand movements. The problem is that there is usually enough
> movement between their first and second clicks of a double click that it
> is registered as two single clicks in different places.

Which DE are you using, and in what context are you double-clicking?

e.g. I've just tested under MATE 1.20 by moving the mouse while
(relatively slowly) clicking twice on an item in Caja (e.g. once on the
folder icon, once on the text) - each time it detects this as a
double-click on that item.

The other alternative is to use a trackball instead of a mouse
(something I've come to prefer generally _anyway_).

J

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: 


--

Message: 3
Date: Sun, 8 Apr 2018 16:27:02 +0100
From: Jim Price 
To: ubuntu-uk@lists.ubuntu.com
Subject: Re: [ubuntu-uk] Mouse accessibility problem
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

On 08/04/18 15:44, J Fernyhough wrote:
> On 08/04/18 14:08, Jim Price wrote:
>> I'm trying to solve a problem with double clicking the mouse for someone
>> with jittery hand movements. The problem is that there is usually enough
>> movement between their first and second clicks of a double click that it
>> is registered as two single clicks in different places.
> 
> Which DE are you using, and in what context are you double-clicking?

MATE is what we're trying to use, but if there's a solution only in a 
desktop other than MATE then that's what it's going to be. The context 
is any application which needs a double click to do things, and drag and 
drop is affected too, which is a further problem but easier to deal with 
than double clicking. My suggested solution allows drag and drop to 
start working after the double click timeout has expired. I would  have 
thought that it wouldn't necessarily be desktop specific as the 
underlying mouse activity is handled by X11. Some desktops do get 
involved I believe but by no means all of them. A solution which