ProPAAS DBA composed on 2016-12-09 16:43 (UTC-0700):
I'm running Fedora 24 KDE spin on a thinkpad X1 carbon 4th gen
laptop. I
have 2 external monitors and most often they work well, I plug one into
the hdmi port and a second via a vga adapter into the laptop's mini
display port.
More and more often I'm having issues when I plug in the
external
monitors. The menu & taskbar/panel jumps around asI plug in the
monitors. I want this to stay on the laptop. Even though the display
settings shows the laptop as the primary screen
Sometimes one of the external monitors will show up with no
background,
I can move the mouse to it and I can drag windows to it but I cannot
right click on the background and get a menu.
I've even tried manually controlling the monitors via xrandr, the
last
time I had issues my panel moved to a secondary monitor, xrandr reported
that the laptop was indeed still set as the primary, running "xrandr
--output eDP-1 --primary" had no effect. I generally have to reboot 5 or
6 times to get the external monitors to behave. Sometimes I actually
have to remove my .config directory before it will work.
Can anyone help me debug this?
I do a lot of switching of displays among different PCs, and switching among
various that include mostly KDE3, KDE4, Plasma5 and TDE. Thus I don't trust any
DE to get it right. Instead, I disable display control in the DE, which in
Plasma5 can be done without it running by putting:
[Module-kscreen]
autoload=false
in kdedrc, or by using one of these "official" instructions (from whence came I
remember not):
1
'qdbus org.kde.kded5 /kded org.kde.kded5.setModuleAutoloading kscreen false' to
disable kscreen
or
2
disable kscreen daemon in kde system settings / startup / services.
I configure either via /etc/X11/xorg.con* or by including a "one-line" 0755
xrandr script in /etc/X11/xinit/xinitrc.d/, which in its current state is the
attachment, which includes pretty much every xrandr startup combination I've
ever needed to date. The script becomes one-line in effect because from
whichever of the lines in it I want to take effect on X startup I remove its
prepended #.
That script will run automatically on session start, so it's not necessary to
reboot, only to restart X, unless kdmrc contains TerminateServer=false, in which
case it will need a one time change to TerminateServer=true.
Naturally the attachment can be used as a template or a single line extracted so
that your own script does contain only one line, or two if you prepend a shebang.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata ***
http://fm.no-ip.com/