Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a product, which was developed for Windows. Because of customer request we are developing it for Linux also. So being a beginner to Linux, have migrated most of it (which I loved it).

Now got stuck where I want lock/unlock events to be captured from OS ("System Event Notification Service(SENS)" in Windows). Gone through a lot about Gnome screensaver which gives D-Bus interface to find out lock/unlock events. If instead xscreensaver is running, which doesn't provide any such interface(I Guess). Is there any concrete solution for this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.