How to configure a -quirk option for suspending when the lid is closed?

Adam Funk a24061 at ducksburg.com
Wed Jan 13 20:22:51 UTC 2021


I did a clean installation of Ubuntu-MATE on a family member's laptop
yesterday, and then we ran into the 'GPU HANG' bug in recent versions
of the i910 video driver.  I fixed that by following the advice here:

<https://askubuntu.com/questions/1305989/applications-fail-to-launch-in-ubuntu-20-04-desktop/1307395#1307395>

<https://www.dell.com/support/kbdoc/en-uk/000123893/manual-nomodeset-kernel-boot-line-option-for-linux-booting?lang=en>

adding the nomodeset kernel option.  Now we've hit the bug described
here:

<https://dev1galaxy.org/viewtopic.php?id=1996>

so the second time the lid is closed (qto suspend), the system won't
wake up properly.  The solution there is to use the command

sudo pm-suspend --quirk-dpms-on

but that relies on running the command in a terminal from the pm-utils
package.  How can I configure Ubuntu-MATE to use that option to
suspend when the lid is closed?

Thanks!





More information about the ubuntu-users mailing list