Yesterday I was installing Ubuntu 10.4 for my new project and everything went smoothly until it finished installing and I logged in. My screen resolutions was terrible, so I went to System->Preferences->Monitors and the first thing i saw was:
When I clicked on “Detect Monitosr”, nothing happened.
It’s a new computer given to me so I didn’t know what Video Card was on. So my question was:
How to find out in Ubuntu what Video Card is used ?
I knew that there is a command lscpi that gives the list of all devices installed. Because I needed to know only information about Video Card I used grep to pick only the lines I needed.
lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation Device 06c4 (rev a3)
I realized that if it is nVidia there should be Drivers to Install.
So my second question was:
How to install nVidia drivers in Ubuntu ?
So I went to System -> Administration -> Hardware Drivers
There was one driver waiting for me to Install:
When I installed the driver I went to Monitors Again and it showed me the message box :
Before it let me to go to the nvidia-settings, it kindly asked me to run nvidia-xconfig as root and restart X server.
How to run nvidia-xconfig?
So I opened Terminal again and typed:
Nothing was shown to me so i assumed that everything went well.
So I got to one more problem:
How to restart X server in Ubuntu?
When I “googled” how to restart X server, people were writting to use key combinations like CNTRL+ALT+BACKSPACE – it doesn’t work for me. So what I decided to do is to look at the Keyboard layout. And “BOOM” here it is -> System -> Preferences – > Keyboard -> Layouts -> Options
I checked the box and used CNTR+ALT+BACKSPACE. Than I logged in again to nVidia and the driver’s screen was much more descriptive than it was before:
I asked myself:
How to detect dual monitors in Ubuntu ?
I clicked on “X Server Display Configuration” –> Detect Displays and it detected me two displays. I selected Auto Resolutions on both. There were also a select box on how I wanted them to work, I chose TwinView.
and in the end here is what I’ve got: