Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Sep 2014, 18:40
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
[Request]Automagically mount USB drives + add rox bookmarks
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [40 Posts]   Goto page: Previous 1, 2, 3
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Wed 02 Sep 2009, 03:55    Post subject:  

ecomoney; Here`s what I found...

1) While links can have spaces, GTK expects a path, NO SPACES allowed.
....... If there`s even one space in a line the "Save As" menu won`t show it.
2) So I used underlines instead of spaces, that works of course.
....... The menu item looks like this: USB_drive_(_at_sda1_) Kinda messy!
....... I think this looks better: USB_drive_(_sda1_) or: USB_drive_(sda1)
3) The GTK menu cuts off the whole line to the last "/" inclusive.
....... So this: file:///tmp/USB_drive_(_/mnt/sda1_) becomes this: sda1_)
....... This: file:///tmp/USB_drive_(sda1) becomes this: USB_drive_(sda1)
4) /root is a bad place for links, /tmp is better, reboot and they`re gone.

So... Play with what I have given you and decide how you want it to look.
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Thu 03 Sep 2009, 19:14    Post subject:  

Hi Sunburnt

I tested the USB auto code on the "Linux Newbies" at the cybercafe today, a very mixed bag of people from all over the world Smile I used version 5 which is the most current version at this time.

As I suspected, the "ginea pigs" had trouble knowing that the "sda1" rox bookmark was the usb drive when downloading. I like the idea of formatting the bookmarks you gave above. I asked the test pilots what comes to mind and held up my pendrive, and they all said "USB", so your idea of naming it "USB_drive_(sda1)" would be perfect I believe for them. Having the default download/upload location from the browser become the pendrive when it is plugged in would definetely help also ("just works") to perfection.

Unfortunately, a couple of things I did (I am Human too!) last time I was there caused about 25 hours of downtime at the cafe, so I would like not to introduce any new code for a week or two apart from testing on individual machines for the next week or two, to give the poor desk volunteers time to regain their confidence in the system Embarassed

Cheers for doing the research on the ROX bookmarks, I look forward to the next release with Bookmark naming built in? Smile

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Thu 03 Sep 2009, 20:52    Post subject:  

ecomoney; I hope your slip up was not too severe... Sad
I have tested Beta 6 and all seems to work well.
Note: I made links for GTK like: /tmp/usb-auto/USB_drive_(sda1)
Putting them in /tmp is safer than /root, and at reboot everything is gone!
Experience over the years has taught me to put temp. files & etc. in /tmp
I`m trying to decide how to do Firefox paths. I`ll let you know.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Thu 03 Sep 2009, 22:02    Post subject:  

Update: I have it writing the Firefox file: pref.js
It looks for /root but will take any path with /root in it.
My file had: /root/my-documents, and it changes it to: /mnt/sda1
On unmount it replaces: /mnt/sda1 with: /root/my-documents

This is much better, putting things in: /root is just a bad idea, use the Docs. dir..
If you want the client PCs at boot to set the Firefox path, I can do that in usb-auto.
Then if they don`t have a USB plugged in, their Page and Picture Saves,
and Downloads will go to: /root/my-documents
I don`t know if the client PCs have a Docs icon on the Desktop, maybe a good idea.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Sat 05 Sep 2009, 02:45    Post subject:  

Hey ecomoney; Beta 6 is ready for testing... Read the changes carefully...
No rush to test it as I`m taking a little vacation next week.
But I`ll still check in from time to time to see how everything is going...

I think default setting the Firefox Downloads to: /root/my-documents is a good idea...
Success... T.
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 06 Sep 2009, 19:59    Post subject:  

Thank you Sunburnt, your holiday is well earnt have a good time. I will test and demonstrate.
_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Fri 18 Sep 2009, 22:25    Post subject:  

ecomoney; The new version Beta 8 is ready for download... (No Beta 7)
It`s a complete rewrite and I really think it`s a great utility now!
The device test method is different and it handles all removable media!
So I will probably need to rename it to something else.
There`s only one more change I see for it after this.
Puppy 421 and newer has new kernel drivers I want to use in USB-Auto.
But this version is the best yet by far I think... Terry
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sat 19 Sep 2009, 16:13    Post subject:  

Thanks Sunburnt, I will give it another test at the Mission cybercafe next week. It would be great if all future puppies had this feature, it fits with Puppies mission too. How should we go about requesting it gets added to the official Puppy build?

p.s. Good news about it detecting all attached storage, I guess that means a whole bunch of mobile phones/digital camera's also "just work" now too.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Sat 19 Sep 2009, 22:18    Post subject:  

ecomoney; As I posted on the usb-auto forum, I found a flaw in the code.
It will only handle 1 insert or removable at a time without possible failure.
And the 7 seconds it takes to detect the device is a rather long time.
I have fixed it but I`m still testing it, maybe Sunday. Wait for Beta 9...

As to inclusion into standard Puppy, it use to have HotPup, like HotPlug.
I think Dougal wrote it, but nothing seems to stay in Puppy very long.
Barry`s standard releases don`t seem to retain the added functionality.
So maybe we could ask about it, but it`s irritating to see your work lost.

NOTE: Cameras will work except for Kodak ( never buy a Kodak! ).
Phones I had not thought of... I`m interested to see how they`ll work.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Sun 20 Sep 2009, 04:11    Post subject:  

### Beta 9 is ready for testing...

Q: What should we call the app. now that it does all removable media?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [40 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0646s ][ Queries: 12 (0.0042s) ][ GZIP on ]