Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Xfce 4 Desktop Environment version 4.6.1 (Xfce 4.6)

I'm trying to get a dual monitor setup working. I have a vga monitor plugged in and sitting to the left of my laptop.

I want to have it so that my regular desktop sits in the laptop screen as normal and the vga acts as extra space to drag windows into. I'm almost there: i have the two spaces sitting next to each other and i can drag left and right.

The problem is that the vga monitor is the "primary" one with the taskbar in it: i want this in my laptop (ie in the right screen not the left).

Here's my current xrandr setup:

Screen 0: minimum 320 x 200, current 2720 x 900, maximum 4096 x 4096
VGA1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 408mm x 255mm
   1440x900       59.9*+   75.0  
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
LVDS1 connected 1280x800+1440+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
TV1 disconnected (normal left inverted right x axis y axis)

VGA1 is the external vga monitor and LVDS1 is my native laptop screen. I've tried doing

xrandr --output LVDS1 --primary --right-of VGA1

which puts the screens in the correct layout, but doesn't make LVDS1 the primary, unless i'm misunderstanding what "primary" means in this context. Does primary mean "where the desktop lives"?

I've downloaded grandr and arandr and mucked about in those and haven't achieved anything there.

What's annoying is that i can get it so that LVDS1 is the primary, with the desktop etc, if i set VGA1 to be on the right of the laptop, instead of the left. So, it seems like the primary always just goes to whatever is the leftmost display.

Here's my /etc/X11/xorg.conf file in case it's relevant:

Section "Screen"
  Identifier    "Default Screen"
  Monitor       "Configured Monitor"
  Device        "Configured Video Device"
  SubSection "Display"
    Modes "1440x1440" "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    Virtual 2464 900
  EndSubSection
EndSection

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver "synaptics"
  Option "SendCoreEvents" "true"
  Option "Device" "/dev/psaux"
  Option "Protocol" "auto-dev"
  Option "HorizScrollDelta" "0"
  Option "SHMConfig" "on"
  Option "MaxTapTime" "0"
  Option "MaxTapMove" "0"
EndSection

Any advice anyone? thanks, max

share|improve this question

1 Answer

'm trying to get a dual monitor setup working. I have a vga monitor plugged in and sitting to the left of my laptop.

try:

$ xrandr --output VGA1 --auto --left-of LVDS1

For your reference, mine is laptop (LVDS-1) and and a right-of vertical panel (VGA-1) working well.

$ xrandr 
Screen 0: minimum 320 x 200, current 2340 x 1440, maximum 8192 x 8192
LVDS-1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1440x900       60.0*+   50.0  
   1152x864       60.0  
   1024x768       59.9  
   800x600        59.9  
   640x480        59.4  
   720x400        59.6  
   640x400        60.0  
   640x350        59.8  
VGA-1 connected 900x1440+1440+0 left (normal left inverted right x axis y axis) 408mm x 255mm
   1440x900       59.9*+   75.0  
   1280x1024      76.0     75.0     72.0     60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
   640x350        70.1  
DVI-D-1 disconnected (normal left inverted right x axis y axis)
share|improve this answer
I have the same problem, as the OP says, things only work correctly if the external monitor is placed to the right of the laptop. If it is placed to the left, it becomes the "primary" display, regardless of running xrandr --output LVDS1 --primary – Keith Dec 13 '12 at 17:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.