Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 5908  / 3 Years ago, sun, june 6, 2021, 4:09:33

I am looking for a way to get my computer to automatically shutdown when I press the power button. I have installed Ubuntu 12.10 minimal. A similar question is asked here. However, with Ubuntu Minimal, I do not have the /etc/acpi/ directory, most likely because ACPI does not come installed by default?



Is there a way to shutdown the computer nicely via the power button without the use of ACPI? Or do I have no choice but to install it?


More From » 12.10

 Answers
7

ACPI is the actual system responsible for handling such power related tasks. Without ACPI support (either software or hardware), you won't be able to listen to the power button event.



For Ubuntu installing the acpid Install acpid package should be sufficient. This provides the event daemon listening for events such as pressing a power button. It is installed on regular Ubuntu versions, but as you've installed a minimal version, it was omitted.



On a minimal/server installation, the installation can be performed on the command line like any other package:



sudo apt-get install acpid

[#30643] Tuesday, June 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
soahan

Total Points: 230
Total Questions: 123
Total Answers: 123

Location: Maldives
Member since Tue, Dec 21, 2021
2 Years ago
;