the-cavalry / light-locker

A simple session-locker for lightdm
GNU General Public License v2.0
224 stars 22 forks source link

light-locker suspends my qt application #164

Open rostrost opened 2 years ago

rostrost commented 2 years ago

I am using a qt GUI software for monitoring critical values of special hardware equipment and write them into an InfluxDB. When I am not in front of the computer, I need to lock the screen to prevent unauthorized access. So I click on "Lock Screen" in xfce. But then, my qt software is suspended and the values are not monitored anymore.

This should not be the case. It says "Lock Screen", not "Freeze my software". I expect that software is continuing to run when I click on "Lock Screen".

How can I configure light-locker not to suspend my software? Or how can I change my software so that it does not get suspended by light-locker?

jarnos commented 2 years ago

See this comment from a closed issue. You could set another locker depending on your Xfce version.

Freihut commented 1 year ago

As far as I could figure out, only qt-apps are being stopped. For example avidemux(qt) will stop encoding on screen-lock, while handbrake/ghb (GTK) keeps encoding.

Edit: Wrote a simple Lazarus-app which prints the actual datetime every second. Keeps on going compiled as GTK. Compiled as QT5 it stops while the screen is locked.

Screenshot_2023-09-18_19-53-11