Opened 8 years ago

Last modified 8 years ago

#1064 accepted enhancement

Illume shelf gadget for right or middle click

Reported by: mazikeen Owned by: TAsn
Priority: major Milestone: wishlist
Component: Other Version: SHR-unstable
Keywords: Cc:


Apps not designed for touchscreen often require right clicks, and sometimes middle clicks, to be usable. One option would be a shelf gadget to set the pointer to left, middle or right clicks, or to toggle between them.

The button mapping is easily changed using:

xinput set-button-map "Touchscreen" 3 2 1 4 5

The gadget must indicate the currently selected button mapping (picture of mouse buttons with active button coloured in?) and should allow it to be changed quickly and easily. A single tap on the gadget could switch to the more common of the remaining button mappings, and a double tap to the less common one. This would give:

Current mode | single tap | double tap
left | to right | to middle
middle | to left | to right
right | to left | to middle

A more advanced version might make the modifier happen only for the next click, with tap-and-hold to make the modifier sticky. This might not be possible at the gadget level though.

Change History (6)

comment:1 Changed 8 years ago by Heinervdm

  • Milestone set to wishlist
  • Owner changed from ainulindale to TAsn
  • Status changed from new to assigned

comment:2 follow-up: Changed 8 years ago by vanous

How about adding it as a slider into the Quick Settings? This is callable by the PWR button...


comment:3 in reply to: ↑ 2 Changed 8 years ago by TAsn

  • Status changed from assigned to accepted

Replying to vanous:

How about adding it as a slider into the Quick Settings? This is callable by the PWR button...

Too clumsy in my point of view, you need it pretty accessible.

Anyhow, my suggestion: (as stated in ML)
Have a 3 state topbar gadget. It'll look like a button, and you'll be able to toggle settings by clicks.
Default state is "left click", second state will be "one right click" that will go back to the default state when a right click (anywhere on screen happens),
and a third state, "right click" which is the same as "left click" in behavior (won't change until you press the icon).

I don't find the middle click feature that useful, as applications are rarely designed to utilize this button.

comment:4 follow-up: Changed 8 years ago by TAsn

  • Component changed from SHR Image to Other

comment:5 in reply to: ↑ 4 Changed 8 years ago by nzidol

Replying to TAsn:
No please don't forget the middle button, I run Smalltalk/Squeak? on my Neo and that really needs a middle button...

comment:6 Changed 8 years ago by TAsn

I wrote it according to what I described, adding middle click support is less trivial so I didn't do it yet. (And I'm not sure it's a wanted addition, it makes everything annoying and less usable, will have to consider creating a middle click one, or something like that).

Note: See TracTickets for help on using tickets.