← Back to team overview

desktop-packages team mailing list archive

[Bug 1292398] Re: Second screen position isn't saved from one session to another

 

My setup is three monitors, one 24" 1920x1080, one 27" 2560x1440 and one 17" 1024x1280 (rotated).
Because my biggest screen is the primary and the others are on each side (according to the description above), when the settings are lost the rotated screen gets "unrotated" and the alignment is 27, 17, 24 instead, leaving me with a middle monitor rotated the wrong way and a very frustrated wife... :*( ;)

The bug seems to be based in gnome-shell, as it's like marco said, as
soon as gnome-shell is restarted the monitor settings are forgotten.
Restarting the daemon works, but to make it work even when restarting
the shell it has to be triggered by the process gnome-shell rather than
the service gnome-session, i believe.

For me, it doesn't work to get the settings loaded before or at the
login page. Tried all of the above and executing xrandr at differenct rc
levels, gdm levels, etc. I'm not sure what initiates the default
settings for all users, which would be the logical options to load at
the loginpage and whenever a new user login.

There are alot of workarounds to load the correct settings after user
login, the best by far is the one HaraldK, Thomas W. and Yogu came up
with together. To sum it up a bit, because it's all mixed up right now:


Edit this file: /usr/share/upstart/sessions/gnome-settings-daemon.conf

The file should look like this:
___________________________________________________________________________

description "The Gnome Settings Daemon"
author "Stéphane Graber <email address hidden>"

start on started dbus and starting gnome-session INSTANCE=GNOME
stop on stopping gnome-session

respawn
script
  sleep 2
  exec /usr/lib/gnome-settings-daemon/gnome-settings-daemon
end script
___________________________________________________________________________



As Thomas W. said, the sleep timing should be changed to whatever works for you. 
I've tried to 

This bug should change status to medium at least.

I hope you guys find a resolution for this soon!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1292398

Title:
  Second screen position isn't saved from one session to another

Status in elementary OS:
  Confirmed
Status in Gnome Settings Daemon:
  New
Status in GNOME Shell:
  Confirmed
Status in Ubuntu GNOME:
  Confirmed
Status in gnome-settings-daemon package in Ubuntu:
  Triaged
Status in gnome-shell package in Ubuntu:
  Triaged

Bug description:
  (Noticed on Ubuntu 14.04 beta 1 GNOME)
  At work I have a second screen, which I prefer to virtually put on the left side of my laptop screen.
  Using gnome-control-center I can change the position of the second without problem.
  But when I disconnect the second screen (to work on another place) and then connect it again
  OR if I just power off the laptop and turn it on again,
  the second screen position is set back to the default right position.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-control-center 1:3.6.3-0ubuntu53
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Mar 14 08:50:00 2014
  InstallationDate: Installed on 2014-03-01 (12 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140226)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)
  usr_lib_gnome-control-center: deja-dup 29.5-0ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/elementaryos/+bug/1292398/+subscriptions