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
Solved

custom resolution for LCD in xorg.conf

Posted on 2007-04-02
2
4,082 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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.

828 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