On Sun, Mar 31, 2013 at 03:19:12PM +0300, Vladislav <[email protected]> wrote:
> How can I change key bindings of urxvt.tabbed
> I prefer to use Super_L (keysym 0xffeb) instead of Shift
> I know - the matter is urxvt::ShiftMask
You can copy the source of tabbed and edit it to suit your needs. You can
put it into ~/.urxvt/ext/, where it will override the system-installed
version.
> If we make grep ShiftMask /usr/lib/urxvt/urxvt.pm we can see
> "Mod1Mask, Mod2Mask". So, where can we find their definition?
The defition is in rxvtperl.xs, probably, or, eventually, in some X11
header file.
> Can I make for Mod2Mask = 0xffeb, for example? Or how can I make my own Mask?
You can hardcode the value of Mod2Mask if it isn't provided by
urxvt. These constants are just numbers, and portable. Mod2Mask is 16, not
0xffeb though. 0xffeb is Super_L, which is a key, not a modifier.
You'd have to set Super_L as a modifier (such as mod2), e.g. with xmodmap,
or possibly xkb.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode