Using Microsoft keyboard hot keys

Anton Markov anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Sat Jul 3 15:15:50 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Andy!

I followed your suggestion and changed the 'Option "XkbModel"' in the
keyboard section of my XF68Config file, and now when I go into the
kHotkeys configuration and press one of the keys, it inputs a name like
"XF86Back", etc.

For the record, here is my 'keyboard' section:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
	## Use the multimedia keys on a Microsoft keyboard:
        Option          "XkbModel"      "microsoftinet"
        Option          "XkbLayout"     "us"
EndSection


Thanks again!

Andy Jack wrote:
> On Sat, Jul 03, 2004 at 12:07:32AM -0400, Anton Markov wrote:
>
>>I have a "Microsoft" keyboard (the most basic one, I think), which has a
>>set of additional buttons above the function keys - "back", "forward",
>>"stop", etc. How can I bind these keys to events in KDE (say shell
>>scripts or DCOP calls)? The KDE KHotkeys system does not recognize the
>
> <...>
>
> Hi; while this isn't an answer to your question it may lead you in the
> right direction.  I had one of these MS keyboards set up to work with
> hotkeys under FluxBox.  In XF86Config I had:
>
> Option "XkbModel"  "microsoftinet"
>
> Using "xev" and pushing all the extra buttons you can see the messages
> each keypress/unpress event generates and figure out the button names.
> They were things like "XF86Back", "XF86Forward", "XF86MyComputer", and
> so on.  xev will also tell you if X is actually getting events from
> keypresses... maybe this is why you can't input them into KHotKeys?
<snip>
>
> So I think your challenge now is to see if the KHotKeys will accept
> these long event names somehow...
>
> HTH,
> Andy

- --
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>

GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4

*** LINUX - MAY THE SOURCE BE WITH YOU! ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA5s2lRreNkzrRRLQRAl/UAJ9LeLw5Gfp23OfgUFpqgTU0FipRxwCbBtFI
frzaVsg9XW8eBeYrPLvQ2MY=
=VUvr
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list