Project

General

Profile

Actions

Emulator Issues #10392

closed

Dolphin should inhibit the screen on Linux systems

Added by eang over 7 years ago. Updated 2 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
2409-136

Description

On Linux it can happen that joystick keypress are not detected by the desktop environment (due to display server limitations). This causes the screenlocker to kick in while a game is being played, because the system looks idle (if you are playing with a joystick, both mouse and keyboard are idle).

There is a standard dbus api that can be used to inhibit the screen locker 1. This is what browsers and video player use to prevent this issue.

I heard that dolphin is switching to Qt, so it would be trivial to call the inhibit dbus method thanks to qdbus (i.e. something like https://github.com/KDE/kronometer/commit/98bbb8f8ab1b79158f68d29d5b64aee4b6235843).


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #11749: XUbuntu Disco Dingo - Dolphin does not prevent monitor standby/screensaverDuplicate

Actions
Actions

Also available in: Atom PDF