In virtual box, how can I change the screen resolution from the command line? (Or if there's one for any type of computer, that might work too).
feedback
|
|
If you wish to change it from within the guest: In Windows: there are a couple tools that allow you to do this easily from the command line, notably Display Changer. In Linux: Use | |||
feedback
|
|
You can quickly "hint" the window to a specific size with the following command:
For example, if you have a guest called "Windows XP Pro", and you wish to set the resolution to 1024x600 at 32 bits per pixel (aka 32 bit) you would use the following command:
There are some prerequisites for this however:
Hope this helps ;) Jason Gaunt | |||
feedback
|
|
Look inside the documentation provided with VirtualBox. The VBoxManage program gives you the ability to modify VMs from the command line. You can't do this while the machine is running, however. To do that you'll need to find a way to script the resolution change for the operating system you are virtualizing. | |||
feedback
|
|
$ VBoxManage setextradata "WinXP" "CustomVideoMode1" "1440x900x16"
| |||
|
feedback
|