Hi All,
I've got another problem after upgrading to Mageia 5/Trinity r14.
When working for clients on-site, I will usually take my own laptop with me and plugin into an external monitor + keyboard while there. I have a script which automatically detects and extends the desktop to the external monitor when I log in. My task bar defaults to the external monitor when present and is shown on the laptop screen when there is no external monitor. This has been working perfectly for years.
However, after my latest upgrade, the taskbar no longer displays on the laptop screen if I boot up after having previously used the external monitor, making my desktop unusable.
The problem seems to be that the taskbar display is now "fixed" to whichever monitor it was last set to display on, regardless of whether that monitor is actually present or not. The external monitor output isn't actually being enabled due to a mis-detection, there is no signal output on the monitor port and the desktop has not been extended off the visible area of the laptop screen in any way.
The only solution I have found so far is to plug into an external monitor, enable that monitor with an extended desktop using my script (which runs xrandr) and manually drag the taskbar back to the laptop screen. This is OK when I have a monitor available, but if I'm out and about with no monitor available, I'm a bit stuck and have to use XFCE instead.
Ideally it would be nice if the prior behaviour was restored, but I'd settle for a simple script run during login which can move the taskbar back to the laptop screen every time I login, it's not a big deal to drag back to the external monitor after I login.
Is there any way to achieve this? I'm thinking that either there is a command I can issue which will move the taskbar location on demand, or alternatively I could use something (eg sed with a regex?) which re-writes the underlying config setting before the task bar starts (where is the config setting?)!
Thanks in anticipation, Tim Williams
On Tue, 29 Sep 2015 11:14:35 +0100 Tim WIlliams tmw@autotrain.org wrote:
Hi All,
I've got another problem after upgrading to Mageia 5/Trinity r14.
When working for clients on-site, I will usually take my own laptop with me and plugin into an external monitor + keyboard while there. I have a script which automatically detects and extends the desktop to the external monitor when I log in. My task bar defaults to the external monitor when present and is shown on the laptop screen when there is no external monitor. This has been working perfectly for years.
However, after my latest upgrade, the taskbar no longer displays on the laptop screen if I boot up after having previously used the external monitor, making my desktop unusable.
[...]
What happens if you kill and restart kicker when it's in this state? Anything?
E. Liddell
On 29/09/15 12:35, E. Liddell wrote:
What happens if you kill and restart kicker when it's in this state? Anything?
I just tried this and it has no obvious effect. The process starts up again without error, but I still have no taskbar. I'm in the process of filing on bugzilla, so I'll add that in.
While testing for this the problem actually got worse, after plugging in and activating the external monitor, the task bar flipped back to the laptop display, when I removed the monitor, the task bar vanished from the laptop display again! I tired leaving the monitor connected so that the task bar was on the correct screen and logging out/rebooting without the external monitor, but the task bar was missing again when I logged in. Even if I placed the task bar in a new position on the laptop screen (on the left side instead of the bottom), it vanishes again the moment I unplug the external monitor. Basically, I now can't find any way to get the task bar to display without the external monitor plugged in by "normal" methods.
However, I think I've found a work around which will do for now:
- Edit ~/.trinity/share/config/kickerrc - Change the value of the XineramaScreen parameter to 0 - Kill and restart the kicker process
Seems to do the trick.
Tim W
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2015/09/29 07:14 PM, Tim WIlliams wrote:
Hi All,
I've got another problem after upgrading to Mageia 5/Trinity r14.
When working for clients on-site, I will usually take my own laptop with me and plugin into an external monitor + keyboard while there. I have a script which automatically detects and extends the desktop to the external monitor when I log in. My task bar defaults to the external monitor when present and is shown on the laptop screen when there is no external monitor. This has been working perfectly for years.
However, after my latest upgrade, the taskbar no longer displays on the laptop screen if I boot up after having previously used the external monitor, making my desktop unusable.
The problem seems to be that the taskbar display is now "fixed" to whichever monitor it was last set to display on, regardless of whether that monitor is actually present or not. The external monitor output isn't actually being enabled due to a mis-detection, there is no signal output on the monitor port and the desktop has not been extended off the visible area of the laptop screen in any way.
The only solution I have found so far is to plug into an external monitor, enable that monitor with an extended desktop using my script (which runs xrandr) and manually drag the taskbar back to the laptop screen. This is OK when I have a monitor available, but if I'm out and about with no monitor available, I'm a bit stuck and have to use XFCE instead.
Ideally it would be nice if the prior behaviour was restored, but I'd settle for a simple script run during login which can move the taskbar back to the laptop screen every time I login, it's not a big deal to drag back to the external monitor after I login.
Is there any way to achieve this? I'm thinking that either there is a command I can issue which will move the taskbar location on demand, or alternatively I could use something (eg sed with a regex?) which re-writes the underlying config setting before the task bar starts (where is the config setting?)!
Thanks in anticipation, Tim Williams
Hi Tim (Williams), could you open a bug report on bugszilla? This looks like it might be a regression of some sort. I also use two monitors occasionally and never noticed this problem, but I haven't tried in the last 12 months or so. Cheers Michele
On 29/09/15 13:39, Michele Calgaro wrote:
Hi Tim (Williams), could you open a bug report on bugszilla? This looks like it might be a regression of some sort. I also use two monitors occasionally and never noticed this problem, but I haven't tried in the last 12 months or so.
Will do. My regular desktop system is also dual monitor and this is behaving normally, however the monitor configuration never changes so that's probably why I've not had an issue with my desktop.
Tim W
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2015/09/29 08:31 PM, Tim WIlliams wrote:
Will do. My regular desktop system is also dual monitor and this is behaving normally, however the monitor configuration never changes so that's probably why I've not had an issue with my desktop.
That could be. I also observed that when the second monitor is plugged in/out many times, funny things sometimes happened. That was more than a year ago anyway. Cheers Michele