Updated: 12-Feb-2014
I want a huge 1080P monitor for my notebook. That was the motivation that started me on the quest to find a way to make my 14” HP notebook, running Linux Mint, display it’s minty goodness on a high resolution, high definition television in my home office.
After repainting and rearranging my home office, I had the brilliant idea to occupy that empty wall across the room with a high definition television. I thought, “Nothing massive. A 40- or 42-inch model will do.” Retroactively justifying my decision, I told myself that I would be able use it to watch television, try out new devices with HDMI inputs and use it as a 1080P monitor for my computer. It would make me more productive, I thought. I could have show notes for the podcast and the Audacity audio editing program on either side of the screen, and still see each at almost the full resolution of my small 14” laptop screen. Realizing that, until Linux had better support for HDMI, I might need to connect to the new HDTV using a VGA cable. I searched high and low to find an HDTV with a VGA input. And I found one! It was an inexpensive off-brand model with both HDMI and VGA inputs. This bargain model did not have the best specs for use as a television, but my intended main use was as a monitor, so I made the purchase. I also bought an extra-long VGA cable and an extra-long HDMI cable so that I could make the connections on both sides of the office without having to stretch the cables across the center of the room.
With the HDTV tested for out-of-box failure and then mounted securely to the wall, I was ready to fiddle with the connections as a monitor. I had already verified that the cables would reach and that each was capable of producing an image on the television. With Linux Mint 15, the HDMI connection, as expected, did not perform all that well. So I turned my attention to the VGA connection.
Without any setup other than to connect one end of the VGA cable to the computer and the other to the television, I was able to produce only a 4:3 image on the television at a disturbingly low resolution of 1024x768. Now all that remained was to get the computer to take advantage of the increased screen real estate available on an HDMI display.
With the help of a couple of forum and blog posts (isn’t open source support wonderful?) I was able to make my computer’s VGA port output in full 16:9, 1920x1080 resolution. Here’s how I did it.
Next, opening the standard Display settings in Linux Mint, I selected the VGA display and was able to set the resolution to 1920x180 and the HDTV was now functioning as a high resolution monitor. Success!
Since I used the xrandr command to make the new resolution available, I knew that I would have to execute that command again if I ever rebooted the computer. I chose to do this automatically at startup with a script. There are a number of ways to make the new resolution available at startup that don’t involve a script. Some are described in the forum and blog posts. I chose to write a shell script that runs xrandr when my computer starts that applies the missing resolution. I also added 3 more resolutions that I find handy. Here is that final script. I made it executable and placed it in a folder called “bin” in my home folder and added the script as a startup program.
#!/bin/shToday, I am running Linux Mint 16 on that same screen, and Linux support for HDMI has improved to the point that using an HDMI cable functions perfectly. Somehow though, I prefer the slightly fuzzy, warm feeling that the analog VGA display provides to the crisp, pixel perfect screen afforded by that digital cable. VGA at 1920x1080 is perfect for me.
References:
https://wiki.ubuntu.com/X/Config/Resolution/#How_to_setup_a_dual_monitor
http://www.keleko.com/2012/fix-wrong-resolution-at-mdm-lightdm-login-screen-in-linux-mint-ubuntu/
Theme music for the Going Linux podcast is generously provided by Mark Blasco. https://www.podcastthemes.com
Going Linux Podcast by Larry Bushey is licensed under a Creative Commons Attribution 4.0 International License.