Thank you all for the suggestions! Apologies for the late response, got a little busy with life and forgot about this "project". I am not familiar with xkbcomp, but that sounds like a promising approach (and an interesting program to add to the tool belt). I'll check it out.
Thanks again! Alex On 24/04/12 04:01PM, Tycho Andersen wrote: > On Fri, Apr 12, 2024 at 11:35:46PM +0200, 'Kai Stian Olstad' via qtile-dev > wrote: > > On 12.04.2024 22:56, Alex Becker wrote: > > > Here's what I have in my config. I have tried both with and without > > > shell=True, but it does not seem to want to write the output of xdotool > > > to > > > whatever window I have highlighted. Any ideas? > > > > > > Key(["control", "shift"], "j", lazy.spawn("xdotool key 4")), > > > > xdotool is sending key 4 while you still have control, shift and j pressed. > > If you use "xdotool sleep 0.2 key 4" it will work if you let go of control, > > shift and j before 0.2 second have elapsed. > > But this is not practical solution if you are going to press several num pad > > key consecutive. > > Oh, duh. Great point. Another option would be to compile your own > layout via xkbcomp. I have an example where I remap capslock here: > > https://github.com/qtile/qtile-examples/blob/master/tych0/xkb/symbols/tycho > > you could maybe do a similar hack and load it in your ~/.xsession like > I do. > > Tycho > > -- > You received this message because you are subscribed to a topic in the Google > Groups "qtile-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/qtile-dev/f3EhN0Wr0NA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > qtile-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qtile-dev/ZhmvL5ao6hWqtVzQ%40tycho.pizza. -- 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 qtile-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/ysop4n47xutlfxda6p7zxqdra2wwl552scoc3recerjid5o2m7%40rd2iudz6i4mj.