Just a quick short blog post
As requested, I packed in the weekend USBControl as a seprate package. I also upgraded it so that it works even after a reboot. LOL. the previous one actually only worked until you rebooted the device and lost the access to edit your USB mode after that. LOL indeed. I didn't realize that, as I really don't reboot my device too often. Kudos to nokia for the stable device.
Anyway, the new package runs as sudo, so it's able to edit the file even later on. (security people can now cry iik!).
You can install it from here (yo need to have python installed before though):
I'll put it to repos in a few days time, but before that, try it out and let me know how you like (or dislike) it.
Current version also tells the status of the usb as well as the devices attached to your tablet.