This is a discussion on Re: [Fwd: xmodmap problem in X.org on snapshot] within the mailing.openbsd.tech forums, part of the OpenBSD category; --> lrutled wrote: > Howdy, > I sent the following to the misc list, but no replies. > > Date: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| lrutled wrote: > Howdy, > I sent the following to the misc list, but no replies. > > Date: Sun, 17 Apr 2005 22:34:01 -0500 > From: linc <lrutled@columbus.rr.com> > To: misc@openbsd.org > Subject: xmodmap problem in X.org on snapshot > Message-ID: <20050417223401.33b32882.lrutled@columbus.rr.com > > > Howdy, > > Under 3.6 I was able to get middle- and right- click events from my F10 > and F11 keys respectively. I have figured out that xmodmap is working, > but the mouse click assignment doesn't seem to have any meaning. > > The assignment I was using was: > keycode 76 = Pointer_Button2 Pointer_Drag2 > keycode 95 = Pointer_Button3 Pointer_Drag3 > I'm not sure I understand you correctly. You mean that under 3.6 this was actually doing something useful without any other modification? What exactly ? Although there's a keysym called Pointer_Button2, it does not emulate the mouse button 2 automagically. This is still seen by application as a _key_ press, unless you enable "mouse keys" in XKB. > Now I believe from reading man X and man xmodmap, that my F10 key, > keycode 76, should make a middle click event, and shift-F10 should make > a drag event. But there is no response at all when I do so. > use for instance: xmodmap -e "keysym Num_Lock = Num_Lock Pointer_EnableKeys" to make Shift+NumLock activate the mouse keys feature. See for example <http://www.fvwm.org/documentation/faq/#3.5> for more information on this feature. -- Matthieu Herrb |