[wplug] Talking about keystroke bindings

Luquilla Hughes luquilla at hotmail.com
Mon Dec 18 13:26:49 EST 2000


Sounds like the begining of a HOWTO...


>From: "Rafael E. Herrera" <raffo at neuronet.pitt.edu>
>Reply-To: wplug at wplug.org
>To: wplug at wplug.org
>Subject: Re: [wplug] Talking about keystroke bindings
>Date: Sat, 16 Dec 2000 20:50:52 -0500
>
>I figured out how to bind my internet keys to commands under
>enlightenment. For who's interested this is ow I did it.
>
>Found the scan codes generated by the key with xev and noting the
>'keycode' generated. I've three keys, and they generate 178, 165 and
>166.
>
>Next, in my ~/.Xmodmap I added:
>
>	keycode 178 = F13
>	keycode 165 = F14
>	keycode 166 = F15
>
>This file should load when you start X. If not add 'xmodmap ~/.Xmodmap'
>in your ~/.xinitrc
>
>To bind the commands, locate the file 'keybindings.cfg' in your
>Enlightenment installation and added to something like this:
>
>__ACLASS __BGN
>   __NAME KEYBINDINGS
>   __TYPE __TYPE_GLOBAL
>     __KEY Home
>     __MODIFIER_KEY __CTRL_ALT
>     __EVENT __KEY_PRESS
>     __ACTION __A_CLEANUP size
>   __NEXT_ACTION
>     __KEY Insert
>     __EVENT __KEY_PRESS
>     __MODIFIER_KEY __CTRL_ALT
>     __ACTION __A_EXEC Eterm
>   __NEXT_ACTION
>
>[... cut ...]
>
>   __NEXT_ACTION
>     __KEY F13
>     __EVENT __KEY_PRESS
>     __ACTION __A_EXEC netscape
>   __NEXT_ACTION
>     __KEY F14
>     __EVENT __KEY_PRESS
>     __ACTION __A_EXEC xscreensaver-command -activate
>   __NEXT_ACTION
>     __KEY F14
>     __MODIFIER_KEY __ALT
>     __EVENT __KEY_PRESS
>     __ACTION __A_EXEC xscreensaver-command -lock
>   __NEXT_ACTION
>     __KEY F14
>     __MODIFIER_KEY __CTRL_ALT
>     __EVENT __KEY_PRESS
>     __ACTION __A_EXEC xscreensaver-command -prefs
>   __NEXT_ACTION
>     __KEY F15
>     __EVENT __KEY_PRESS
>     __ACTION __A_EXEC netscape -mail
>__END
>
>Restart enlightenment and enjoy.
>--
>      Rafael
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the wplug mailing list