View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#31
Originally Posted by Copernicus View Post
Actually, I'm not sure I can force the backlight to stay on from within the app itself.
You can do it with libx11 by setting the "_HILDON_DO_NOT_DISTURB" property: https://github.com/marxoft/qt-compon...creensaver.cpp.

NOTE: I'm not certain that the above example works. It may be necessary to pass the id of the application window, instead of using the desktop widget.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following 2 Users Say Thank You to marxian For This Useful Post: