Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

custom resolution for LCD in xorg.conf

Posted on 2007-04-02
2
Medium Priority
?
4,093 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 2000 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

721 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