EDIT: These instructions are for Ubuntu version 5 and lower! If you are installing Ubuntu 6 and higher, you only need to run a single command:
sudo apt-get install 915resolution
Well, I’ve gone back to Linux and of course it wasn’t pretty. Driver support just will NEVER be as fast as it is for Windows. Sorry but it is true. So, I spent sometime trying not to give up and switch back to Windows.
At first I thought it was my fonts. If you installed linux from 1990-2002 it was always the fonts. I spent sometime installing cleartypes, true types, fixed width, etc. No luck.
Then I noticed that I had this monster f-ing headache and started looking at my display. Everything was blurry and stretched. The icons should have been squares or circles but were rectangles and ovals. I then googled for wide screen laptop and Ubuntu and had to piece through so much crap to figure it out. Plus, nothing I found gave me the trick to getting it all to work, which I finally figured out. Here’s my step by step:
- Download 855resolution from http://perso.wanadoo.fr/apoirier/. I think this is also in the universe section of apt.
- Ensure you have all the gcc, libgcc, g++, libg++, and dev packages installed. I could step through this, but I won’t because just install ALL of them. Anything that has gcc or cpp or g++ in the name, install it. You’ll save yourself headaches in the future. This includes all -dev packages as well. (Since this is ubuntu, use apt-cache search and apt-get install).
- Make and install this as root using the directions from the README.txt in the tarball. Don’t worry about all the other crap, just the Installing section.
- Next, I did this the hard way, but you might be able to hack up /etc/init.d/rc or find a chkconfig that works for Ubuntu. I ran out of steam and gave up at this point. Make a script in /etc/init.d that runs the 855resolution executable with the parameters you need to install your resolution to the graphics BIOS. There are a lot of good resources online about how to do this, but essentially you run 855resolution -l and then pick a resolution you will never use and replace it with your real resolution. The Dell 700m has a standard resolution of 1280×800. My script looks like this:
- I then added this to my runlevels in /etc/rc[2-5].d as a symlink named S10855resolution. This is the trick! You have to name this using S10 or something lower like S08 in order for it to be run prior to the Ubuntu GDM init script. Since Ubuntu uses a graphical display during startup, it starts GDM pretty early. You need to start 855resolution prior to GDM starting.
- If you want to further tweak your display settings. Follow the next steps. Otherwise, reboot and you should have a nice looking Ubuntu Linux install on a wide-screen laptop.
- Download this little helper: http://gtf.sourceforge.net/. The website gives compile directions.
- Run gtf to get your modeline for your exact video card.
- Copy whatever gtf outputs to your /etc/X11/xorg.conf file in the “monitor” section. There should be an existing modeline for your display. You can comment that one out and put in this new one.
#! /bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin PROG=/usr/sbin/855resolution NAME=855resolution DESC=855resolution test -x $DAEMON || exit 0 set -e case "$1" in start) echo -n "Starting $DESC: " $PROG 7d 1280 800 echo "$NAME." ;; stop) #echo -n "Stopping $DESC: " #echo "$NAME." ;; restart|force-reload) #echo -n "Stopping $DESC: " #echo "$NAME." echo -n "Starting $DESC: " $PROG 7d 1280 800 echo "$NAME." ;; *) N=/etc/init.d/$NAME # echo "Usage: $N start" >&2 echo "Usage: $N start" >&2 exit 1 ;; esac exit 0
Hopefully I didn’t miss anything. If you have issues, leave me comments and I can update this post.