<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 31, 2015 at 10:36 PM, Jakob Schöttl <span dir="ltr"><<a href="mailto:jschoett@gmail.com" target="_blank">jschoett@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 31.12.2015 15:25, Bogdan Sinitsyn wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
On Thursday, December 31, 2015 3:09:29 PM MSK Jakob Schöttl wrote:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Because there is no hardware keyboard I need a virtual keyboard. I tried<br>
these programs: xvkbd, matchbox-keyboard, onboard, florence<br>
<br>
Some of them work with some other programs. But when it works, it's<br>
still buggy:<br>
<br>
- after typing I have to click two times to a new input field to set focus<br>
- virtual keyboard steals focus<br>
- other windows get invisible and only come back when they get focus<br>
(super+j)<br>
- doesn't work at all with some programs<br>
<br>
Is there a way to get virtual keyboards work with Xmonad, reliably and<br>
for all programs?<br>
<br>
Thank you!<br>
<br>
Jakob<br>
<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote>
It this virtual keyboard _NET_WM_WINDOW_TYPE_DOCK or smth like this? If not,<br>
it may be useful to make it be of this type.<br>
</span></blockquote>
No, at least florence and onboard are not (xprop | grep DOCK).<br>
<br>
What is this property and how can I set it?</blockquote><div><br></div><div>You probably can't set it, at least early enough for it to matter.</div><a href="http://standards.freedesktop.org/wm-spec/latest/ar01s05.html#idm139870830002400">http://standards.freedesktop.org/wm-spec/latest/ar01s05.html#idm139870830002400</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">You could however look for other properties in xprop output (probably you wan WM_CLASS) and doIgnore it in the ManageHook so it won't take focus and will float.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Do the programs where it doesn't work under xmonad, work with it under another window manager? X11 actually makes this hard to do, for security reasons. xvkbd probably uses sendEvents, which some programs ignore as potential security issues (they are flagged by the X server as synthetic). If you enable the XTest extension and use a virtual keyboard that supports XTest, it will work reliably... but you've opened a bit of a security hole in the X server since now malicious programs can do things like injecting commands into a terminal with a root shell in it. (xmonad has no control whatsoever over this, it is the X server that controls it.)</div><div class="gmail_quote"><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>