Open Oleksiy-Yakovenko opened 9 years ago
Comment #1 originally posted by Alexey-Yakovenko on 2012-04-19T11:52:30.000Z:
From: waker Date: 2012-01-19 14:31:27
hi can you explain your request in a bit more details, for those of us who don't use a computer as a hifi, and never uses suspend?
do you mean that the player should disallow automatic suspend while playing? does linux even have a standard suspend control daemon and a means to control it from applications? i guess there should be some way using kde or gnome libraries over dbus, or maybe even distro-specific ways.. which means, it should be handled by a specialized plugin for a particular DE. because normally linux itself doesn't auto-suspend, it's handled by DE.
Comment #2 originally posted by Alexey-Yakovenko on 2012-04-19T11:52:30.000Z:
From: gooddead Date: 2012-01-19 14:46:47
Sorry. Yes, that is, an option to disallow automatic suspend (sleep) while playing, just like VLC. I can use app for this called Caffeine, but it disallows screen sleep as well.
Using computer as a hifi is just that sometimes I don't work and leave it to play music.
Anyway, this is not a big deal really, but a little convenience if easy to do.
Hope clear now?
Comment #3 originally posted by Alexey-Yakovenko on 2012-04-19T11:52:31.000Z:
From: waker Date: 2012-01-19 15:36:56
yeah, it's clear. i'll take a look at how vlc handles it.
Comment #4 originally posted by Alexey-Yakovenko on 2012-04-19T11:52:32.000Z:
From: gooddead Date: 2012-01-19 15:38:28
Thank you.
Comment #5 originally posted by Alexey-Yakovenko on 2012-04-19T19:53:16.000Z:
<empty>
Comment #6 originally posted by Alexey-Yakovenko on 2012-05-01T18:37:30.000Z:
<empty>
Comment #7 originally posted by Alexey-Yakovenko on 2014-12-14T15:56:21.000Z:
There are dbus calls to inhibit and uninhibit power management, although inhibit should end automatically when the calling process terminates. http://www.freedesktop.org/wiki/Software/systemd/inhibit/
Dear devs, any news about this feature? In case, that not, I have found something on GTK+ reference pages: https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-inhibit
gtk_application_inhibit() may be called with a proper flag when one starts and stops playing.
This is also important on PinePhone, with its aggressive suspend-delay.
Original issue 768 created by Alexey-Yakovenko on 2012-04-19T11:52:29.000Z:
submitted by: gooddead Date: 2012-01-19 11:22:16
One sometimes uses the computer just as a hifi and an option to inhibit suspend (not screensaver) is necessary for this.
Regards.