Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Using arandr for dual monitors, how do I make changes persistent?

  1. #1
    Join Date
    Jan 2013
    Beans
    10

    Using arandr for dual monitors, how do I make changes persistent?

    I want my monitors to be extended onto each other, not mirrored. By default it always mirrors them and then I have to go into arandr to set them to be extended. How can I make this change permanent?

    I'm using Xubuntu 12.10.

    Thanks,
    Sam

  2. #2
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Using arandr for dual monitors, how do I make changes persistent?

    set it up in arandr

    save the file - should then be there in .screenlayout/whateveryoucallthefile

    add that to startup applications, you might need to type the path in there - from memory searching doesn't see hidden files

    Attached Images Attached Images

  3. #3
    Join Date
    Jan 2013
    Beans
    10

    Re: Using arandr for dual monitors, how do I make changes persistent?

    I tried this but it did not work. Any other suggestions?

  4. #4
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Using arandr for dual monitors, how do I make changes persistent?

    How about some idea of what didn't work?

  5. #5
    Join Date
    Jan 2013
    Beans
    10

    Re: Using arandr for dual monitors, how do I make changes persistent?

    When I log or reboot the monitors still mirror each other. I then have to still manually separate then monitors in arandr each time I start up in order to use extended screens.

  6. #6
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Using arandr for dual monitors, how do I make changes persistent?

    Couple of things to check

    is the script in .screenlayouts set to run in Startup apps in system settings

    is the script allowed to run - check it's permissions, right click on the file in thunar - permissions tab - you might need to ctrl+h to see hidden files

  7. #7
    Join Date
    Jan 2013
    Beans
    10

    Re: Using arandr for dual monitors, how do I make changes persistent?

    Yes, the script is set to run.

    What do the permissions need to be in order for it to run?

  8. #8
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Using arandr for dual monitors, how do I make changes persistent?

    You can either set it to Allow to run in thunar or with a terminal

    chmod +x /path/to/the/script

    For me, from my terminal that's

    Code:
    chmod -x .screenlayout/good.sh
    Make sure that it is called from autostart

    Code:
    ls /home/yourusername/.config/autostart
    You should see the name of the item you've called this there.

    Mine is called screens

    Code:
    ls /home/hob/.config/autostart
    blueman.desktop               devilspie.desktop     screens.desktop
    broken windows again.desktop  print-applet.desktop  xscreensaver.desktop

  9. #9
    Join Date
    Jan 2013
    Beans
    10

    Re: Using arandr for dual monitors, how do I make changes persistent?

    It was already set as "allowed to run" and it still doesn't work.

  10. #10
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Using arandr for dual monitors, how do I make changes persistent?

    Can you open a terminal and then run this please

    Code:
    ls .screenlayout/ && ls .config/autostart/
    paste the complete output.

Page 1 of 2 12 LastLast

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
  •