[Ekiga-list] python dbus script - pcspeaker

Damien Sandras dsandras at seconix.com
Thu Aug 3 20:05:40 UTC 2006


Le jeudi 03 août 2006 à 21:54 +0200, Fredrik Axelsson a écrit :
> Hi All!
> 
> I hacked up a little script which employs the pcspeaker as a ring
> device for ekiga. If someone has already posted something similar
> before I apologize.
> 
> For the script to work; 
> Ekiga needs to be compiled with dbus support 
> 
> Depending on your distro you will need packages that provide: 
>   - beep (a program which beeps the pcspeaker)
>   - python-dbus bindings (on gentoo they are included with dbus...I
> think)
>   - pygtk 
> 
> If you are using Linux, you will need a kernel compiled with
>  - CONFIG_INPUT_PCSPKR 
> 
> Note that beep might need to be set suid root to work when it's not
> used from a terminal. Look at the beep man-page for more information. 
> 
> Put the script in one of your session startup scripts. On my machine I
> have selected the script to be started along with gnome in the
> control-center dialog. It does not matter whether the script is
> launched before or after ekiga. A dbus session must exist though. 
> 
> The script can be extended in many ways, for example i use the python
> dcop extension to pause amarok when ekiga is ringing and a call is
> connected.
> 
> http://gitweb.freedesktop.org/?p=dbus-dbus-python;a=summary
> 
> Hope someone else will find this useful.
> 

Thanks for the work and the source!
-- 
 _      Damien Sandras
(o-     
//\     Ekiga Softphone: http://www.ekiga.org/
v_/_    FOSDEM 2006    : http://www.fosdem.org/
        SIP Phone      : sip:dsandras at ekiga.net
                         sip:600000 at ekiga.net




More information about the ekiga-list mailing list