For the last month, I’ve been teaching myself vim. So here’s an explanation for anyone interested in the commands I used for this post.
vim: find, comment, save and quit
GDM Login Screen Resolution Too Big
If you’ve noticed that the login screen for Ubuntu Gutsy (GDM) is too big, and that you can use the mouse to move the screen around, you’ll need to update your xorg.conf file.
sudo gvim /etc/X11/xorg.conf
When gVim opens, type in the following:
/Virtual
Then hit enter. That’ll search the file for the line that we need to comment out. When it’s found, hit i on the keyboard to enter the Insert mode of gVim. Now prepend a # before the Virtual keyword to comment out the entire line.
Hit escape on the keyboard, then type in :wq to save and quit.
Next time you have the login screen in front of you, it should be using the correct screen resolution.