Monday, October 1, 2012

VBox Screen Resolution Blues

VirtualBox is nice but often it can be a pain, especially when it comes to getting the Guest-addition installed, using a shared folder, or establishing a host-guest network. Although, to be fair, the latter is my gripe with Backtrack R3. In this case, after installing guest additions the virtual display would only display in 4:3 resolutions. I typically work from my Mac air and the scale mode was an eyesore, so I convinced my BT5R3 instance that 16:10 is real and it should listen. Below is the bash script that runs on startup.


#!/bin/bash
xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
xrandr --addmode VBOX0 1440x900_60.00
xrandr --output VBOX0 --mode 1440x900_60.00

Credit goes to nidlatube.

No comments:

Post a Comment