View Single Post
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#122
Originally Posted by AlMehdi View Post
The easiest would be to write "dmesg" in terminal. You could test it with open and close the keyboard. Am not sure if bt will show upp there though. Another way would be to use "lshal |grep <device>". Am not sure what the device name would be. But if you try computer_logicaldev it will show a 0 or 1 if it is connected or not.
I haven't tried dmesg but hal was what I was using and for some others it wasn't suitable. However, I have switched to dbus signals listening as suggested by atunguyd and came up with this one, again it works here and hopefully it does for others too now Plz try and let me know. Thanks
Attached Files
File Type: deb psswitcher_0.2-2_armel.deb (24.3 KB, 144 views)
 

The Following User Says Thank You to jaeezzy For This Useful Post: