This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Sddm issue with lid closed

Tags: None
(comma "," separated)
cdonno
Registered Member
Posts
4
Karma
0

Sddm issue with lid closed

Thu Jan 12, 2017 9:56 pm
Hello. I've got a problem with kde neon with plasma 5.8.5. I use my laptop mostly with the external monitor attached but when Neon boots I can't see sddm on the external monitor but only on the laptop monitor even if it's close. But once the password is entered, however, the laptop screen goes off and the video output is only external monitor. Can you please help me with this issue? On mint and kubuntu with plasma 5.8.5, this issue does not happen
User avatar
alideda
Registered Member
Posts
251
Karma
0
OS

Re: Sddm issue with lid closed

Fri Jan 13, 2017 10:09 pm
/usr/share/sddm/scriptsXsetup
Code: Select all
#!/bin/sh
# Xsetup - run as root before the login dialog appears

mode="$(xrandr -q|/bin/grep -A1 "DVI-1 connected"| tail -1 |awk '{ print $1 }')"
if [ -n "$mode" ]; then
  xrandr --output HDMI-0 --off
  xrandr --output DVI-1 --primary --mode 1920x1080
fi

if [ -e /sbin/prime-offload ]; then
    echo running NVIDIA Prime setup /sbin/prime-offload
    /sbin/prime-offload
fi

Change DVI-1 and HDM-0 wit your configuration


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]