Linux Format logo

Xorg.conf Hacking

Well, after far too long, I'm going to try and get back into this blogging lark. I used to like they way our blog was a tiny portal into our world, and I'm going to try and make more of a commitment to it. I'm going to attempt a post every Monday morning, because I think I need that kind of stimulus. And this way, I can write something while I quickly drink a few cups of terrible coffee from the terrible coffee machine in our office (but yes, at least we don't have to pay for it).

This week I want to share a configuration file that I've used for years and other people might find useful. My Linux setup at home, currently running Fedora, uses two cheap LCD screens from Hanns-G. The model name is HW191D, and while the image quality is fine, they're a complete pain to get running in tandem using the DVI connectors. It isn't inux to blame either, I've had the same problem getting them to work with OS X and Windows XP, and gave up with the over-protective Windows 7. The problem seems to be that the EDID data provided by the screens, when connected digitally, is inaccurate, giving the OS the false impression that they're only capable of 1024x768 when they're much happier at a native 1440x900.

This solution is only going to work for people using Nvidia's proprietary graphics drivers, but I was able to get around the problem by injecting a working EDID file into the old xorg.conf file, and manually creating Monitor entries, as well as creating a TwinViewXinerama display so that both screens could be used side-by-side. This has worked for Ubuntu, Mandriva, OpenSUSE and Fedora, as they've each been installed on my machine. But you'll probably still need to change things like the mouse and keyboard configuration to suite your own hardware.

Here's the xorg.conf file: xorg.conf (just place it in /etc/X11).
and here's the EDID binary: edid.bin (which I've placed in /root).

Next week, I'll reveal my working multi-touch configuration for the Samsung NC10's touchpad :)


Your comments

Touchpad, eh?

I wonder just how common that touchpad is across other models?

exactamundo

damn straight man
free coffee is still coffee!!
(no matter how much you think it is really dog shit in disguise)
just got the first copy of LXF yesterday when my dad (who is becoming more and more aware of my obsession with *nix-based OSs that he picked it up off the shelf) and I must say bravo...i love it.
especially the free Distros- meaning I don't need to spend 8 hours depressed because my countryside broadband "UP TO 8MB/s" only goes at 20kb/s (yes I realise that dialup would be faster, but you haven't lived in the scottish countryside...so you don't understand *wails*)
i had also never tried my hand at virtual machinery...
what with that message on my medicine bottle("do not drive/operate machinery") and all that.
so keep it up, and you'll continue to receive my money >_<

Mmm, multi-screens

I'm pretty sure I don't have that monitor in my old but (mostly) functional collection, but the model no sounds familiar. Either way, thanks for the post - multi-monitor setups are a dark but interesting art.

@darksider - I live in the Scottish countryside, and feel your pain. Look on the bright side, though: dialup is not really faster unless you count how easy it is to switch providers when one goes down. :op
Still, LXF provides a pretty good broadbucket service.



Web hosting by UKFast