On Wed, Dec 17, 2014 at 4:30 PM, Tycho Andersen <[email protected]> wrote: >> > Key([mod], "c", lazy.fake_keypress("X86Copy")), >> > Key([mod], "v", lazy.fake_keypress("X86Paste")), > > These should be XF86Copy, instead of X86Copy; did you copy and paste > my error perhaps?
It was originally a typo of mine but when checking xkeysyms.py I saw it was XF86* >> So I wonder if it's possible to make this fake_keypress() function to >> actually simulate multiple keystrokes like Ctrl+C, Ctrl+P > > I think so, you'll just have to set the right state bits in the event > you send to qtile. I can post a patch for that if you want. I see the usage of the state bits in handle_KeyPress but I must admit that I don't know the values to use for Control modifier. Where can I see that ? > No problem, it seems like a reasonable thing to want to do, so I don't > have any issue with building better support for it. IIRC, some window manager allows one to configure the keystrokes for some "common" shortcuts such as Ctrl+Tab for tab navigation. Personally I prefer Win+Alt+<left|right> instead of Ctrl+Tab, Ctrl+Shift+Tab. Being able to configure this in Qtile is really a relief for me :-) -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
