Find the answer to your Linux question:
Results 1 to 6 of 6
Hi I've finished a new build recently and I'm trying to get dual monitor support enabled in Suse 11.3 Previously I had this in Suse 11.2 using a dedicated NVIDIA ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    93

    Configure dual monitors in Suse 11.3

    Hi

    I've finished a new build recently and I'm trying to get dual monitor support enabled in Suse 11.3

    Previously I had this in Suse 11.2 using a dedicated NVIDIA graphics card with VGA and DVI output and this was done in a GUI. I now have 11.3 and a built in ATI card with VGA and DVI output

    When I run xrandr I get the following
    Code:
    Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
    VGA-0 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  
       1280x960       60.0  
       1152x864       75.0  
       1280x720       60.0  
       1024x768       75.1     70.1     66.0     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  
    DVI-0 connected (normal left inverted right x axis y axis)
       1360x768       60.0 +
       1280x720       60.0     50.0     60.0  
       1024x768       60.0  
       800x600        60.3  
       720x576        50.0  
       640x480        60.0
    Changing down to 1024x768 makes both screen viewable, but at the wrong resolution. I want to set DVI-0 to 1360x768 but keep VGA-0 as 1440x900

    How do I do this?

    I tried using xrandr --screen 1 but it says
    Code:
    Invalid screen number 1 (display has 1)
    I'm looking to expand the desktop onto the second screen so I can photo edit on one screen and web browse and instant message in the other screen

    Currently using the Radeon R600 classic driver from ATI

    Many thanks
    Jonny
    Last edited by Jonny88; 11-02-2010 at 09:55 AM.

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    93
    I have made some progress on this now using the following commands;

    Code:
    xrandr --output DVI-0 -s 1360x768
    xrandr --output VGA-0 -s 1440x900
    xrandr --output VGA-0 --primary
    xrandr --output DVI-0 --right-of VGA-0
    This worked quite well, except my desktop unexpectedly jumped over to the second monitor (ie the taskbar, systray, icons, widgets etc) so I had to move them back by hand as I couldn't find a better way to do this. Now on reboot all the desktop widgets have disappeared and I have to run all the xrand commands again to get back to normal. How can I commit what I have done to be defaults?

  3. #3
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Put them in a script.

  4. #4
    Just Joined!
    Join Date
    Mar 2007
    Posts
    93
    Hi,

    I've made my script, called it "Display" and saved it into my home folder, here is my script
    Code:
        #!/bin/bash
        clear
    xrandr --output DVI-0 --auto
    xrandr --output VGA-0 --auto
    xrandr -r 75.0 
    xrandr --output VGA-0 --preferred
    xrandr --output VGA-0 --primary
    xrandr --output DVI-0 --right-of VGA-0
    How do I make this run at start-up instead of having to run it myself?

    I'm surprised there isn't an easy way to save settings like this in Suse. Why did they get rid of Sax! it worked much better than this.

    Thanks
    Jonny

  5. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    You can still make a xorg.conf file by hand You can use the propritary drivers config utility to produce one and then hand edit it.

    No one wanted to maintain sax2 anymore. You can still install it but it may not work well.

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    27
    If using KDE4, you can add your script to your user 'Autostart' directory

    ~/.kde4/Autostart/

    Right-click on your script file, and select properties, then make it executable (under the permissions tab).

    Then via System Settings, navigate to

    Advanced User Settings > Autostart

    and make sure your script is listed. If not, add it.

    Then restart your desktop (CTRL-ALT-BACKSPACE twice), and your script will execute after login.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...