-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello.
Great app and really nice coding style with all options and necessary information included in colorful menus.
I'll try to offer idea to Lubuntu/LXQT (which is my daily driver) devs to include it.
There could be enhancement (which could be chosen in install script) regarding information showed in notification. There could be option in addition to Product (name), include Manufacturer (name), Vendor:Product ID in xxxx:xxxx format and other option - include usb port number as well, like, usb 4-2 (sometimes you can have multiple similar devices and only way to differentiate them could be by port number). For some usecases (like debugging), on disconnection, time, how long this device has been connected, could be also useful.
One more thing - give also some kind of notification even if there is inserted defective usb device or it gives error. Otherwise, even if there is such info in dmesg, like
572269.709140] usb 1-1: new low-speed USB device number 120 using xhci_hcd
[572269.226186] usb 1-1: device descriptor read/64, error -71
[572269.914494] usb 1-1: Device not responding to setup address.
[572270.121131] usb 1-1: device not accepting address 120, error -71
[572270.649300] usb usb1-port1: unable to enumerate USB device
there is no any indication of connected device - not audible and not visible.
Thanks.
P.S. Here's I picked couple of links to ideas of fancy menus with moving cursor for Your future projects.
https://unix.stackexchange.com/questions/146570/arrow-key-enter-menu/415155
https://askubuntu.com/questions/1705/how-can-i-create-a-select-menu-in-a-shell-script
https://www.baeldung.com/linux/shell-script-simple-select-menu