Unix Technical Forum

Re: [Fwd: xmodmap problem in X.org on snapshot]

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: ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:46 AM
Matthieu Herrb
 
Posts: n/a
Default Re: [Fwd: xmodmap problem in X.org on snapshot]

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com