[kde-linux] Howto issue commands on locking an unlocking the session



Hello,

I was inspired by the behavior kopete is showing on locking the session
manually (e.g. turning on the screensaver with a black screen) and
automatically setting the away status of my instant messenger. For
Jabber I'd like to use a different client (gajim) that is not as
integrated in kde as kopete is. The client provides a dbus interface and
I'm able to change the status issuing some commands.

How can I use the kde infrastructure to easily issue the appropriate
commands on locking and unlocking the screensaver? I preferably use the
facility kde provides for locking the session. Are there any events I
can hook upon? Any hints to the documentation for reading or ideas how
to implement it would help me.

Well, I could simply rely on the status change after 5 minutes. But I
want to prevent that delay and let the messenger turn to away just in
the moment I lock my machine. Thank's for your reply.

Greetings, Nico.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Relevant Pages

  • RE: Screen goes black
    ... users minimize RPD session and when the try to ... The users in the same location as the server don't ... protect screensaver ... Microsoft Global Technical Support Center ...
    (microsoft.public.windows.terminal_services)
  • [Usability] Screensaver and idle time
    ... The gnome-screensaver has a control "Set session as ... idle after...", which sets the session idle time. ... It doesn't necessarily start the screensaver after ... "Use the slider to set the screensaver delay time. ...
    (GNOME)
  • RE: Setting Session Timeout, HOW?
    ... You can try to configure a screensaver as winexit.scr. ... screensaver to be launched for the time you want to the session to be ... This posting is provided "AS IS" with no warranties, ... | Anyone know how to set session time out for administrator login using RDP. ...
    (microsoft.public.windows.terminal_services)
  • Re: Lock Screen as root
    ... the machine is running init 5 and it is the default X session, ... restarts the X session and doesn't give cmd-line access. ... When I tried this as root, it hung the system, and X did not restart. ... Is the misbehavior of the screensaver ...
    (Fedora)
  • Re: autologout with CDE
    ... > I myself would be tempted to tie it in with the screensaver, ... > write a script that stands in for the screensaver and itself ... then kill the session. ... > why their keyboard acting funny... ...
    (comp.unix.solaris)