Run Script on Linux Host from Windows Guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Scapulomancy
Posts: 17
Joined: 21. Aug 2018, 23:29

Run Script on Linux Host from Windows Guest

Post by Scapulomancy »

I have an Ubuntu 22.04 host running a Windows 10 guest. While working in the guest, I would like hit a single keyboard shortcut to run a bash script on the host while keeping the guest in focus. Is this possible? If not, is there a way to create a keyboard shortcut that will break out of the guest (commonly done with the right "ctrl" key) and then run a script on the host?
Scapulomancy
Posts: 17
Joined: 21. Aug 2018, 23:29

[SOLVED] Run Script on Linux Host from Windows Guest

Post by Scapulomancy »

Problem solved! See https://www.reddit.com/r/virtualbox/com ... rom_guest/. It turns out all I had to do was disable Auto Keyboard Capture, and the key combination (or rather, the foot pedal) I wanted to use on the host is no longer captured by the guest when the guest is in focus.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Run Script on Linux Host from Windows Guest

Post by mpack »

Please do not reference external "authorities". We do not recognize or check the validity of any such source.
Post Reply