Results 1 to 5 of 5

Thread: Xubuntu - Wallpaper for dual monitors appears only after logout/login

  1. #1
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Xubuntu - Wallpaper for dual monitors appears only after logout/login

    I've got 2 monitors running, .screenlayout/screens.sh works fine to set them up for me.

    When I login, often I am left with the wallpaper showing in monitor 1 at some odd resolution.

    Logout and then login will then have both monitors showing wallpaper filling screens.

    Tried adding sleep to the randr script that runs which made no difference to that.
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2012
    Beans
    308

    Re: Wallpaper for dual monitors appears only after logout/login

    Instead of relogging you could try to reload xfdesktop:
    Code:
    xfdesktop --reload
    So generally it looks like you have to start xfdesktop after the custom script has set up your monitors.
    GNU/Linux

  3. #3
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Wallpaper for dual monitors appears only after logout/login

    Tried that - doesn't help I'm afraid.

  4. #4
    Join Date
    May 2010
    Location
    uk
    Beans
    9,374
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Wallpaper for dual monitors appears only after logout/login

    Hi

    Edit the file.

    Code:
    /etc/lightdm/lightdm.conf
    add these two lines to the bottom.

    Code:
    display-setup-script=/path/to/script.sh 
    session-setup-script=/path/to/script.sh
    Kind regards
    Last edited by matt_symes; April 20th, 2013 at 01:42 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  5. #5
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Wallpaper for dual monitors appears only after logout/login

    I did that - you know I did


    added to bottom of .conf

    Code:
    # login 
    display-setup-script=/usr/share/screens.sh
    #desktop session
    session-setup-script=/usr/share/screens.sh
    A bunch of reboots later and that appears to have done the trick.
    Last edited by Elfy; April 21st, 2013 at 04:34 PM.

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
  •