PDA

View Full Version : Xubuntu - Wallpaper for dual monitors appears only after logout/login



Elfy
April 20th, 2013, 07:27 AM
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.

brainwash
April 20th, 2013, 10:04 AM
Instead of relogging you could try to reload xfdesktop:

xfdesktop --reload

So generally it looks like you have to start xfdesktop after the custom script has set up your monitors.

Elfy
April 20th, 2013, 12:33 PM
Tried that - doesn't help I'm afraid.

matt_symes
April 20th, 2013, 01:36 PM
Hi

Edit the file.


/etc/lightdm/lightdm.conf

add these two lines to the bottom.


display-setup-script=/path/to/script.sh
session-setup-script=/path/to/script.sh

Kind regards

Elfy
April 20th, 2013, 01:40 PM
I did that - you know I did :p


added to bottom of .conf


# 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.