Results 1 to 10 of 16

Thread: setting primary monitor

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Beans
    1

    setting primary monitor

    I use two monitors,my problem is that I want to change the setup,so that the other monitor becomes default.
    There's no problem with my BIOS settings and I have tried every GUI tool that could help me(to my knowledge).Well I've found this
    http://www.thetechrepo.com/main-arti...-distributions
    that helps a lot but I want to execute the command every time I boot before the splash screen(so that the login screen appears on the right monitor).I've tried rc.local but had no success.Any ideas on how to execute the command at boot time?Thanks in advance.

  2. #2
    Join Date
    Apr 2011
    Beans
    1

    Re: setting primary monitor

    I'm running into the same (?) problem.

    I have a dual monitor setup, I installed 11.04 and the Unity panel is always on the wrong monitor. I tried plugging each monitor into a port on the back of my video card but that didn't work either.

    I did some digging and came across a similar solution using xrandr. I put all of the commands into a BASH script and it works fine. I just can't find a way to execute the script automatically upon boot (or even login).

    Any ideas?

  3. #3
    Join Date
    May 2009
    Location
    Land of Lincoln
    Beans
    1,369
    Distro
    Ubuntu Development Release

    Re: setting primary monitor

    Hi!

    system...preferences...monitors

    KegHead

  4. #4
    Join Date
    Feb 2006
    Beans
    31
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: setting primary monitor

    Quote Originally Posted by KegHead View Post
    Hi!

    system...preferences...monitors

    KegHead
    Easy...where is Preferences then?
    -=< AMD Athlon 64 X2 3800 ~ ASUS A8N-SLI Deluxe ~ 4 GB Corsair ~ GeForce 460 GT ~ Soundblaster Audigy eX >=-
    ~< Dual boot: Windows 7 Ultimate | Ubuntu 10.10 | Ubuntu 11.04 >~

  5. #5
    Join Date
    May 2009
    Location
    Land of Lincoln
    Beans
    1,369
    Distro
    Ubuntu Development Release

    Re: setting primary monitor

    Hi!

    click on system..you'll see preferences

    click on preferences...click on moniyots.

    KegHead

  6. #6
    Join Date
    Oct 2008
    Location
    Quebec
    Beans
    105
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: setting primary monitor

    1. There is no "System" to click on in Unity
    2. The "Monitor Preferences" doesn't allow you to choose which monitor is primary.

    use xrandr to find the monitor's identification then xrandr --output $monitor --primary

    I don't know how to automate this at every logon though
    DELL XPS M1330 Core2
    Ubuntu 12.04 64

  7. #7
    Join Date
    Jan 2011
    Location
    Here...and you?
    Beans
    2
    Distro
    Ubuntu

    Re: setting primary monitor

    Quote Originally Posted by themainliner View Post
    Easy...where is Preferences then?
    ^^ I like this guy ^^

  8. #8
    Join Date
    Apr 2007
    Beans
    364

    Re: setting primary monitor

    Quote Originally Posted by CastleBrav0 View Post
    I'm running into the same (?) problem.

    I have a dual monitor setup, I installed 11.04 and the Unity panel is always on the wrong monitor. I tried plugging each monitor into a port on the back of my video card but that didn't work either.

    I did some digging and came across a similar solution using xrandr. I put all of the commands into a BASH script and it works fine. I just can't find a way to execute the script automatically upon boot (or even login).

    Any ideas?
    This isn't much of an idea. I had the same experience that the xrandr setting for primary monitor swapping would be lost after reboot. Then I made the change with xrandr, and went back into the settings application for monitors in gnome, and fooled around. That seemed to trigger saving the current state, and made it stick, don't know how?

  9. #9
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: setting primary monitor

    See this guide on how to add the 'xrandr' commands to the startup script of GDM, to get run upon loading the login screen:
    https://wiki.ubuntu.com/X/Config/Res...rtup%20scripts

    Greetings.

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
  •