I've confirmed that this bug is due to nautilus, but haven't been
successful in fixing it (except for a workaround, described at the end
of this post). The steps to reproduce the issue are:

1) Set the wallpaper using either the system settings dialog, or gsettings from 
the terminal (either method will display the wallpaper correctly)
2) Shut down nautilus by typing "nautilus -q" in a terminal
3) Launch nautilus again, and the wallpaper proportions will now be incorrect 
(the picture will be overly magnified on the larger monitor)

In upstream, gnome shell is now responsible for rendering the background, and 
nautilus simply renders an invisible background over it and places the icons on 
top, as per these 5 commits on Feb. 20th, 2013:
https://git.gnome.org/browse/nautilus/commit/?id=f0f36c876e4810b190a82e3a953d9263c106447f
https://git.gnome.org/browse/nautilus/commit/?id=9f99ba3506d5cf1584d9afa952e11aed17deac2f
https://git.gnome.org/browse/nautilus/commit/?id=8b4a83ea80bf657cd8be754786e5f9daf7d5cc52
https://git.gnome.org/browse/nautilus/commit/?id=07d2ca86237fac8b5bddc4e619e43dfc813bc5e7
https://git.gnome.org/browse/nautilus/commit/?id=372c60d3f8590280df23f457a67652adec369697

Applying the above patches to Ubuntu's nautilus gives strange results
(severe flickering). So for now, I just made myself a simple workaround.
I wrote the bash script below and added it to my startup applications:

#!/bin/bash
gsettings set org.gnome.desktop.background picture-options "stretched"
sleep 5 # give a few seconds for the wallpaper to change
gsettings set org.gnome.desktop.background picture-options "zoom"

Basically you need to change the wallpaper mode, and then change it back
to what you had originally (in my case "zoom"), and the wallpaper will
be redrawn corretly. I hope that helps whoever else might be
experiencing this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1168705

Title:
  Multiple monitors with different orientation leads to stretched
  wallpaper when waking up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1168705/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to