Senior-Jesticle Asked: 2018-03-29 12:31:04 +0800 CST How to detect if computer is asleep 2 I am trying to find a way to query the state of my laptop from the terminal. I would like to know if it is asleep or awake. Is there a dbus query suitable for this? dbus detect
Senior-Jesticle Asked: 2018-03-21 09:37:09 +0800 CST How to detect if the Unity login screen is present 0 I am trying to run a program when the Unity lock screen is present but I cannot figure what or how I can listen for this event. unity events