If you don’t wanna read my notes below the first break, I have a couple questions:
Note that I had planned on doing a fresh install of linux mint after solving this lid closed behavior problem, for a couple reasons.
-
It seems that the issue was with the UPower service, and needing to force it to “ignore the lid being closed”…? But seeing as I’d followed all the other methods/settings in increasing order to try and solve the problem, and they didn’t solve it, I now don’t really know what all of those settings are actually doing now. I’d like to only have settings changed that need to be changed. I changed settings in the GUI, in systemd, and in dconf. Those are what I remember. Is it possible I only actually needed the setting(s) in UPower.conf and, say, one other thing? Eg: Once the Upower.conf setting is done, then the settings in the GUI would do what I need? Or the GUI settings and systemd? Or systemd and dconf? Etc. Know what I mean?
-
I have some screenshots of the Display prefs that I’d like some thoughts on. I took them yesterday, before fixing the issue. I’ll post them here when I get a minute.
-
I think if I were using linux mint, with the laptop lid closed, as I am right now, and then I were to restart it, that it wouldn’t actually start up (or start all the way up) and get to the point where the login screen would be displayed on the external monitor. For a couple reasons maybe.
a) The system/sdd is encrypted (twice?). When I installed linux mint, I remember options to encrypt two things (maybe the system and the home folder, or something).
b) Maybe something to do with peripherals? It doesn’t seem like linux connects with logitech mx keys mini keyboard until I’m fully logged in and I press a key on it. It’s connected via bluetooth I think (plain bluetooth - not the unified adapter nor logibolt adapter). The mouse, a logitech mx vertical mouse, is connected via the unified adapter (I checked, and when I remove the adapter, the mouse looses connection).
c) Oh, right - and the third thing is that the boot sequence has the other drive, with windows on it, above the “Ubuntu”/linux mint" drive.
I remember now, I actually tried last night, while in linux mint with lid closed, to open the lid enough to be able to reach the F12 key, then clicked restart, then pressed F12 upon restart, then chose the “Ubuntu/LM” drive, then I closed the lid again, to see if it’d display any login or decrypt/login screen on the external monitor. It did not. I had to open the the lid again (and I don’t remember actually if this was before or after the “decrypt” login screen that I closed the lid back down (after selecting to boot from “Ubuntu/LM” drive) ).
A note on my brief xrandr attempt is down below. Don’t know what it might have done, if anything.
-I’m becomming addicted to using the ai-gorythms.
From my “Notes”;
Here’s what I’d done previously, around Aug/17, when I tried xrandr:
-I’m asking grok and gemini for answers.
-I’m using this command xrandr --output --primary --auto
-I find the external monitor name using command xrandr. It’s "DP-1-1.
-I insert “DP-1-1” in place of and hit enter.
-The external monitor goes blank/black. Fail.
-I think. I disconnect the video cable (dp adapter), and the plug it in. The external monitor turns on again.
-I don’t know what I just did now. It’s late. So after I check BIOS for something to do with power options or something, as ai suggested, I’m done for the night.
Notes from last night, leading up to “success”:
-I noticed some forum members and info using the term " upowerd.conf " or " .config " (I think), While others used the term " upower.conf " or " config ". Ie: some had a “d” in the term. Also, I think some had a lower case “u”, while some had an upper case “U”. So, I asked grok what’s the difference between " upowerd.conf and upower.conf, and I think the answer is basically that former refers to the “daemon”, and the latter refers to the “command line tool”.
Anyways, what I did last night that seemed to “fix” the problem is this:
-Following @funkyfunk’s post, I used his command gedit /etc/UPower/UPower.conf. I wasn’t sure it’d work because grok gave a slightly different command (something in there about directing to a folder, or root, or something, to avoid potential issues) but I just went with funk. I pasted the command, entered password and opened the file in gedit. I changed the " =false " to " =true ". I saved the file. I closed gedit.
-I then tried to use a terminal command that is supposed to “restart the systemd services” or something. After that I tested closing the lid. The external monitor turned off. (Maybe there’s a command to restart… UPowerd service or something, I duno?)
-I decided to restart the laptop. After logging in, and at the desktop, I tried closing the laptop lid and the external monitor stayed on. Finally.