Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

More a request than an issue. Mouse mapping depend upon mouse/trackpad #56

Closed
tr33m4n opened this issue May 23, 2012 · 3 comments
Closed

Comments

@tr33m4n
Copy link

tr33m4n commented May 23, 2012

Hello there,

Some wonderful work going on here. I'm considering releasing a distro using this as the main menu system, however there are some issues I have. The main one at present is, what would the best way to go about changing the shortcuts depending on whether a laptop is using a trackpad or a mouse?

Middle click for a menu is great when a mouse is plugged in, but another shortcut would need to be defined if using a trackpad due to many of them not supporting a middle click.

Any idea how to go about this?
Cheers
Dan

@Schneegans
Copy link
Owner

Well, just some thoughts..:

  • You may create a shell script which is executed on start up, checking for the presence of a mouse and changing the configuration of gnome-pie (it's stored in ~/.config/gnome-pie/pies.conf, an easy to understand XML file)
  • You may have two times the same Pie configured, once bound to the middle mouse button and once to another hotkey (this one sounds a bit hacky)
  • You may think of another default binding. For example mapping the main menu to the right mouse button with the delayed option turned on may work very good as well...
  • I can't think of a good solution build into gnome-pie... maybe alternative key bindings for pies --- but the use cases are quite rare I think... have you got a good idea?

Regards,
Simon

@ls-1N
Copy link

ls-1N commented Oct 15, 2019

I believe there is also an configuration option in some/most Linux trackpad drivers to have middle click emulated when both trackpad buttons are pressed simultaneously. And if you find a driver that covers 95% of your users, then the last 5% can just be instructed to change the hotkey to something they like.

@Schneegans
Copy link
Owner

As Gnome-Pie is now in low-maintanance-mode, I won't have the time to work on this. If you're using GNOME Shell and if you are still interested in this project, you could try out Fly-Pie which is a successor project of Gnome-Pie. Fly-Pie is actually made to work well with touch-pads!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants