Recent

Author Topic: prevent system lock  (Read 1388 times)

franciscoluiz

  • New Member
  • *
  • Posts: 25
prevent system lock
« on: November 15, 2018, 08:47:54 pm »
I use linux (manjaro + kde), and would like to know how to prevent, via code, that the system lock (after a few minutes of inactivity, the system is locked and back to login)

yes, I could change the power settings / screen saver... but I would like to do this via code... just like other programs already do, like vlcplayer...

can someone help me, please?

Handoko

  • Hero Member
  • *****
  • Posts: 5130
  • My goal: build my own game engine using Lazarus
Re: prevent system lock
« Reply #1 on: November 15, 2018, 08:51:19 pm »
I haven't tried but this seems to answer your question:
https://forum.lazarus.freepascal.org/index.php?topic=43135.0

 

TinyPortal © 2005-2018