using win-key with kde

Ladislav Strojil Ladislav.Strojil at seznam.cz
Fri Jul 5 18:18:40 BST 2002


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

On Friday 05 July 2002 18:55, Benjamin Richardson wrote:
> Le Vendredi 5 Juillet 2002 18:38, Ladislav Strojil a écrit :
> > On Friday 05 July 2002 18:30, Benjamin Richardson wrote:
> > > Le Vendredi 5 Juillet 2002 14:04, Robin Atwood a écrit :
> > > > On Friday 05 Jul 2002 02:07, Raphael Mack wrote:
> > > > > Hi,
> > > > >
> > > > > is there a possibility to use the windows-key on my keyboard for
> > > > > opening the k-menu? This was possible in a version of kde 1 or 2.
> > > > > But now with kde 3 it doesn't work. Any ideas?
> > >
> > > How do you use the window key on KDE 2 because I can't replace default
> > > shortcut, you need two keys to be hit ex: Alt+F1
> >
> > You don't need two keys... you just can't use modifier keys (Alt, Ctrl,
> > Shift, Meta) alone.
> >
> > So if you map that window key to F23 as Robin suggested, you can assign
> > it to any action you desire.
> >
> > I hope this helps,
> > Lada
>
> I suppose that F23 is the action and 115 the key code, but how do get that
> key code and the action number.

115 is (should be) the keycode of left window key. 116 and 117 should be right 
window and menu key.

You can choose to associate any key you desire with these codes. Be it F23 or 
F13. I am no keyboard expert, but you may certainly use F13-F30 (not sure 
about the upper limit at all)... there might be other "free keys" that are 
not present on PC keyboard and that you could use.

If you run 
xmodmap -e "keycode 115=F23"
and then go to shortcut settings and press your left window key, you will see 
that KDE recognizes it as F23.

But be warned that next time you restart KDE or just switch to different 
keyboard layout, your key mappings will be gone. You'll need to add them to 
some startup script.

Cheers,
Lada

- -- 
    ~       Ladislav Strojil, MFF UK
  ' v '               
 //   \\              
/(     )\    Powered by Penguin.
  ^ ' ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9JdTwTnMZPFqq4nwRApTLAKDWdytn1gwB8PDti4C3/4ItyAmrpgCfZtau
fbPiRVuT8fGJyEd5FRxdVB0=
=Ov1P
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list