LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-22-2010, 01:47 PM   #1
searchingfortao
LQ Newbie
 
Registered: May 2009
Location: Vancouver, Canada
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
xrandr doesn't do what I expect. Instead I get BadMatch


I'm just getting the hang of xrandr, so it's likely that I've missed something, but I have no idea what it is.

Here's my setup: Two monitors, one Thinkpad x41 laptop running at 1024x768, and another monitor running 1440x900 to the right of the laptop. Based on everything I've found online, one of the following should do let me spread a single desktop across the two monitors:


Code:
xrandr --output VGA1 --mode 1440x900 --pos 1024x0 --right-of LVDS1
xrandr --output VGA1 --mode 1440x900              --right-of LVDS1
xrandr --output VGA1 --auto          --pos 1024x0 --right-of LVDS1
xrandr --output VGA1 --auto                       --right-of LVDS1
xrandr --output VGA1 --mode 1440x900 --pos 1024x0 --right-of LVDS1 --mode 1024x768
xrandr --output VGA1 --auto          --pos 1024x0 --right-of LVDS1 --mode 1024x768
xrandr --output VGA1 --auto                       --right-of LVDS1 --mode 1024x768
...but none of them do. All of them instead give me a full 1024x768 on the laptop, but only give me the first 200 pixels on the left of the larger monitor. The rest of the screen in inaccessible.

Any ideas?

Last edited by searchingfortao; 07-22-2010 at 03:12 PM.
 
Old 07-22-2010, 08:20 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Try:

Code:
xrandr --output VGA1 1440x900 --right-of LVDS1 --output LVDS1 --mode 1024x768
In all the examples you tried, you're only specifying one --output. In the last three examples, you're using the argument to --right-of (LVDS1) as if it was an argument to --output, but you are missing the --output.
 
Old 07-23-2010, 01:21 PM   #3
searchingfortao
LQ Newbie
 
Registered: May 2009
Location: Vancouver, Canada
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
xrandr --output VGA1 1440x900 --right-of LVDS1 --output LVDS1 --mode 1024x768
That just resulted in getting a blob of help text, so I added a --mode argument:

Quote:
xrandr --output VGA1 --mode 1440x900 --right-of LVDS1 --output LVDS1 --mode 1024x768
Still no joy though. I think I've resigned myself to just using one monitor on this laptop as it doesn't appear to like xrandr at all :-( For instance, to get the monitor to work at full resolution, I had to specify "--left-of" to get it to work. S'alright. Thanks for your help :-)
 
Old 07-23-2010, 01:50 PM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Yeah, sorry about the missing --mode. This is very odd. What video card and drivers are you using?

Adam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Expect script: how do i send function key F12 in an expect script alix123 Programming 4 09-01-2013 10:06 PM
expect: line seems to match exactly, however expect thinks not deadeyes Linux - General 5 06-16-2010 07:05 PM
X Error of failed request: BadMatch piccir Programming 5 04-02-2010 11:47 AM
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 06:48 AM
BadMatch error when loading programs from VNC homerpnp Slackware 0 11-10-2006 03:54 PM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration