Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#7824 closed defect (fixed)

Use org.freedesktop.ScreenSaver API to inhibit screensaver

Reported by: hadess Owned by: courmisch
Priority: normal Milestone: 2.1.0 release
Component: Video: X11 Version: master git
Severity: normal Keywords:
Cc: Difficulty: unknown
Platform(s): GNU/Linux Work status: Not started

Description

As discussed on ticket 4739.

I've implemented the "freedesktop"[1] interface in GNOME, it will be available for GNOME 3.6 (the current version) and later[2].

Please use this (the inhibit/uninhibit calls) to implement the screensaver inhibition in VLC.

[1]: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/master/entry/ksmserver/screenlocker/dbus/org.freedesktop.ScreenSaver.xml [2]: https://bugzilla.gnome.org/show_bug.cgi?id=689225

Change History (7)

comment:1 Changed 2 years ago by courmisch

  • Component changed from Unknown to Video: X11
  • Milestone changed from Bugs paradize to 2.1 bugs
  • Owner changed from jb, fkuehne to courmisch
  • Platform(s) changed from all to GNU/Linux

comment:2 follow-up: Changed 2 years ago by courmisch

So basically, org.freedesktop.Screensaver should be used instead of org.freedesktop.PowerManagement, shouldn't it?

comment:3 in reply to: ↑ 2 Changed 2 years ago by hadess

Replying to courmisch:

So basically, org.freedesktop.Screensaver should be used instead of org.freedesktop.PowerManagement, shouldn't it?

Yep, though you could probably drop using both interfaces and have only one. Won't hurt having both.

comment:5 Changed 2 years ago by courmisch

I don't understand how I'm supposed to deal with audio playback. We need to keep the processor and memory running, but we don't care about the screensaver.

That would be a huge regression from existing builds.

comment:6 Changed 2 years ago by courmisch

  • Resolution set to fixed
  • Status changed from new to closed

comment:7 Changed 2 years ago by remi@…

commit 5fe4b004e254b6091f997b394190ad1609c67aa8 Author: Rémi Denis-Courmont <remi@…> Date: Fri Dec 7 22:23:27 2012 +0200

dbus_screensaver: add o.fd.ScreenSaver? support (fixes #7824)

Note: See TracTickets for help on using tickets.