![]() ![]() |
Nov 7 2006, 08:16 AM
Post
#16
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
QUOTE(Meanie @ Nov 7 2006, 09:21 AM) I managed to rewrite the applet while everyone was watching the horse race.Here's the rewritten version. It has some more features, but needs much more testing also... Wow! That was fast Here's how it works for me so far: I get a popup notification on insertion of usb drive using /mnt/usbstorage directory. Unmount option now works. After unmount, this item disappears from the list (no option to remount) Not sure if this is intended behavior. No popup notification on insertion of usb mouse, but it shows up in the list. Not sure if this is intended behavior. Nice work. Thanks for this update. Regards, Doug |
|
|
|
Nov 7 2006, 10:04 AM
Post
#17
|
|
|
Group: Members Posts: 34 Joined: 13-April 05 Member No.: 6,868 |
QUOTE(dougeeebear @ Nov 7 2006, 12:16 PM) QUOTE(Meanie @ Nov 7 2006, 09:21 AM) I managed to rewrite the applet while everyone was watching the horse race.Here's the rewritten version. It has some more features, but needs much more testing also... Wow! That was fast Here's how it works for me so far: I get a popup notification on insertion of usb drive using /mnt/usbstorage directory. Unmount option now works. After unmount, this item disappears from the list (no option to remount) Not sure if this is intended behavior. No popup notification on insertion of usb mouse, but it shows up in the list. Not sure if this is intended behavior. Nice work. Thanks for this update. Regards, Doug Nice update indeed. In my case, though, I do not see an icon in the the statusbar. Instead, there is blank space. When I click on the space, it shows me the various options: "Unmount usbstorage1", "Mount USB ZIP" and "Mount CD-ROM". By the way, the blank spot (or potential icon) only shows up after I attach the USB cable and the USB flash drive to the Z. Thanks again! N. C3000, Sharp ROM |
|
|
|
Nov 7 2006, 12:55 PM
Post
#18
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
|
|
|
|
Nov 7 2006, 01:09 PM
Post
#19
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(dougeeebear @ Nov 8 2006, 06:55 AM) QUOTE(John Galt @ Nov 7 2006, 12:04 PM) Do you have Meanie's System Info ipk installed? It containes the icon the usbapplet uses, but I don't think sharp's default system info does. i will repackage it with its own icons eventually once i got it fully functional. functionality first, then the art work can begin everything seems to be working ok, except the keyboard/mouse notifications sometimes dont happen, but they sometimes do so i dont know what is wrong |
|
|
|
Nov 7 2006, 01:47 PM
Post
#20
|
|
|
Group: Members Posts: 34 Joined: 13-April 05 Member No.: 6,868 |
QUOTE(dougeeebear @ Nov 7 2006, 04:55 PM) QUOTE(John Galt @ Nov 7 2006, 12:04 PM) Do you have Meanie's System Info ipk installed? It containes the icon the usbapplet uses, but I don't think sharp's default system info does. I don't think I do...I will search for it and install it. Thanks! |
|
|
|
Nov 7 2006, 01:54 PM
Post
#21
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
QUOTE(John Galt @ Nov 7 2006, 03:47 PM) QUOTE(dougeeebear @ Nov 7 2006, 04:55 PM) QUOTE(John Galt @ Nov 7 2006, 12:04 PM) Do you have Meanie's System Info ipk installed? It containes the icon the usbapplet uses, but I don't think sharp's default system info does. I don't think I do...I will search for it and install it. Thanks! You will find it at the link in Meanie's sig. There are also some updates to it here |
|
|
|
Nov 7 2006, 10:09 PM
Post
#22
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
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 |
|
|
|
Nov 8 2006, 04:19 AM
Post
#23
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
here's the updated package
Attached File(s)
|
|
|
|
Nov 8 2006, 06:05 AM
Post
#24
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
Nice job.
I see the two menu items "Mount USB ZIP" and "Mount CD-ROM" are not listed now. I assume they only show up if they are plugged in (which makes sense). I don't have either one to check it out. Thanks again for this very handy application. Doug |
|
|
|
Nov 8 2006, 01:29 PM
Post
#25
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
Here's a little icon I whipped up for usb storage.
To use it, save image as "usbstorage.png" and copy it to /home/QtPalmtop/pics144/usbmon It would also be kind of neat if there could be separate icons for the mouse and keyboard
Attached File(s)
|
|
|
|
Nov 8 2006, 05:26 PM
Post
#26
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(dougeeebear @ Nov 9 2006, 07:29 AM) Here's a little icon I whipped up for usb storage. To use it, save image as "usbstorage.png" and copy it to /home/QtPalmtop/pics144/usbmon It would also be kind of neat if there could be separate icons for the mouse and keyboard send me more nice looking images and I will add them to the package btw, the USB ZIP and CDROM will only appear if they are detected, ie automounter script detects them and creates the required mount points for them. (ie, /mnt/cdrom /mnt/usbzip). Unfortunately, this means, once, you have those directories, they will always appear, even when they are not plugged in. I will need to fix that eventually... |
|
|
|
Nov 8 2006, 06:15 PM
Post
#27
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Meanie @ Nov 9 2006, 11:26 AM) btw, the USB ZIP and CDROM will only appear if they are detected, ie automounter script detects them and creates the required mount points for them. (ie, /mnt/cdrom /mnt/usbzip). Unfortunately, this means, once, you have those directories, they will always appear, even when they are not plugged in. I will need to fix that eventually... fixed that now I will repackage again and include more images. The applet will look for the following images under usbmon: usbbluetooth.png usbethernet.png usbmouse.png usbkeyboard.png usbzip.png usbcdrom.png usbstorage.png usb-host.png I will just link all those images that I don't have to usb.png so you can break the link and replace with appropriate icons in the future... |
|
|
|
Nov 9 2006, 04:28 AM
Post
#28
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
QUOTE(Meanie @ Nov 8 2006, 08:15 PM) I will just link all those images that I don't have to usb.png so you can break the link and replace with appropriate icons in the future... So do you mean the applet will use the icons if they exist, otherwise it will use usb.png? I'll look around for some icons that will fit in and look good. (I cheat and save them from various sites and edit them). The keyboard might be hard to get a good looking one. Here's one for the usbmouse:
Attached File(s)
|
|
|
|
Nov 9 2006, 04:55 AM
Post
#29
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(dougeeebear @ Nov 9 2006, 10:28 PM) QUOTE(Meanie @ Nov 8 2006, 08:15 PM) I will just link all those images that I don't have to usb.png so you can break the link and replace with appropriate icons in the future... So do you mean the applet will use the icons if they exist, otherwise it will use usb.png? I'll look around for some icons that will fit in and look good. (I cheat and save them from various sites and edit them). The keyboard might be hard to get a good looking one. Here's one for the usbmouse: I added the icons you posted. The applet will use the images of those names which are symbolic links to usb.png, so all you need to do to customise them is to delete them and replace with your own image. removed attached package. see newer post for fixed package This post has been edited by Meanie: Nov 9 2006, 04:52 PM |
|
|
|
Nov 9 2006, 05:33 AM
Post
#30
|
|
![]() Group: Members Posts: 549 Joined: 8-July 04 From: Mid-South, USA Member No.: 3,959 |
This is nice.
One question: (since I only have a usb drive and a mouse, I can't check other items) On the mouse popup detected/unplugged notifications I get the mouse icon ok. On the usbstorage popup mounted/unmounted notifications I get the usb.png icon, but the usbstorage.png icon displays ok in the menu. Not sure what's going on there. I'm using /mnt/usbstorage (I don't have automounter installed). Maybe that's the problem. Thanks, Doug |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 09:35 PM |