Autor: Mark Hindley Data: A: Stephane Ascoet CC: dng Assumpte: Re: [DNG] How to change the action of the computer's power button?
On Mon, Dec 02, 2019 at 03:04:08PM +0100, Stephane Ascoet wrote: > Hi, on the laptop of my work, pressing the power button while Devuan is
> running executes a shutdown, the default setting. It's a probleme for me,
> how can I change the command called? I've searched the Web and only found
> answers for Ubuntu(with Gnome, that I don't have installed) or even window$
Are you using elogind? If so you can change the defaults in
/etc/elogind/logind.conf.