# AsyncKeyDown on linux not working?

**URL:** <https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182>\
**Category:** Linux\
**Created:** [August 5, 2025, 1:42am UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182 "2025-08-05T01:42:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Cunha](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_cunha/32/1221_2.png) [@Alexandre\_Cunha](https://forum.xojo.com/u/Alexandre_Cunha)\
**Post date:** [August 5, 2025, 1:42am UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/1 "2025-08-05T01:42:47Z")

</div>

hello!

I have this simple test, that works on Mac and windows, but not on linux…

why?

[AsyncKeyDown on linux.xojo\_binary\_project.zip](https://forum.xojo.com/uploads/short-url/xwCplGYzimHTZ2TY08CUd3vFNST.zip) (4.7 KB)

---

<div class="post-metadata">

**Author:** ![Thomas\_Kaltschmidt](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/f0a364/32.png) [@Thomas\_Kaltschmidt](https://forum.xojo.com/u/Thomas_Kaltschmidt)\
**Post date:** [August 5, 2025, 6:02am UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/2 "2025-08-05T06:02:37Z")

</div>

Your project does work for me on Ubuntu Linux (Xorg, not Wayland) in Xojo 2025r2.1. On a real PC (no VM).

---

<div class="post-metadata">

**Author:** ![Arnaud\_N](https://forum.xojo.com/user_avatar/forum.xojo.com/arnaud_n/32/21824_2.png) [@Arnaud\_N](https://forum.xojo.com/u/Arnaud_N)\
**Post date:** [August 5, 2025, 7:33am UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/3 "2025-08-05T07:33:55Z")

</div>

> [@Thomas\_Kaltschmidt](#):
>
> On a real PC (no VM).

And that’s a key point. It has recently been seen (in this forum) that AsyncKeyDown doesn’t work properly when running in a virtual machine.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Cunha](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_cunha/32/1221_2.png) [@Alexandre\_Cunha](https://forum.xojo.com/u/Alexandre_Cunha)\
**Post date:** [August 5, 2025, 1:11pm UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/4 "2025-08-05T13:11:03Z")

</div>

ok. i’ll need to install a pc to try.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [August 5, 2025, 1:13pm UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/5 "2025-08-05T13:13:56Z")

</div>

> [@Arnaud\_N](#):
>
> recently been seen (in this forum) that AsyncKeyDown doesn’t work properly when running in a virtual machine.

Only if such VM was not properly configured.

---

<div class="post-metadata">

**Author:** ![Arnaud\_N](https://forum.xojo.com/user_avatar/forum.xojo.com/arnaud_n/32/21824_2.png) [@Arnaud\_N](https://forum.xojo.com/u/Arnaud_N)\
**Post date:** [August 19, 2025, 7:19am UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/6 "2025-08-19T07:19:48Z")

</div>

For what it’s worth, I’m currently facing the same issue on a Linux computer (not a VM). Keyboard.AsyncKeyDown just never reacts, for any key. So, it really looks like AsyncKeyDown is broken on some Linux versions (Fedora is the one I’m currently trying on).

---

<div class="post-metadata">

**Author:** ![Alexandre\_Cunha](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_cunha/32/1221_2.png) [@Alexandre\_Cunha](https://forum.xojo.com/u/Alexandre_Cunha)\
**Post date:** [August 19, 2025, 2:14pm UTC](https://forum.xojo.com/t/asynckeydown-on-linux-not-working/86182/7 "2025-08-19T14:14:13Z")

</div>

i said: i’m not crazy… rsrsrs

[https://tracker.xojo.com/xojoinc/xojo/-/issues/79750](https://tracker.xojo.com/xojoinc/xojo/-/issues/79750)
