You are not logged in.

#1 2017-05-02 19:16:25

jaro
Member
Registered: 2013-10-10
Posts: 25

[SOLVED] resume with power button after suspend

Hi,

I suspend my machine with:
systemctl suspend

I want to allow resuming it with power button and disallow with keyboard.
How can I do that ?

Great thanks for help.

Last edited by jaro (2017-08-07 19:30:12)

Offline

#2 2017-05-02 19:19:52

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] resume with power button after suspend

Have you read the relevant wiki articles?

Please search before posting a question.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#3 2017-05-02 21:26:18

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] resume with power button after suspend

Xyne wrote:

Have you read the relevant wiki articles?

Please search before posting a question.

I can't find what OP asked about anywhere in those articles. Did I overlook something?

Offline

#4 2017-05-02 21:35:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,469

Re: [SOLVED] resume with power button after suspend

It's not very straight forward, but the relevant hook is at the end of https://wiki.archlinux.org/index.php/Po … _hibernate

Offline

Board footer

Powered by FluxBB