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

xrandr kills KDE session

Tags: None
(comma "," separated)
User avatar
pinguin74
Registered Member
Posts
72
Karma
0
OS

xrandr kills KDE session

Sat Mar 03, 2018 12:45 pm
Hi there!
I use a laptop and have an external monitor connected to HDMI.
And when the HDMI is connected, I want to turn off the laptop´s screen, which is eDP.

Thus, I tried to use this command after logging in to KDE:

/usr/bin/xrandr --output HDMI-A-0 --mode 1920x1080 --primary --output eDP --off

But, instead of turning off eDP this command kills the running KDE session and throws me back to SDDM´s login screen.

Does anyone have an idea what I might do wrong?
Might this be an interference with kscreen?

Thanks!

Software:
Kernel 4.15.7
GPU driver: amdgpu (AMD mobile Vega 8 graphics)
plasma-framework-5.32.0-4.1.x86_64
plasma5-desktop-5.8.7.1-3.1.x86_64
plasma5-workspace-libs-5.8.7-11.1.x86_64
kscreen5-5.8.7-1.1.x86_64
rpiearce
Registered Member
Posts
8
Karma
0
OS

Re: xrandr kills KDE session

Sat Jun 02, 2018 1:42 pm
I'm sorry I'm 3 months late to the party, but could I suggest that you've made this display your primary output and then turned it off?

Does it work without the --primary flag?


--- 640GB ought to be enough for anybody!


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]