Friday, February 22, 2008

Increasing the screen resolution of Ubuntu-7.10 on VirtualBox

Oops...finally i managed to configure my ubuntu screen resolution to the fullest.

I have a Dell Vostro 1400 laptop with Windows xp professional. Ubuntu runs on my machine on top of VirtualBox.

But I never enjoyed working with ubuntu, since all i was able to view the ubuntu desktop at the resolution "800x600" only.

After searching through the web, I finally managed to get the full resolution supported by my notebook. (1280x800).

These are steps i followed:

- installed the virtual machine add-ons provided by VirtualBox
- opened the /etc/X11/xorg.conf file and added the the resolutions "1280x800" and "1024x768" under the "Screen" section...

So here is how my xorg.conf file looks now...

----------------------------------------------------------------------------------------------
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vboxvideo"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x800" "1024x768" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

-------------------------------------------------------------------------------------------
And the only change i made was here:

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x800" "1024x768" "800x600"
EndSubSection
EndSection

I just added "1280x800" "1024x768" under the SubSection "Display".

Fortunately this worked for me.

(Note: I actually got this information from a VirtualBox forum thread and I sincerely thank the guy who provided this information. Thank you very much really)

Whatmore, if you choose the "Full screen mode" in VirtualBox, you get a feeling of just running ubuntu...

Ya, now i feel, i can slowly leave behind windows xp behind me...

10 comments:

yonkul said...

www.turksohbetim.net

Anonymous said...

Worked perfect for me. Thanks.

Anonymous said...

Unfortunately I'm not so lucky - this only works up to 1280x800 - I wanted 2560x1600 :(

Anonymous said...

Can anyone recommend the well-priced Network Monitoring system for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central remote windows login
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

Easily I agree but I think the list inform should secure more info then it has.

Anonymous said...

The only real difference i can think of would be a video camera and maybe more memory. If you jailbreak an iphone dont you get viceo anyway? So other than the camera there isnt much improvement they can make is there?
[url=http://forexrobot-review.info]best forex software[/url] [url=http://bucovina.trei.ro/viewtopic.php?p=128458#128458]unlock iphone[/url]

Anonymous said...

Bonjour I'd love to congratulate you for such a great quality site!
Just thought this is a perfect way to make my first post!

Sincerely,
Johnie Maverick
if you're ever bored check out my site!
[url=http://www.partyopedia.com/articles/snoopy-party-supplies.html]snoopy Party Supplies[/url].

Anonymous said...

I inclination not approve on it. I regard as precise post. Particularly the appellation attracted me to review the unscathed story.

Anonymous said...

Good afternoon

We do not agree with this year BRITs 2010 decision.

Please attend our little web poll

http://micropoll.com/t/KDqOnZBCWt

Lady Gaga can not be better than ?????

Poll supported by BRIT awards 2010 sponsor femmestyle
[url=http://www.femmestyle.ch/nosecorrection.html]nasenkorrektur[/url]

Do you have a burning question we could ask all the stars at The BRIT Awards?

Anonymous said...

function pedigree weigh
[url=http://vimeo.com/user4498961]cheap budget hotels
[/url]where to arrest
b & b sale-priced
expensive lodging booking websites
[url=http://www.earthday.org/users/48490]hotel weddings
[/url]deals on hotels
two-bit san diego hotels
proper tourist house deals
[url=http://www.fairview.org/cty/members/klemot/default.aspx]1 2 price hotels
[/url]hud covering apartments
economical b&b
best deals
[url=http://www.youthcabinet.org/profile/Josh]classic street hotel
[/url]gta hotels
limerick housing
rooms
[url=http://www.beautyresearch.com/blogs/alexa/archive/2010/08/15/hotels-and-accomodations.aspx]hotel country house
[/url]jet hotel
hotels deals
trained clubbable hotels
[url=http://www.mazdacommunity.com/profiles/blogs/special-hotel-offers-or]cheap sydney hotels
[/url]lessen booking
tinpot hotel booking
lodging discounts