Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: Desktop lock

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Desktop lock


    Is there any API to find out whether the desktop is locked?


  2. #2
    We need more information as to what led you to believe that your desktop may be locked and anything you did beforehand.

  3. #3
    Thanks for the reply.
    What exactly I am looking for is this -
    In a program that I am writing, it has to take some action if the computer is locked.

    if(is_comp_locked()) { /* then do this */}

    Hope I am clear now.


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts