I build a new version (1.0.2) to be uploaded later once I package it.
This version will contain the following features and enhancements:
a set of icons for the menu options and small tray icon
usb icon is displayed in tray when usb host cable and/or devices is/are plugged in
can unmount up to 4 USB disks/devices if used in combination with a USB hub and my automounter script
can unmount single USB disk/device using standard usb-storage script
can mount and unmount usb cdrom (without the need to physically unplug and replug the drive)
can mount and unmount usbzip (without the need to physically unplug and replug the drive)
detects when a usb device (mouse/keyboard/ethernet/bluetooth) is plugged in or unplugged. there will be additional item(s) in the usb menu and also a short popup notification (sometimes popup does not appear )
if a custom script exists (to be created by user) then the usb menu will have a start and a stop menu selection for the script.
ie. if there is a /opt/QtPalmtop/bin/usbethernet script and the applet detects a usb lan card being plugged in, then there will be two options added, one which call the usbethernet script with the start option being passed and one with the stop option being passed. This way, the usbethernet script can be tailored to be executed to for example connect to a specific network and disconnect from it. if the script does not exist, a single menu item will be added instead which does not do anything but just says USB Ethernet Detected.
currently, the following scripts can be added for customisation:
/opt/QtPalmtop/bin/usbbluetooth
/opt/QtPalmtop/bin/usbethernet
/opt/QtPalmtop/bin/usbkeyboard
/opt/QtPalmtop/bin/usbmouse