Bug 191479 - wrong primary display after enabled second monitor
Summary: wrong primary display after enabled second monitor
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 15:42 UTC by Sebastian Vahl
Modified: 2010-08-12 20:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
My xorg.conf if needed. (2.72 KB, application/octet-stream)
2009-05-03 15:43 UTC, Sebastian Vahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Vahl 2009-05-03 15:42:52 UTC
Version:           0.3 (using KDE 4.2.2)
OS:                Linux
Installed from:    Fedora RPMs

I'm using a Radeon X800 (R420) with an 19" CRT attached to the primary output on the graphics card. On the secondary output I use a 17" CRT sometimes. Normally this monitor is disconnected (or disabled via "xrandr --output DVI-0 --off" in ~/.kde/env/xrandr.sh).
When I enable the second monitor through xrandr ("xrandr --output DVI-0 --mode 1024x768 --above VGA-0") this one becomes the primary monitor for plasma. Eg. all open windows, the panel  and the folderview plasmoid are moved to the second monitor. On the first monitor (which should be the primary one) there seems to be started a new plasma instance (eg. the cashew on the upper right is back; I've disabled it with the Ihatethecashew plasmoid).

So what's going wrong here:
- After enabeling the second monitor on the secondary output on my graphics card plasma should stay on the first monitor.

And that's what I would expect:
- After enabling the second monitor on the secondary output on my graphics card plasma would be started in a new instance (or something like that) on the new output. All plasmoids and windows remain on the primary output and monitor.
Comment 1 Sebastian Vahl 2009-05-03 15:43:27 UTC
Created attachment 33315 [details]
My xorg.conf if needed.
Comment 2 Aaron J. Seigo 2009-05-13 03:53:27 UTC
the plasma elements keep affinity to the screen number. if the screen #s are changing, then the plasma elements will move to match. this is the desired effect in many other cases and instead of working around x on this or offering complex configuration controls, we just let x.org (now via kephal) tell us which screen is which.
Comment 3 Andrey 2010-08-12 20:37:41 UTC
For the record:

xrandr has a key, which tells, what monitor is primary: --primary

So, when you configure your monitors via xrandr provide that key
for the monitor, which should act as primary.

KDE 4.5.0 places all panels and widgets on primary monitor (# 1).

Not sure, whether it works on all hardware, though.
But on Intel GM965 I switched monitors without any problems:
xrandr --output LVDS --primary --mode 1280x800 --rotate normal --pos 0x1200 --output VGA --mode 1920x1200 --rotate normal --pos 0x0

By default LVDS (built in display) acts as monitor number #2
if you connect second monitor to VGA.