I am having a variety of related issues as a result of the hotplug display changes in E 0.24.0. Prior to 0.24.0, I had a script I would run via an icon on my desktop to turn my laptop display on/off, as well as my external display via xrandr. The script no longer works with 0.24.0 due to the hotplug changes. Anytime I turn off a display with xrandr, E turns it back on. That is fine, providing the following issues can be addressed.
- When I first plug in an external display that has a different resolution than my laptop display, it changes the desktop portion of my laptop, but leaves the screen resolution unchanged and the shelve remains centered in the screen. See the following screenshot, you will noticed the black area. The mouse and windows can still go there, but the wallpaper and desktop icons cannot. That is new with 0.24.0
- After plugging in an external display to my laptop, sometimes I can close the lid and the laptop will not suspend, other times it will suspend. I cannot figure out the order. It seems to be related to being plugged into power rather than running on battery, but that is not consistent. At times, when I close the lid to my laptop, I get a popup that E is busy with another request and is in the process of suspending, when it is not. See the following screenshot. Once that popup comes up, I cannot log out, restart/reboot, or any other system actions. I cannot even switch to another VT via CTRL-ALT. It does seem to go away and restore system actions and suspend when I unplug the external display.
- Sometimes after unplugging the external display, when I close the lid on my laptop, it does not suspend. Other times, it does suspend, or the ability to suspend on lid closure is restored. It is very inconsistent, and I cannot figure out the order.
There seems to be some order with the laptop being plugged into power and plugging in an external display. If things get out of sync, lid closure with external display plugged in suspends, rather than just turning off the laptop display. Other times, it works as intended and I can close my laptop lid without suspending with external monitor.
For #3, if I unplug the external display before I unplug from power, that seems to restore the ability to suspend on lid closure. It is more #2 that does not work consistently. Plugging in external display, when laptop is plugged into power, close lid and laptop suspends. In addition to #1 that happens all the time.
If I reboot, and before E starts I close the laptop lid or it is already closed, then it starts with only my external display. The changes do seem to work at times, and are very nice overall. Once things are working as intended, there will be no need for the script I used to run to toggle displays on/off. Until then, it is driving me crazy as I do not seem to have any control over the displays or suspension on lid closure. Nor can I figure out the order to get things to work as intended.
On a side note, for the first time, my laptop display and external display will go to sleep with synergy running. That has not happened with any other desktop I have run. The only issue there is, if the mouse/cursor is on that display controlled via synergy from another system, the backlight remains on. If the cursor is not there, the backlight turns off. No clue if that is related to the changes or not, but I am pleased that my laptop displays turn off while synergy is running.
Thank you for your consideration of these issues, and for your time in confirming and resolving.