Randr support

Discussions about using Linux guests in VirtualBox.

Randr support

Postby pedlo » 3. May 2008, 11:22

I know this isn't a Vbox issue, but please help me because I'm stuck with Randr.
I updated my Linux Mandriva guests with Guest Additions 1.6.0, and now they rely on Randr for screen size.
Before I had custom xorg.conf files with custom resolutions.
How do I add custom resolutions to randr?
pedlo
 
Posts: 41
Joined: 26. Oct 2007, 17:56

Postby bmwiedemann » 10. May 2008, 21:42

have you seen
xrandr --help


I think it goes like this... first you create a mode-line
Code: Select all   Expand viewCollapse view
gtf 1024 768 60


then copy everything after "Modeline" after
xrandr --newmode
so that makes for the above example
Code: Select all   Expand viewCollapse view
xrandr --newmode "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
xrandr --addmode $output "1024x768_60.00"


where $output is what is shown at start of line in xrandr |grep connected

and maybe enable it so
xrandr --output $output --mode "1024x768_60.00"


wish you luck
I am who I am
bmwiedemann
 
Posts: 32
Joined: 23. Mar 2008, 06:41
Location: $HOME


Return to Linux Guests

Who is online

Users browsing this forum: Google [Bot] and 13 guests