You are not logged in.

#1 2011-08-07 21:07:28

sam113101
Member
Registered: 2010-07-28
Posts: 28

dual monitors in XFCE

I have two monitors but they are showing the same thing. I could make my second monitor "extend" the other one in gnome, I could do it in KDE too. It isn't possible in XFCE, well I don't see that option in the settings panel. I have to make a xorg conf file, unless someone shows me an app that does the same thing and doesn't require gnome or any other DE. I have tried to write my own conf file, but it failed.

Here is my conf file:

Section "ServerLayout"
    Identifier     "DualSreen"
    Screen       0 "Screen0"
    Screen       1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
    Option         "Xinerama" "1" #To move windows between screens
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "Enable" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    Option         "Enable" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "ati"
    Screen         0
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    SubSection "Display"
        Depth          24
        Modes          "1920x1200_60.00"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device0"
    Monitor        "Monitor1"
    DefaultDepth   24
    Option         "TwinView" "0"
    SubSection "Display"
        Depth          24
        Modes          "1920x1200_60.00"
    EndSubSection
EndSection

I have an ATI card and I use the ATI driver (xf86-video-ati). I have two 1920x1200 px monitors. I have only one graphic card, so I should have only one device section, right? If you need any information, please ask me. I really appreciate your help, thank you.

Offline

#2 2011-08-07 22:25:14

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: dual monitors in XFCE

The xfce tool unfortunately still can't do it.

But xrandr can:

chris@chrisl ~ % xrandr
Screen 0: minimum 320 x 200, current 3280 x 1050, maximum 4000 x 4000
LVDS connected 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1600x900       60.3*+
   1440x900       60.3  
   1280x768       60.3  
   1280x720       60.3  
   1024x768       60.3  
   1024x600       60.3  
   800x600        60.3  
   800x480        60.3  
   640x480        60.3  
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 connected 1680x1050+1600+0 (normal left inverted right x axis y axis) 433mm x 271mm
   1680x1050      60.0*+
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       60.0  
   1280x960       75.0     60.0  
   1280x800       75.0     60.0  
   1152x864       60.0     75.0  
   1280x768       75.0     60.0  
   1280x720       75.0     60.0  
   1024x768       75.0     70.1     60.0  
   1024x600       75.0     70.1     60.0  
   800x600        72.2     75.0     60.3  
   800x480        72.2     75.0     60.3  
   640x480        75.0     72.8     67.0     59.9  
   640x350        60.0     70.1

So from that output I see the output names and the supported resolutions and I can do

xrandr --output CRT1 --mode 1680x1050 --right-of LVDS

to activate it.

GUI tools are arandr or zarfy (the gui doesn't work very well for me) or urandr.

Last edited by Cdh (2011-08-07 22:25:50)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#3 2011-08-07 23:05:52

sam113101
Member
Registered: 2010-07-28
Posts: 28

Re: dual monitors in XFCE

xrandr --output DVI-0 --mode 1920x1200 --right-of VGA-0

It works, yay!

Offline

#4 2011-08-07 23:22:43

sam113101
Member
Registered: 2010-07-28
Posts: 28

Re: dual monitors in XFCE

It doesn't work when I add it to Session and Startup's Application Autostart, though.
My xmodmap command doesn't work neither, while it is working when I type it manually. Is it because XFCE is calling xmodmap itself?
What can I do then?

Edit: I've put it in my .xprofile file but it doesn't work.

Last edited by sam113101 (2011-08-08 01:35:46)

Offline

Board footer

Powered by FluxBB