Re: Behaviour change when closing laptop lid: it no longer suspends

2021-01-14 Thread Tobias Geerinckx-Rice
Maxim, Maxim Cournoyer 写道: Shouldn't that be the default behavior though? That's subjective. I don't think we should ever editorialise if that's what you mean: Guix service configuration wrappers should strictly wrap, not tweak defaults on a (majority) whim. However, here our wrapping is

Re: Behaviour change when closing laptop lid: it no longer suspends

2021-01-14 Thread Maxim Cournoyer
Hi Tobias, Tobias Geerinckx-Rice writes: > Maxim, > > Maxim Cournoyer 写道: >> Shouldn't that be the default behavior though? > > That's subjective. I don't think we should ever editorialise if > that's what you mean: Guix service configuration wrappers should > strictly wrap, not tweak

Re: Behaviour change when closing laptop lid: it no longer suspends

2021-01-14 Thread Maxim Cournoyer
Hi Tobias, Tobias Geerinckx-Rice via writes: > Pierre, > > Tobias Geerinckx-Rice 写道: >> I'll add the above to my next reconfiguration (tonight or tomorrow) >> and will let you know what happens here. > > I hoped to gleefully report failure (especially after Maxime's > message), but my X230T

Re: Behaviour change when closing laptop lid: it no longer suspends

2020-12-19 Thread Tobias Geerinckx-Rice via
Pierre, Tobias Geerinckx-Rice 写道: I'll add the above to my next reconfiguration (tonight or tomorrow) and will let you know what happens here. I hoped to gleefully report failure (especially after Maxime's message), but my X230T suspends fine on mains power with the following snippet:

Re: Behaviour change when closing laptop lid: it no longer suspends

2020-12-18 Thread Maxim Cournoyer
Hi Pierre, I just wanted to share that I've experienced the same on an x200 laptop (closing the lid no longer puts it into suspend mode). It seems a regression; we should try to bisect which commit introduced it. elogind? kernel? All bets are off! Maxim

Re: Behaviour change when closing laptop lid: it no longer suspends

2020-12-18 Thread Tobias Geerinckx-Rice
Pierre, Pierre Neidhardt 写道: I tried --8<---cut here---start->8--- (elogind-service-type config => (elogind-configuration (inherit config) (handle-lid-switch-external-power

Re: Behaviour change when closing laptop lid: it no longer suspends

2020-12-18 Thread Tobias Geerinckx-Rice
Pierre, Pierre Neidhardt 写道: Since I've reconfigured my system some weeks ago, I've noticed a change with my laptop: when the power cable is in, closing the lid no longer suspends the machine. Interesting that it ever did: according to the manual (and AFAIK) the default

Behaviour change when closing laptop lid: it no longer suspends

2020-12-18 Thread Pierre Neidhardt
Since I've reconfigured my system some weeks ago, I've noticed a change with my laptop: when the power cable is in, closing the lid no longer suspends the machine. I'd like to get the old behaviour back. Any idea? I'm on cebfb29abb151ede95696181d2446c63504593d7 with Linux 5.9.12. -- Pierre