LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2008, 10:08 AM   #1
moo-cow
Member
 
Registered: Mar 2006
Distribution: Debian
Posts: 105

Rep: Reputation: 26
X: cloned displays at different resolutions?


Hi all,

is there a way to run a (cloned) external display at another resolution than the internal one? I am trying to get this to work on an Asus EEE PC. I know how to add the details of a specific display in xorg.conf (like e.g. my TV set). But on my laptop I work with different external display models (= projectors at conferences) and I would need a generic solution that works for every display that I connect. My current status is that external displays are automatically detected, but when I set the resolution higher than the laptop can display, it shows only the upper left part of the desktop. Instead, it should stay at its low resolution while only the projector uses a higher one.

Any help is appreciated!

Here is my (very short) xorg.conf:

Code:
Section "ServerLayout"
	Identifier     "Xandros"
	Screen      0  "Screen1"
	InputDevice    "keyboard"
	InputDevice    "mouse"
	InputDevice    "synaptics"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
EndSection

Section "Module"
	Load  "glx"
	Load  "dri"
	Load  "extmod"
	Load  "synaptics"
EndSection

Section "ServerFlags"
	Option		"AllowMouseOpenFail"
	Option		"BlankTime" "5"
#	Option		"DontVTSwitch"	"true"
	Option		"AIGLX"   "false"
EndSection

Section "InputDevice"
	Identifier  "keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option      "XkbModel" "pc105"
	Option      "XkbLayout" "us"
	Option      "XkbVariant" "intl"
#	Option      "XkbVariant" "eeepc"
EndSection

Section "InputDevice"
	Identifier  "mouse"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "IMPS/2"
	Option	    "Emulate3Buttons" "yes"
	Option	    "ZAxisMapping" "4 5"
	Option	    "CorePointer"
EndSection

Section "InputDevice"
	Identifier  "synaptics"
	Driver      "synaptics"
	Option      "Device"           "/dev/psaux"
	Option      "Protocol"         "auto-dev"
	Option      "LeftEdge"         "1000"
	Option      "RightEdge"        "5400"
	Option      "TopEdge"          "1000"
	Option      "BottomEdge"       "4900"
	Option      "PalmDetect"       "0"
	Option      "SHMConfig"        "true"
	Option      "SendCoreEvents"   "yes"	
	Option      "HorizScrollDelta" "0"	
	Option      "RBCornerButton"   "0"
	Option      "RTCornerButton"   "0"
	Option      "MaxSpeed"         "0.1"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "ASUS"
	ModelName    "eeePC P701"
	Modeline     "800x480"  29.58  800 816 896 992  480 481 484 497  -HSync +Vsync # 60 Hz
EndSection

Section "Device"
	Identifier  "Device1"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Device1"
	Monitor    "Monitor1"
	DefaultDepth     16
	SubSection "Display"
		Depth     8
		Modes "800x480" "1280x1024"
#		Virtual  800 480
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes "800x480" "1280x1024"
#		Virtual  800 480
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "800x480" "1280x1024"
#		Virtual  800 480
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "800x480" "1280x1024"
#		Virtual  800 480
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Disable"
EndSection
(I have commented out the Virtual stuff because X nicely figures it out on its own.)

With best regards,
moo-cow
 
Old 04-27-2008, 10:19 AM   #2
moo-cow
Member
 
Registered: Mar 2006
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 26
Addition:

I am using xrandr to set the display resolution. The problem is that with

$ xrandr --output LVDS --mode 800x480 --output VGA --mode 1024x768

the higher resolution (1024x768) is used for the desktop, with the VGA display (projector) showing all of it and the LVDS display (laptop screen at 800x480) only being able to show the upper left corner, as I already wrote.
 
Old 04-27-2008, 11:50 AM   #3
ischi
Member
 
Registered: Apr 2008
Location: Tübingen
Distribution: Fedora 9 (Thinkpad T60), Debian 3.1 (Server)
Posts: 51

Rep: Reputation: 15
When using xrandr you can just add a info for it where to place the display , i dont own a eee pc (even though i want to buy one, its such a great device) i use xrandr all the time on my laptop and it should work the same:
Code:
xrandr --output VGA --auto --above LVDS
ofcourse you can insert --mode xxxxx also and ie --left-of or --right-of instead of --above.

MFG

Edit:
This is then
Code:
 xrandr --output VGA --mode 1024x768 --right-of LVDS

Last edited by ischi; 04-27-2008 at 11:52 AM.
 
Old 04-27-2008, 12:07 PM   #4
moo-cow
Member
 
Registered: Mar 2006
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 26
Thanks for your suggestion.

The problem with this solution is that the two displays are no longer clones of each other. However, I need both displays to show the same thing (which is basically a PDF reader showing my presentation) so that I can address the audience while occasionally peeking at the current slide on my laptop screen.

Is it perhaps somehow possible to combine left/right/above/below with cloning?
 
Old 04-28-2008, 02:51 AM   #5
ischi
Member
 
Registered: Apr 2008
Location: Tübingen
Distribution: Fedora 9 (Thinkpad T60), Debian 3.1 (Server)
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by moo-cow View Post
Thanks for your suggestion.

The problem with this solution is that the two displays are no longer clones of each other. However, I need both displays to show the same thing (which is basically a PDF reader showing my presentation) so that I can address the audience while occasionally peeking at the current slide on my laptop screen.

Is it perhaps somehow possible to combine left/right/above/below with cloning?
Ok sorry I didn't get the clonig part, well the Problem with cloning is that you can't clone to a different resolution. So a cloned 1024x768 will also be 1024x768, thats the nature of clone. I don't think there is a way to clone to different resolutions.
 
  


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
Dual monitors, separate X displays; want firefox in both displays bforbes Linux - Desktop 7 10-15-2008 09:26 PM
trying to cloned with gparted live CD tomrosenfeld Linux - General 1 02-13-2008 03:51 PM
Need a little expert help using multihead displays with different resolutions. Chewie71 Linux - Hardware 3 01-18-2006 07:56 PM
Virtual resolutions + Magnifier = Higher Resolutions? equinoxe5 Linux - Software 1 01-14-2006 07:01 AM
Setup cloned monitor hypoglycemic Linux - Hardware 3 08-05-2005 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 AM.

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