You are not logged in.

#1 2025-10-22 03:32:33

Stratosnoffon
Member
Registered: 2022-07-10
Posts: 1

GNOME force suspend when pressing power button - ignore inhibition

Hi folks, recently got a touchscreen 2-in-1 laptop and decided to use GNOME on it as its user experience works best for me on said laptop.

I have a gripe, though, pressing the suspend button sometimes does not suspend the laptop due to inhibitors (e.g. Firefox is playing music or a video). I get that suspend inhibition is necessary for a laptop to not suspend randomly while watching a video; however, I want that functionality to be overridden when I explicitly want the laptop to suspend, either through choosing 'suspend' in the gnome-shell menu or pressing the power button, without having to pause videos/music.

KDE has this functionality, so I was wondering if something similar could be done on GNOME through configuration/extension. I couldn't seem to find anything online. Any help/guidance would be much appreciated.

Offline

Board footer

Powered by FluxBB