elementary / wingpanel-indicator-session

Wingpanel Session Indicator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bring back the suspend option

tintou opened this issue · comments

The suspend button is now conditionally shown whether the lock-on-suspend property is set to true or false.

This property specifies whether the session will be locked after coming back from suspend or not, so this is unrelated here.

Systemd-logind via the org.freedesktop.login1.Manager interface of the system bus does provide a "CanSuspend" method to know if the system is able to suspend or not though.

I want to work on this. Related issue from 2021 #166. Even older issue #131 from 2020