#!/usr/bin/env python
import dbus
remote_bus = dbus.SessionBus()
out_connection = remote_bus.get_object('com.Skype.API', '/com/Skype')
out_connection.Invoke('NAME mySkypeController')
out_connection.Invoke('PROTOCOL 5')
out_connection.Invoke('FOCUS')
Then in fvwm add something like:
DestroyFunc showSkype
AddToFunc showSkype
+ I Next ("skype") close
+ I none ("skype") exec exec /usr/local/sbin/showskype.py
No comments:
Post a Comment