Re: adding a custom shortcut key

Miguel Nicolau <[email protected]> Fri, 29 Jul 2005 13:25:16 +0100 (IST)
Newsgroups gmane.compw.window-managers.windowmaker.user
Message-ID <[email protected]>
On systems like Mandrake, you can't use Wprefs.app to edit your menu, as 
it is a system-wide menu written in old style. You then have to add your 
own shortcut apps to the menu; for example, I have the following:

"Keyboards" MENU
     "Ireland" SHORTCUT Shift+Meta+1 EXEC setxkbmap ie &
     "Russian" SHORTCUT Shift+Meta+2 EXEC setxkbmap ru &
     "Portuguese" SHORTCUT Shift+Meta+3 EXEC setxkbmap pt &
"Keyboards" END

Since the system-wide menu includes the file 
~/GNUStep/Library/WindowMaker/user.menu, you can just place this code in 
that file.

Hope this helps

Miguel


On Wed, 27 Jul 2005 [email protected] wrote:

> The best way to add shortcut keys to Window Maker without depending on other software is to
> add an entry to the RootMenu using Wprefs.app each entry can have an assigned shortcut to it
>
> I infact have F6 and F7 assigned to xmms -s and xmms -p
> and ctl+shift+r to a run window
>
> On Tue, 26 Jul 2005 17:52:43 -0700 (PDT)
> [email protected] wrote:
>
>> How can i go about adding a custom shortcut key? Say CTRL+R (for the same
>> RUN box that comes up from the menu), or CTRL+S to exec 'xmms -s'.
>>
>> I've done a bit of searching but haven't found much. If you could point me
>> in the right direction, or could paste an example i'd really appreciate
>> it.
>>
>> thanks.
>>
>> _______________________________________________
>> INFO: https://windowmaker.org/lists/listinfo/wm-user
>> ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
>> FAQ: http://windowmaker.org/faq.html
> _______________________________________________
> INFO: https://windowmaker.org/lists/listinfo/wm-user
> ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
> FAQ: http://windowmaker.org/faq.html
>
_______________________________________________
INFO: https://windowmaker.org/lists/listinfo/wm-user
ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
FAQ: http://windowmaker.org/faq.html