# Keyboard shortcuts don't work with virtualbox under Wayland

**URL:** <https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149>\
**Category:** Applications\
**Created:** [February 15, 2022, 12:48pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149 "2022-02-15T12:48:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![archbtw](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@archbtw](https://forum.endeavouros.com/u/archbtw)\
**Post date:** [February 15, 2022, 12:48pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/1 "2022-02-15T12:48:01Z")

</div>

They do work in X11 but not in Wayland. Same results with every linux distro tried. Not a eos related issue in anyway as same happened in manjaro host. any suggestions ?

---

<div class="post-metadata">

**Author:** ![MrToddarama](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mrtoddarama/32/55460_2.png) [@MrToddarama](https://forum.endeavouros.com/u/MrToddarama)\
**Post date:** [February 15, 2022, 1:17pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/2 "2022-02-15T13:17:40Z")

</div>

Looks like a known thing related to how the Wayland compositor handles keyboard/mouse input. You can read some details about it in this VBox ticket: [https://www.virtualbox.org/ticket/19105](https://www.virtualbox.org/ticket/19105)

The ticket is two years old and hasn’t seen any updates, but it also points to a few links where apparently Gnome/Gnome Boxes has been able to overcome the issue and handle these inputs.

Finally, FWIW, I use Gnome/Wayland with libvirt/virt-manager and don’t think I have run into any shortcut issues for guest OSes (maybe I am just not using shortcuts).

---

<div class="post-metadata">

**Author:** ![archbtw](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@archbtw](https://forum.endeavouros.com/u/archbtw)\
**Post date:** [February 15, 2022, 1:19pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/3 "2022-02-15T13:19:11Z")

</div>

Thanks. I will give virt-manager a try then.

---

<div class="post-metadata">

**Author:** ![MrToddarama](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mrtoddarama/32/55460_2.png) [@MrToddarama](https://forum.endeavouros.com/u/MrToddarama)\
**Post date:** [February 15, 2022, 1:23pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/4 "2022-02-15T13:23:59Z")

</div>

I found this helpful when I was setting up virt-manager…  
[https://discovery.endeavouros.com/applications/how-to-install-virt-manager-complete-edition/2021/09/](https://discovery.endeavouros.com/applications/how-to-install-virt-manager-complete-edition/2021/09/)

---

<div class="post-metadata">

**Author:** ![archbtw](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@archbtw](https://forum.endeavouros.com/u/archbtw)\
**Post date:** [February 23, 2022, 3:20pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/5 "2022-02-23T15:20:13Z")

</div>

Thanks a lot @MrToddarama. I have setup virt-manager today and it feels good. Only one problem that how can I auto resize the display. There is a options in scale but it is greyed out. I can create a new topic if you suggest.

---

<div class="post-metadata">

**Author:** ![MrToddarama](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mrtoddarama/32/55460_2.png) [@MrToddarama](https://forum.endeavouros.com/u/MrToddarama)\
**Post date:** [February 23, 2022, 3:34pm UTC](https://forum.endeavouros.com/t/keyboard-shortcuts-dont-work-with-virtualbox-under-wayland/24149/6 "2022-02-23T15:34:32Z")

</div>

Sorry for an answer that is sort of a non-answer. Hopefully it doesn’t come across as “read the fine manual” 😀

Some web searches on libvirt guest resizing will point you in the right direction. Here is one link with a discussion you might want to read through: [Virt Manager Guest Resize not Working](https://stackoverflow.com/questions/41990600/virt-manager-guest-resize-not-working)

There is a lot of generally good libvirt info available from RedHat here : [RedHat Virtualization Tuning and Optimization Guide](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html-single/virtualization_tuning_and_optimization_guide/index)

Finally, you will want to look into some of the documentation on Spice agents: [Spice Page](https://www.linux-kvm.org/page/SPICE)
