Re: Win key to K menu??
Kyle Hamar wrote:
> On 1/10/07, Bruno Buys <bruno.grupos@gmail.com> wrote:
>
>> I was used to open the k menu just by hitting the win key, in kde 3.2.2.
>> Now, after upgrading to kde 3.5.0 from sarge-backports, it won't let me.
>> When I go to control center and try to enable it, control center only
>> accepts the win key together with some other, otherwise no deal.
>> Someone knows? Thanks!
>
>
>> From http://docs.kde.org/stable/en/kdebase/faq/panel.html
>
>
> 5.7. How do I use the Windows(r) key to open the K menu?
>
> Previous versions of KDE provided a trick to allow you to use the
> Windows(r) key both as a modifier (so you could have shortcuts like
> Win+R), and as a regular key (so that pressing Win on its own could
> open the K menu). This feature was removed for reasons of usability
> and accessibility, as well as keeping the code clean. For current
> versions of KDE, you have two options: either use a different shortcut
> to open the K menu (the default is Alt+F1), or remap the Win key to be
> a regular key, rather than a modifier.
>
> If you choose to do the second, here's one way:
>
> 1. Find the keycode for your Win key using xev: Run the
> command xev in a Konsole, and press the Win key. Look in the output of
> xev for keycode n, where n is the keycode of the Win key.
> 2. Use xmodmap to remap the Win key. An appropriate command is
> xmodmap -e 'keycode n=Menu'.
> 3. In the KDE Control Center, go to Regional &
> Accessibility->Keyboard Shortcuts and set the shortcut for Popup
> Launch Menu to the Win key. You should now be able to popup the K menu
> by pressing the Win key.
> 4. One more step is required to save the changes across
> settings: Create a file ~/.kde/env/win-key.sh (create the directory if
> it doesn't exist), and add the xmodmap command you used previously to
> it. The change should now be applied every time you start KDE.
>
thank you, Kyle! That's exactly it.
Reply to: