LightDM resolution on additional screen is not correctly set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
This issue can be reproduced only when you add a second monitor with a different resolution (i.e additional screen on a laptop).
The lightdm selected resolution on the second screen is not correct and result to a really bad layout.
This issue occurs at the logon screen and also when the screen is locked.
Is it possible to implement a display setup script for lightdm using xrandr & auto conf ?
BR,
ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: elementary-desktop 1.349+393~
ProcVersionSign
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CrashDB: elementary_meta
CurrentDesktop: Pantheon
Date: Mon Aug 18 17:29:32 2014
InstallationDate: Installed on 2014-08-12 (6 days ago)
InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64 (20140810)
ProcEnviron:
LANGUAGE=fr
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: elementary-meta
SuspiciousXErrors: [WARNING:
ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in elementaryos: | |
status: | New → Confirmed |
I've gone through the following steps to solve this issue for me.
- create [1] '/usr/bin/ fixlightdmxrand r.sh'
- execute 'xrandr' and find out the display you want to disable (INTERNAL_OUTPUT)
- modify '/usr/bin/ fixlightdmxrand r.sh' accordingly
- edit [2] '/etc/lightdm/ lightdm. conf' to include the '/usr/bin/ fixlightdmxrand r.sh' script.
- reboot, or restart lightgdm
- hopefully enjoy your new fullscreen lightdm ;-)
[1] '/etc/lightdm/ lightdm. conf'
<code> setup-script= /usr/bin/ fixlightdmxrand r.sh setup-script= /usr/bin/ fixlightdmxrand r.sh
[SeatDefaults]
allow-guest=false
display-
session-
</code>
[2] '/usr/bin/ fixlightdmxrand r.sh' OUTPUT= "HDMI2" OUTPUT= "LVDS1"
<code>
#!/bin/sh
EXTERNAL_
INTERNAL_
xrandr |grep $EXTERNAL_OUTPUT | grep " connected "
if [ $? -eq 0 ]; then
xrandr --output $INTERNAL_OUTPUT --off --output $EXTERNAL_OUTPUT --auto
else
xrandr --output $INTERNAL_OUTPUT --auto --output $EXTERNAL_OUTPUT --off
fi
</code>