You are not logged in.

#1 2010-06-16 08:12:31

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

[SOLVED] Properly configuring Dual monitors and AwesomeWM

Hey
Been browsing the forums for a while, thought i might like to sign up.
Loving Archlinux, its a great distro..

*ahem* Besides that, i was wondering if anyone could enlighten me on my choice of configuring dual monitors.

Atm i have two monitors set up as seperate Xscreens.
Problems with this:

- unable to open links in one screen if the other has FF running.
- Background images are duplicated.
- systray stops working [not actually sure what causes this, but it works some of the time, most of the time doent though, disregard this unless you know how to fix it smile ]

now i was thinking of making both the physical screens, one large logical screen.
however, this causes annoyances:

- dialogs in centre. dificult to read.
- fullscreen apps, are infact, fullscreen.
- layouts would be increadibly annoying (tile vertical across entire screen? no.. the only one that *could* work would be spiral and dwindle)
however it would fix the top two issues. (the backgrounds i suppose i could cut up and fork feh, but that'll be annoying..)
if i could get dialogs come up on one screen (bonus points for the screen with the mouse) and make it tile according to the one physical screen (and not the logical xscreen) i would make it one xscreen..

how do fellow AwesomeWM + Dualscreen users setup? any tips on solving any of these problems?

Last edited by ~Fir3fly (2010-06-17 07:36:46)


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

#2 2010-06-16 09:58:48

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [SOLVED] Properly configuring Dual monitors and AwesomeWM


You need to install an RTFM interface.

Offline

#3 2010-06-16 11:27:28

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

Re: [SOLVED] Properly configuring Dual monitors and AwesomeWM

i have read the docs. multiple times. and i've only gotten it to do either of the two options like i described above.
unless the part "example contributed by another user" is referenced.. is that what im meant to do? would that solve my above issues?


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

#4 2010-06-16 14:38:09

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [SOLVED] Properly configuring Dual monitors and AwesomeWM

Yes. That should be a TwinView configuration which awesome can work with as it does usually - treating each of the physical monitors as a separate desktop, while preserving possibilities to share windows between them etc.

I got very little feedback on that section, but those that did report back, reported success.


You need to install an RTFM interface.

Offline

#5 2010-06-17 07:34:07

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

Re: [SOLVED] Properly configuring Dual monitors and AwesomeWM

anrxc wrote:

I got very little feedback on that section, but those that did report back, reported success.

well here's another report to add..
yes. thank you, it was complete success.

i'll be honest, i was a bit worried with the single screen part, but it all worked out fine.

thanks man. really helped and it was what i was looking for.

my xorg.conf, for anyone having the same issue i had:

Section "ServerLayout"
    #Identifier     "Layout0"
    #Screen      0  "Screen0" 0 0
    #Screen      1  "Screen1" RightOf "Screen0"
    Identifier    "TwinView Screen"
    Screen        0 "Screen0" 0 0
    Option        "Xinerama"  "false"
    
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL1715"
    HorizSync       24.0 - 80.0
    VertRefresh     49.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 GT"
    BusID          "PCI:5:0:0"
    Option      "ConnectedMonitor"     "CRT-0, CRT-1"
    # This is the important part
    #Option      "TwinView"            "true"
    # Possible options are: Right-Of, Left-Of, Above, Below, Clone
    Option      "TwinViewOrientation" "Right-Of"
    Option      "SecondMonitorHorizSync"   "30-96"
    Option      "SecondMonitorVertRefresh" "50-160"
    # Metamodes tell us when: 
    # monitor A is using resolution X then monitor B will use resolution Y; second lower A reolution, second lower B resolution...
    Option      "MetaModes" "1280x1024, 1280x1024; 1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480"
    # Example when monitor B is using a lower resolution
    #Option     "MetaModes" "1280x1024, 1024x768@1280x1024; 1024x768, 1024x768; 800x600, 800x600"
    
    #for the proper experience
    Option          "RandRRotation"         "true"
    Option          "TripleBuffer"          "true"
    
    Option          "PrimaryMonitor"            "CRT-0"
    Option          "UseDisplayDevice"          "CRT-0, CRT-1"
        # According to their docs, this is what makes the difference
        #   http://us.download.nvidia.com/XFree86/Linux-x86/180.29/README/chapter-13.html
    Option          "TwinViewOrientation"       "CRT-0  LeftOf CRT-1"
    Option          "TwinViewXineramaInfoOrder" "CRT-0, CRT-1"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 GT"
    BusID          "PCI:5:0:0"
EndSection

Section "Screen"
        Identifier    "Screen0"
        Device        "Videocard0"
        Monitor       "Monitor0"
        DefaultDepth  24
        Subsection    "Display"
            Modes            "1280X1024"
        EndSubsection
    
        Option "MetaModes"   "CRT-0: 1280X1024 +0+0, CRT-1: 1280X1024 +1280+0;"
        Option "HorizSync"   "CRT-0: 30-100; CRT-1: 30-100"
        Option "VertRefresh" "CRT-0: 60; CRT-1: 60"
        Option "TwinView"    "true"
EndSection

AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

Board footer

Powered by FluxBB