VM-Fenster mit Android-x86 positionieren

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
Mr. Brooks
Posts: 14
Joined: 29. Sep 2017, 08:27

VM-Fenster mit Android-x86 positionieren

Post by Mr. Brooks »

Hallo,

ich starte eine VM mit Android-x86 und möchte es immer an der gleichen Stelle positionieren. Bisher hatte ich das ganze nicht mit Android in VBox sondern mit Genymotion gelöst. GM will aber zwingend eine Dauer-Verbindung zu deren Server haben, was leider manchmal nicht geht (Support wird verweigert, da nur Free Lizenz). Mit GM hatte ich das in einem Script gemacht, wo in einer Schleife mittels "wmctrl -l" die Fenster ausgelesen werden und wenn das GM-Fenster geladen wurde, konnte ich wieder mit wmctrl das Fenster positionieren.

Problem bei Android unter VBox: Zunächst startet ein Fenster wo drin steht "Press F1 for Boot Device", dann geht das Fenster zu und dann startet das "richtige" Fenster mit dem Android. Die beiden Fenster heißen gleich, weshalb das Script das erste Fenster positioniert. Ich hab das jetzt erstmal mit einem "sleep" nach dem Startbefehl gelöst.

Kann man vllt. direkt in VBox einstellen, an welcher Position das VM-Fenster gesetzt werden soll? Die Größe ist ja immer gleich.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VM-Fenster mit Android-x86 positionieren

Post by mpack »

Answering in English.

The short answer is no, VirtualBox does not to my knowledge allow you to control window size and position directly.

However, in my experience VirtualBox's default behaviour is already to always start a VM in the same place every time, i.e. it remembers and restores the size and position from the last run. This is with a Windows host, you neglected to mention what your host OS is.

Frankly, your Android experience in VirtualBox will be poor - it is not a supported guest OS. That doesn't mean it will not work, it only means that making it work well is not a priority for the Oracle devs.

If you want an alternative to GenyMotion then I'd suggest BlueStacks, who have a free version which I like a lot for running all kinds of Android apps on my PC. Ironically, BlueStacks is based on VirtualBox, but they provide their own custom features to make the experience far smoother.
Post Reply