CaptureDeviceTray 0.01

Dmitry Kuzmenko dmitry.a.kuzmenko at gmail.com
Wed Feb 9 11:18:44 CET 2011


Name: CaptureDeviceTray
Version: 0.01
Type: KDE Sound Application
Depend: PyKDE/PyQt
License: GPL
Homepage: 
More Info:
http://kde-apps.org/content/show.php?content=138463

Description:
 System tray application that can be kicked by
dbus and will switch CaptureDevice
to enabled or disabled state. The primary goals of
this software is doing the
following:
-- Show microphone capturing state.
-- Switch microphone capturing state by hotkey.

This is my first simple application on Python. It
was developed for Skype
meetings to be sure when microphone is enabled and
when it isn\'t.

To use it you need PyQt4 installed and kmix and
dbus running. When it launched
it puts microphone icon into the system tray. If
capture device is disabled, red
crossing circle will be added. Updating by alsa
notifications isn\'t implemented
yet, so you have only the following:
-- To switch current state to kmix, execute:
qdbus org.kde.capturedevice /CaptureDevice
org.kde.CaptureDevice.SwitchState
-- To re-read current state from kmix, execute:
qdbus org.kde.capturedevice /CaptureDevice
org.kde.CaptureDevice.UpdateState
-- To set up capture device name, place the device
name to CaptureDevice.conf.
Only one device could be specified for now. To
know your name, open kmix and
find the capture channel you need. I have two
capture channels: \"Capture\" and
\"Capture 2\". To use \"Capture\" put the
\"Capture:0\" line into config to use the
second one, use \"Capture:1\" etc.

To use the CaptureDeviceTray unpack the archive
somewhere you like. I\'m using
~/programs/. Then start the application via
krunner using full path. If you run
it via krunner it will be started again at login
automatically. Then you could
use context menu to check does it work. Then try
dbus commands listed above.

To bind hotkey for switch you can use Custom
Shortcuts in KDE System Settings ->
Shortcuts and Guestures. To add new shortcut click
Edit -> New -> Global
Shortcut -> DBus command. In trigger tab set your
hotkey, in Action tab set the
following:
Remote application: org.kde.capturedevice
Remote object: /CaptureDevice
Function: org.kde.CaptureDevice.SwitchState
Arguments: leave this field empty
Try Call button to check.





JOB RECOMMENDATION:
------
Trainee Software Entwicklung openDesktop.org - h i
v e 01 gmbh - trainee
 http://KDE-Apps.org/jobs/?id=370
------
Praktikant Programmierung ownCloud.org - h i v e
01 gmbh - trainee
 http://KDE-Apps.org/jobs/?id=109

more jobs: http://KDE-Apps.org/jobs/




More information about the Kde-announce-apps mailing list