Thread
:
[ANNOUNCE] mbluetoothd
View Single Post
Matan
2009-02-15 , 20:51
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
5
The python program at
http://my.arava.co.il/~matan/770/dbu...ts-settings.py
Is based on mbluetoothdsettings, implementing the functionality using dbus-scripts mbluetoothd.
On improvement, in the ADD dialog, the bt addresses of paired device are available for selection, instead of needing to write them.
There are still issues with permissions:
* The configuration directory is not writeable by user - this needs to be corrected in the dbus-scripts package.
* The dbus-scripts daemon needs to be restarted when the configuration file is written, which again requires root permissions. This may be fixed in a few ways.
After I solve those problems, I will start to add other event types:
* network connect/disconnect (either specific network or any).
* lock/unlock keys.
* slide keyboard open/close.
* entering/leaving offline mode.
* screen dimmed/blanked.
* charger connected/disconnected.
* etc.
(all those events are supported by dbus-scripts, only GUI is needed).
P.S. this is the first time I edit a python program, so there might be better ways to do much of what I do.
Quote & Reply
|
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan