One of my computer setups at home is my Acer netbook that I’m running through a VGA cable to a 19″ LCD TV. The problem I had with that and Linux is that most Linux distros won’t display natively at the required 1366×768 resolution.
I was running Zorin OS Core on the netbook and configured the correct resolution by using xrandr and then editing the /etc/gdm/Init/ file. However, Zorin Core was too much for the pitiful netbook and it was running slow. Since the new *buntus had recently been released I decided to give Xubuntu 12.04 a try.
Before I even considered changing the resolution I gave it a test run. The netbook still choked on it. So I decided to give Lubuntu a try wit its LXDE desktop and it hummed along with no problem. Now it was time to change the screen resolution except there was one problem. Since the 11.10 releases none of the *buntus had /etc/gdm/Init/ anymore.
I was able to set it at 1024×768 and then used the zoom feature on my TV. It was serviceable but looked a little weird. I thought all was lost until a man came to my rescue. I posted my plight on my Google+ account and I received the answer from a man named Dean Wallace (slightly NSFW). He directed me to this link which gave me the solution. But again I hit a snag.
That link says that you need to modify .xprofile in your home folder to make the changes consistent. The problem is Lubuntu has no .xprofile in its home folder. However, it does have just plain old .profile. I pasted the necessary code into profile saved it and voila, 1366×768. Well actually it maxed out at 1280×768 but I’ll take it.
I hope this will help someone avoiding the tortuous journey of getting to the proper resolution that I took.