Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Some Info to do with question . . .
I could not find out where the config file is for the default power settings or commands to change them.The best I've found is /etc/systemd/logind.conf. It doesn't have places for how long until suspend just if it's enabled or not and also it doesn't have a blank screen/monitor off only suspend and sleep-hybernate.
Right now it has default power setup.I think it's controlled by systemd, systemd-logind not 100% sure it's what ever the default install has. What controls the time to suspend by default?,name and default config location?
1. trying to set AC blank screen after 30min on BATT blankscreen after 10min sleep after 20min. This is all full terminal, no X gui
(from Arch Wiki)
"systemd cannot handle AC and Battery ACPI events, so if you use Laptop Mode Tools or other similar tools acpid is still required"
Main Question . . .
If I setup acpid and LMT or TLP will the default power management clash with a new one,If so how do I stop that from happening?
default power management being what Arch uses with fresh/new install.
Also which is best for easy setup and good control for what I want(goto 1, 2) Laptop Mode Tools, TLP or PowerTOP ?
2. also . . .
how to disable systemd-rfkill power event.So when system suspends it won't activate.(it won't turn off rfkill on resume)I have to manually rfkill unblock every time.
Is there a way other than systemctl mask systemd-rfkill.service
as this will completely disable rfkill making it so the stealth key aka All Radios Off switch on my keyboard is none operable.
feel like a idiot top of Arch power management Wiki page
Using these tools can replace setting a lot of settings by hand. Only run one of these tools to avoid possible conflicts as they all work more or less similar."
I read diffrent sections but didn't start from top so looks like the default power setup(still not 100% sure if it is systemd) will clash with Laptop Mode Tools and TLP
only way to stop this (that i can think of) is to edit /etc/systemd/logind.conf and add "ignore" to all rules. then I'll install TLP.
I'll repost results
Still if anyone knows we're the default rules (how long untill suspend) are I would appreciate it as systemd/logind.conf only has what to do on power events not how long until they are trigged. I did man logind.conf and it has nothing on what I am asking. Arch Wiki says that kernel parameters and udev rules also control power I don't know much about either. Some help would be nice I don't need everything handed to me just want a lead or a site reference.
Last edited by User9; 04-30-2016 at 03:29 PM.
Still can't figure it out so it must be in the kernel.So I'll just install Laptop Mode Tools, TLP has a default config with it,witch is always nice but no Terminal blanking so I'll go with Laptop Mode Tools. When I set it up if I get any errors or conflicts with the default(kernel?) power setup I'll repost else I'll post anyway with results.