Summary: | Plugin to set away presence when locking screen | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Martin Klapetek <mklapetek> |
Component: | kded-module | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | heri+kde, kde, lucasbetschart, oliver.henshaw |
Priority: | NOR | ||
Version: | git-latest | ||
Target Milestone: | Future | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-kded-module/68d2b69a99b1f0eddf256578273890f99fdc8a93 | Version Fixed In: | 0.7.0 |
Sentry Crash Report: |
Description
Martin Klapetek
2012-01-08 21:04:02 UTC
Hi, I've implemented the UI and forked autoaway.cpp for a new lock screen away plugin. But I don't know where I can get the screenlocking signal from, can you give me a hint? Thanks! There's a DBus signal: org.freedesktop.ScreenSaver ScreenSaver org.freedesktop.ScreenSaver ActiveChanged And to connect to that signal you want to use QDBusConnection::sessionBus().connect(..), we do that in telepathy-mpris.cpp. Thanks btw :) Git commit 68d2b69a99b1f0eddf256578273890f99fdc8a93 by Martin Klapetek, on behalf of Lucas Betschart. Committed on 04/05/2013 at 11:07. Pushed by mklapetek into branch 'master'. Plugin to set status "Away" when screen gets locked REVIEW: 110260 FIXED-IN: 0.7.0 M +1 -0 CMakeLists.txt M +26 -0 config/telepathy-kded-config.cpp M +1 -0 config/telepathy-kded-config.h M +94 -2 config/telepathy-kded-config.ui M +10 -1 telepathy-module.cpp M +2 -0 telepathy-module.h http://commits.kde.org/telepathy-kded-module/68d2b69a99b1f0eddf256578273890f99fdc8a93 |