It seems that every time I update openSUSE, not sure if it’s specifically when I update xfce, but it seems that xfce doesn’t remember my power settings nor display settings.
My settings are: when laptop lid closed, do nothing. And mirror displays to external monitor (tv).
So I open up my laptop, enter my encryption password, twice, close the lid, openSUSE boots, tv is connected and on, and so eventually it gets to the login screen, click on it, choosing xfce, login, and then laptop goes to sleep shortly thereafter, and no picture on the tv. I wiggle the mouse, press a key on the keyboard, and it comes back on, (my openSUSE is on an external hard drive connected by usb, and still no picture. Then I open the lid, there’s the picture, and so I have to choose the settings again so that xfce mirrors the displays. But the thing is, the setting to do nothing with the laptop lid closed is still the same - I don’t have to change that - but it still doesn’t work the way I’ve chosen.
Start with explaining how you set it up. What you did, what configuration files you edited, what programs you used (and screenshot from such program would help).
I just go into Settings, Power - change it so that when the laptop lid is closed, it does nothing; when I press the power button, shut down immediately. In Settings, Display - mirror displays. That’s my regular settings, but after an openSUSE update, and I’m not sure if it’s an xfce update specifically, but when I boot into xfce, my laptop lid of course being down because it’s connected by hdmi to an external monitor, the computer will go to sleep after a minute. Then I have to press a button to get it going again, get that blue light on my external hard drive where openSUSE is installed to light up again, I wait and wait, nothing coming up on the screen. Then, I open my laptop lid to see that only my laptop screen is showing. So I have to go to Settings, Display to mirror the displays, which really should be the default on every livecd for every linux distribution, should be the default, because the people who create these livecds are not considering that some people may have a laptop screen that doesn’t work, so that’s why “mirrored” should be the default. The power settings won’t have changed, but they aren’t being respected: the computer is still going to sleep after a minute or two of inactivity - but I will go back and double check those settings for going to sleep, but I’m sure that they are likely 5 min or 10 min. I’m not at my computer right now - using a different one. But I can tell you that this always happens after an update, not in every day use.
I did an offline update recently. zypper dup --download-only, and then when I went to run “zypper --no-refresh dup”, some of the packages hadn’t fully downloaded, so I labelled the download directory as a repository, and updated just from that, so it wasn’t a dup update, even though I did see the different boot screen, the blue one, where it talks about MOK Manager or something, and so when I logged into xfce, there wasn’t a problem, but perhaps this upcoming update will be different.
So this is what happened: I logged in, choosing xfce as my environment, and it was taking so long to load, so I pressed the power button a few times, didn’t shut down immediately as it usually does in KDE or GNOME, so I held down the power button and the system powered off. I turned on the computer again, and it turned on for a few seconds then turned off. I turned on the computer again, with the lid up, entered my encryption password, and pressed twice, then put the lid down. The computer was connected through HDMI to TV as usual. The computer went to sleep during the boot process, which is unusual. It’s like xfce deletes the lid settings or power settings and only writes the setting values back when it shuts down. Anyways, it’s not specifically my issue, but it’s close. And it’s uploaded to pastebin. Also as a side complaint, PackageKit runs its get-updates process, taking multiple seconds long even though the computer is in airplane mode, not connected to the web. https://paste.opensuse.org/pastes/3c78342c5630