[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Howto: Using Mouse as modifier

From: gegendosenfleisch
Subject: Howto: Using Mouse as modifier
Date: Fri, 9 May 2008 17:58:28 -0700 (PDT)
User-agent: G2/1.0

Basic Question: How can I use my mouse buttons as C-/M- Keys?

If you are interested, please read on...


I am quite new to emacs (just a few months). On my thinkpad, which is
main computer by now, the mouse buttons are conveniently located under
thumbs. So I wanted to use them in combination with keys to act like
(Button 1 and 3) and Meta (2) keys.

I tried several things and asked in several places for advice.
Nothing really worked.

- Using xbindkeys: Converting every single combination.
- Using gpm: Does not seem to provide the needed functionality.
- Using emacs:  (global-set-key [mouse-2] '...)

The xbindkeys way nearly worked: It would do the first command in each
session, but subsequently not work anymore ;(.

Best would be a way that does X and CLI, but I would restrain myself
to one environment if this would work.
As I am not so fond of the mouse (I hardly use it anymore, thanks to
emacs ;),
I do not mind to lose copy/paste actions or the other stuff nowadays
to the mouse by emacs standardconfiguration.

Any hints/links would be very much appreciated.

So all paths leaded to nowhere and I am resorting to the medium most
geeky for
advice, a scary medium I usually prefer to read only: The mighty

Please do not rip my head off :)


- Memnon Anon (not a native speaker, as you will have guessed)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]