且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何心跳X11屏幕保护程序?

更新时间:2023-11-14 12:28:10

如果这是在现代 Linux 系统上,首选的 FreeDesktop 方法是 ping DBus 接口,特别是 org.freedesktop.ScreenSaver.SimulateUserActivity() 或公开界面的其他部分,具体取决于您的需要.

If this on a modern Linux system, the preferred FreeDesktop method is to ping the DBus interface, specifically org.freedesktop.ScreenSaver.SimulateUserActivity() or another part of the exposed interface, depending on your needs.