Re: [DNG] How to change the action of the computer's power button?

2020-01-06 Thread Stephane Ascoet via Dng

Florian Zieboll :

Did you have a look at (man) acpid?


Hi, and have I nice year! Yes of course it was in /etc/acpi/events :-)

I used to play with this 15 years ago but thought it changed since then...

--
Sincerely, Stephane Ascoet

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-03 Thread Arnt Karlsen
On Mon, 2 Dec 2019 16:32:59 +0100, Stephane wrote in message 
:

> Le 02/12/2019 à 16:03, Mark Hindley a écrit :
> > Did you mean no you don't have elogind installed?  
> 
> It's in status "p" in Dpkg
> >
> > If so, what are you using? pm-utils?  
> 
> Apparently yes
> For example, "pm-suspend" works

..my favorite is "pm-suspend-hybrid", works "right out of the box" 
both with vdev and eudev IME without any configuration on my part. 

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-03 Thread Olaf Meeuwissen via Dng

Stephane Ascoet writes:

> Le 02/12/2019 à 15:23, Mark Hindley a écrit :
>> Are you using elogind? If so you can change the defaults in
>> /etc/elogind/logind.conf.
>
> Thanks for the answer but no, and it happens even in TTYs, so I assume
> it's the set at a low-level in system

Hmm, also happens at TTYs you say ... I was thinking the pf, pn and po
settings in /etc/inittab might be involved but I can't seem to find the
/etc/init.d/powerfail script these want to invoke ...
Neither does apt-file search, on ascii at least.

Really low-level, something in your BIOS settings perhaps.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Florian Zieboll
On December 2, 2019 3:04:08 PM GMT+01:00, 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$


Did you have a look at (man) acpid?

Libre Grüße,
Florian
-- 
[message sent otg]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Stephane Ascoet

Le 02/12/2019 à 16:03, Mark Hindley a écrit :

Did you mean no you don't have elogind installed?


It's in status "p" in Dpkg


If so, what are you using? pm-utils?


Apparently yes
For example, "pm-suspend" works
--
Cordialement, Stephane Ascoet

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Mark Hindley
On Mon, Dec 02, 2019 at 02:52:32PM +, Mark Hindley wrote:
> On Mon, Dec 02, 2019 at 03:41:38PM +0100, Stephane Ascoet wrote:
> > Le 02/12/2019 à 15:23, Mark Hindley a écrit :
> > >Are you using elogind? If so you can change the defaults in
> > >/etc/elogind/logind.conf.
> > 
> > Thanks for the answer but no, and it happens even in TTYs, so I assume it's
> > the set at a low-level in system
> 
> Have you tried? AFAIK elogind covers ttys as well.

Sorry, I think I may have misunderstood your reply.

Did you mean no you don't have elogind installed?

If so, what are you using? pm-utils?

Mark
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Mark Hindley
On Mon, Dec 02, 2019 at 03:41:38PM +0100, Stephane Ascoet wrote:
> Le 02/12/2019 à 15:23, Mark Hindley a écrit :
> >Are you using elogind? If so you can change the defaults in
> >/etc/elogind/logind.conf.
> 
> Thanks for the answer but no, and it happens even in TTYs, so I assume it's
> the set at a low-level in system

Have you tried? AFAIK elogind covers ttys as well.

Mark
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Stephane Ascoet

Le 02/12/2019 à 15:23, Mark Hindley a écrit :

Are you using elogind? If so you can change the defaults in
/etc/elogind/logind.conf.


Thanks for the answer but no, and it happens even in TTYs, so I assume 
it's the set at a low-level in system

--
Cordialement, Stephane Ascoet

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to change the action of the computer's power button?

2019-12-02 Thread Mark Hindley
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.

Mark
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] How to change the action of the computer's power button?

2019-12-02 Thread Stephane Ascoet
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$

--
Sincerely, Stephane Ascoet

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng