Solved

custom resolution for LCD in xorg.conf

Posted on 2007-04-02
2
4,073 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
2 Comments
 
LVL 1

Accepted Solution

by:
justcureious earned 500 total points
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now