Hey, folks, I’m hoping someone here can help me out.
I have a laptop that has been messed up for a while, and I just got it repaired. I was using as basically a desktop, external monitor, mouse, keyboard. I just got it repaired and would like to use it as a laptop again. My problem is that something like 2 years ago, I edited some setting so that I could close the lid of the laptop and it wouldn’t suspend, but I can’t remember how I did it, and now it won’t suspend when I close it, which is less than convenient for use as a laptop.
I googled, but it’s not in GNOME tweaks anymore, and I’m not sure how to do any of the stuff I see people posting about terminal commands. I can follow instructions for command line stuff, but I sort of need it spelled out for me from step 1.
Any help is really appreciated. Thanks in advance!
If I’m reading it right, it’s saying it should be working?
/usr/lib/systemd/logind.confcody@fedora:$ systemd-analyze cat-config systemd/logind.conf | grsystemd-analyze cat-config systemd/logind.conf | grep -i lid #HandleLidSwitch=suspend #HandleLidSwitchExternalPower=suspend #HandleLidSwitchDocked=ignore #LidSwitchIgnoreInhibited=yes cody@fedora:~$ grep -i lid /etc/UPower/UPower.conf
Do we ignore the lid state
Some laptops are broken. The lid state is either inverted, or stuck
IgnoreLid=false
If any value is invalid, or not in descending order, the defaults
If any value is invalid, or not in descending order, the defaults
cody@fedora:~$
Apparently # makes a line huge? All the huge lines are preceded by a #
# at the beginning of a line followed by a space is markdown for a H1 format. That’s why it gets huge. You can escape this formatting with \
Thank you!
I think so, but I might be overlooking something.
As macniel said, a line starts with “#” is converted to a heading. To post preformatted lines such as the log or source code, you can use “fenced code block”. For example,
``` foo #bar baz ```
becomes
foo #bar baz
Thanks for teaching me something! :)
Any idea what to do about the lid close issues with that output? I’m stumped, but I’m stumped easily, so I’m not sure how dead-endy this is haha
It’s not a dead end :) Can you
"systemctl suspend"
suspends your machine to check suspend work"gnome-tweaks"
and there’s no suspend inhibitor in the “Startup Applications”"systemd-inhibit | less"
to know who inhibit the suspend"gsettings list-recursively | grep -i 'lid\|suspend'"
(Please remove enclosing double quotes when you try them.)
I really appreciate your help, but I had to do a fresh install of Fedora last night. It was having major issues after I updated to 40. I hadn’t used the laptop in nearly 2 years, and I think it just messed up when I updated it. It is working perfectly now, though!
My main issue now is that I got nextcloud through hertzner to back up everything before I reinstalled, and I accidently rented a server on there in addition to the storage share, and I’m not sure how to give it back 😭
Oh it was hard. FYI Fedora supports a major version for a year. To upgrade from non-supported old version, additional steps may be required:
I hope you could solve the new issue too.
Yeah, that’s what I get for not reading well enough and just busting my way through like a bull in a china shop. Lol. Lesson learned, though.
I really appreciate all your help. Honestly, it’s one of the best things about switching to Linux, since I have, any time I’ve had any issue, even minor stuff, people have jumped on the chance to help me learn and fix it. It’s been amazing. And then switching to Lemmy has just made that experience even better