[xmonad] Ratpoison key emulation

Gwern Branwen gwern0 at gmail.com
Fri Sep 12 22:56:47 EDT 2008


On 2008.07.13 17:26:55 +0200, Jérémy Bobbio <lunar at debian.org> scribbled 1.6K characters:
> On Sat, Jul 12, 2008 at 12:34:18AM -0400, Gwern Branwen wrote:
> > Thanks for the code, Jeremy; I've long wanted a function to send keys
> > to windows. I was thinking of adding it to XSelection, but what limits
> > does this function have, do you know? X is often difficult to deal
> > with. Does it handle odd characters?
>
> I use it to send "xK_3" with "mod1Mask .|. controlMask" to an urxvt.
> This shortcut is bound to changing the terminal font size.
>
> I don't know how odd it is in your definition, but for me, it does the
> trick! :)
>
> Cheers,
> --
> Jérémy Bobbio                        .''`.

Oh. Hmm, it still sounds useful. Incidentally, how exactly does one use it? I gave it a desultorily try, but I was unsure how exactly one gets the Window argument - I tried using withWindowSet, but got bogged down extracting the Window parameter from it.

--
gwern
NSOF Tess 2E781 B28RE Consul 03 e95 Compsec hate Banner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080912/740f631f/attachment.bin


More information about the xmonad mailing list