LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2013, 05:44 AM   #1
leniviy
Member
 
Registered: Jul 2009
Distribution: Archlinux
Posts: 69

Rep: Reputation: 4
Matching display in xorg.conf by its model or by graphics adapter


Hi. I have a dual boot system: Archlinux and Windows from which I boot the same Arch in Virtualbox.

I have 2 displays:
- 1440x768
samsung syncmaster 920nw
pc---dvi port---dvi/vga adapter---vga cable---vga port---display

- 1920x1080
samsung s24c350bl
pc---hdmi port---hdmi/dvi cable---dvi port---dispaly

Arch fails to recognize the right resolution 1440x768 and allows only 1024x768.
I'm following this post https://bbs.archlinux.org/viewtopic....803924#p803924
I've obtained the modeline config for it:
Code:
"1440x900" 106.670 1440 1520 1672 1904 900 901 904 932 -hsync -vsync
and added it to /etc/X11/xorg.conf.d/10-monitor.conf :
Code:
Section "Monitor"
    Identifier          "Monitor0"
    ModelName           "SyncMaster 920NW"
    VendorName          "Samsung"
    ModeLine            "1440x900" 106.670 1440 1520 1672 1904 900 901 904 932 -hsync -vsync
EndSection


Section "Screen"
    Identifier          "Screen0"
    Monitor             "Monitor0"
    SubSection "Display"
    EndSubSection
EndSection
For the big virtual screen I also have:
Code:
~/.config/autostart/multihead.desktop:
Exec=xrandr --output VGA1 --auto --output HDMI2 --auto --right-of VGA1
This all works. Now the question: how do I make an entry in xorg.conf match syncmaster 920nw when I boot physically, but not match the virtual display when I boot from Virtualbox?
In both cases they will be "Monitor0".

Last edited by leniviy; 10-18-2013 at 05:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xorg.conf for Intel HD Graphics? turboscrew Linux - Hardware 6 03-24-2013 02:55 PM
xorg.conf multiple graphics cards abourke Linux - Newbie 1 07-24-2011 07:51 PM
xorg.conf::Graphics card and Xorg related issue miguelg Linux - Newbie 1 03-31-2010 03:17 PM
modify xorg.conf for graphics card allelopath Linux - Software 2 05-05-2006 08:13 AM
xorg.conf wanted for Intel 915GM display adapter on Dell D610 running on Fedora 3 syseeker Linux - Software 11 04-27-2006 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration