Results 1 to 1 of 1

Thread: Nvidia (Surround) Xinerama ON & OFF Scripts

  1. #1
    Join Date
    Feb 2008
    Location
    NC, United States
    Beans
    105
    Distro
    Lubuntu

    Lightbulb Nvidia (Surround) Xinerama ON & OFF Scripts

    I got Nivida Xinerama working on Ubuntu with LightDM. I made two simple scripts that turns Xinerama on and off.

    ON
    Code:
    #!/bin/bash
    #Xinerama on
    sudo sed -i 's/"Xinerama" "0"/"Xinerama" "1"/g' /etc/X11/xorg.conf
    #lightdm restart
    sudo service lightdm restart
    OFF
    Code:
    #!/bin/bash
    #Xinerama off
    sudo sed -i 's/"Xinerama" "1"/"Xinerama" "0"/g' /etc/X11/xorg.conf
    #lightdm restart
    sudo service lightdm restart
    Last edited by BigBig5; August 25th, 2018 at 09:51 PM.
    Ubuntu User number is # 29142
    Lubuntu: Light & Fast Linux for Human Beings

Tags for this Thread

Bookmarks

Posting Permissions

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