Andrew Eskilsson writes:
> I have one of these windows95 enhanced keyboards, and would like to
> utilize the three extra buttons. xev gives me L-meta, R-meta and
> menu. How do I add these extra modifiers to fvwm, so I can bind a
> function to them?
I'm not entirely sure I understand your question. Do you want some
action taken when these keys are pressed alone, or when some other
keys are pressed in combination with them?
In the latter case, you can do something along the lines of what I've
done: Assign one of X's little used modifiers to the keys, and use
that modifier's number in .fvwm2rc. In your .xsession (or anywhere
else that this will always be done when it needs to) do something
along the lines of:
case $DISPLAYTYPE in
.
.
<The displaytype in question>)
xmodmap - <<-END
add mod3 = L-meta
add Mod4 = R-meta
add mod5 = menu
END
;;
(If these keys by default have other modifiers, you may need to use
clear/remove first. Check the xmodmap man page.)
Now, in your .fvwm2rc you can do things like:
Key i A 3 Iconify
Key r A 3 Refresh
etc.
Håvard Fosseng
Håvard Fosseng S'il fallait tolérer aux autres tout ce qu'on se permet á
Informatics soi-même, la vie ne serait plus tenable.
University of Oslo -- Georges Courteline
haavardf_at_ifi.uio.no
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue May 07 1996 - 10:38:51 BST