Solved

custom resolution for LCD in xorg.conf

Posted on 2007-04-02
2
4,089 Views
Last Modified: 2013-12-15
I have a Samsung LN-S2641D LCD TV 26". I'm trying to configure it with CentOS, but I'm having issues. First off the system-config-display application doesn't list this device, obviously because it's new, so I'm attempting to choose generic LCD, but it doesn't have one listed with the TVs native resolution: 1360x768.

So I decide to go into /etc/X11/xorg.conf directly. But I see there is one parameter called "DisplaySize", and I have determined it's calculated by using the dotpitch of the screen multiplied by the native resolution.

Well, I've checked the specs of this thing, and the web, but I am unable to determine the dotpitch (DPI?).

Are there any utilities that will probe the LCD to determine that stuff?

Linux CentOS 4.4
0
Comment
Question by:MaritimeSource
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
justcureious earned 500 total points
ID: 18856524
If I get it correctly, you want to add the resolution 1360x768 to your xorg.conf file right?

So I would suggest you do this from a console/terminal:
1. backup your original xorg.conf file before you tamper with it, by doing
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
2. edit xorg.conf using nano editor (NOTE: use any editor you're more familiar with instead if you like)
sudo nano /etc/X11/xorg.conf
navigate to the section "Screen", and go to subsection "Display" with the depth you're going to be using (if you're not sure just do it for every subsection) and add "1360x768_refreshrate" (including quotes) where refreshrate is the refresh rate of your TV. That's all you need to find out, I don't think you'll be needing the DPI of it..
(NOTE 2: ctrl-O saves the file and ctrl-X exits nano editor)
3. restart the X-server by hitting Ctrl-Alt-Backspace if you're already operating in GUI mode
OR from the console/terminal type
sudo /etc/init.d/gdm restart (for GNOME desktop environment)
OR
sudo /etc/init.d/kdm restart (for KDE desktop environment)
If all went well, you should now be able to select that resolution from the list of available ones
4. if something went wrong and the X-server crashes into a blue screen with an informational message, DON'T PANIC!!!
just log into a console (hit alt-F1) and do
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
and everything will revert to the way it was before you made any changes!!

Let me know if it helped
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question