[Pkg-kde-extras] kbluetooth autostart script

Achim Bohnet ach at mpe.mpg.de
Mon Aug 27 22:45:20 UTC 2007


Hi,
kbluetooth autostart has two problems:
	1) when there's no bt device on login, kbluetooth complains
	   and quits
	2) when a bt device is inserted later, kbluetooth is not started

Appended script kbt-wait fixes both problems (together with the modified
autostartup desktop file).  There's one little problem for kubuntu: kbt-wait
uses python-dbus pkg that is in universe, not in main as kdeblueooth.

It's my first python script, so things can maybe done more elegant.
Please test. Suggestions welcome.

Achim
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kbt-wait
Type: application/x-python
Size: 1089 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20070828/1c6f1282/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kbluetooth.autostart.desktop
Type: application/x-desktop
Size: 1530 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20070828/1c6f1282/attachment-0003.bin 


More information about the pkg-kde-extras mailing list