Using fn-Key of IBM Thinkpads in X?

Timothy Bourke timbob at bigpond.com
Wed Jan 17 00:52:33 UTC 2007


On Jan 16 at 11:28 +0100, Christian Walther wrote:
> I'm currently using the latest FreeBSD 6.1 patchlevel on an IBM
> Thinkpad T23, and so far I'm quite happy with it. (I'll have an issue
> with my ath-based WLAN-NIC, but I've to address this later.)
> One thing I'm wondering about is if it is possible to use the fn-Key
> as another special key in X, e.g. like Control or Alt. I'm using ion3
> as a window manager, and I found know hotkey configuration that
> wouldn't affect the usage of hotkeys in applications. Using
> fn+<something else> with X/ion3 would be nice.
> But I don't know if fn sends a scan code like the other keys do, and
> how I could map this key in X.

The deskutils/tpb port provides some functionality.

You could try running xev to find the keycode of Fn, and then xmodmap to
map it as a modifier key. My experience (on a TP R52) is that Fn has a
keycode, but that it cannot be usefully combined with other keys. I
would be happy to discover otherwise for reasons similar to yours.

Tim.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070117/ea931917/attachment.pgp


More information about the freebsd-questions mailing list