Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im developing an application that has a fullscreen mode. Is there a way that I can disable the screensaver?

0
10 Posted

Im developing an application that has a fullscreen mode. Is there a way that I can disable the screensaver?

0
10

Yes. gnome-screensaver has a simple to use DBus API for this. The way it works is that your application will request that the screensaver activation on idle be “inhibited” until your application says that activation can be “allowed” or your application exits.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.