Artix Linux Forum

Artix Linux => System => Topic started by: goose121 on 01 January 2018, 05:03:08

Title: Sleep quirks?
Post by: goose121 on 01 January 2018, 05:03:08
Is there any way to suspend with quirks like in the days of pm-utils? I'm trying to debug a mysterious graphics-card issue and I would like to experiment with some of them to see if they effect any change in my situation, but I can't seem to find any documentation about this for (e)logind online. (This issue was also present under systemd, by the way)
Title: Re: Sleep quirks?
Post by: robin0800 on 01 January 2018, 18:09:42
elogind uses loginctl for shutdown and reboot etc.
Title: Re: Sleep quirks?
Post by: fungalnet on 02 January 2018, 08:59:34
You may want to read up on ACPI (example: https://wiki.gentoo.org/wiki/ACPI#OpenRC)

What DE are you using? 
Title: Re: Sleep quirks?
Post by: goose121 on 05 January 2018, 01:17:31
Sorry about the extended wait, I was having account difficulties

I found out that sleep quirks were just done by a shell script in pm-utils, which can be found here (https://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/99video). I just had to copy-paste the scripts for the ones I wanted into the shell before suspending, but it could probably be done with a fancy script, if I felt like it