Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use a portable version of Firefox on both Macs and PCs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a portable version of Firefox on both Macs and PCs
Authored by: eirich on Sep 16, '05 02:43:07AM

I was unable to get the sync script to work properly. I opened it in Text Edit and changed all instances of "DRIVE" to the name of my USB Key, but when I double-clicked on it, it just opened in Text Edit again. As instructed, I opened Get Info and tried to make Terminal the default app with which to open it, but could not as Terminal was greyed out. Trying to open it with "./" prefix didn't open it either. After some time, I tried "sh" command and that got it to go, but the feedback in the Shell wasn't pretty, showing the items of my home folder along with Starting Firefox!, Done!, Finishing Firefox! and Done Syncing!.

Overall I think this is a great start! Its better than I could have done for sure.



[ Reply to This | # ]
Use a portable version of Firefox on both Macs and PCs
Authored by: Swanvestas on Sep 16, '05 06:35:01PM

Should this have copied over my Bookmarks as part of the Profile information? The bookmark.html files in both the Mac-Specific and the PC-specific profiles are generic. I went ahead and copied the bookmark file out my Mac FireFox profile and stuck it in both profiles. That works, but it's not as automated as I'd like. Not knowing any Scripting language, can anyone tell me what I'd have to write into the script to get it to grab my bookmark.html file every time I "sync" my USB frash drive?

thanks in advance.



[ Reply to This | # ]
Use a portable version of Firefox on both Macs and PCs
Authored by: eirich on Sep 17, '05 04:43:27AM

I'm not sure why your bookmarks didn't go from one to the other. I set mine up in Windows first, then when I ran the sync script on the Mac side, my bookmarks were there just as in Windows. I can't honestly say I've added any bookmarks while in Mac to see if they carried over to Windows.



[ Reply to This | # ]
Use a portable version of Firefox on both Macs and PCs
Authored by: eirich on Sep 17, '05 06:23:47AM

I made some modifications to this for ease of use.

First, since I only have this installed on my USB key at the moment, I moved all of the files/directories within the "Portable Firefox" directory to the root level of the USB key, then deleted the now empty Portable Firefox directory.

Next I opened a new shell in Terminal. From the Window Settings menu, for the Window option, I set the title to Firefox and unchecked all check boxes. Then I chose Save As from the File menu and set its title to Firefox. Before saving I set the "Execute this command..." to "sh .sync", and saved to the root level of the USB key. In Finder I removed the file extension so it shows "Firefox" instead of "Firefox.term" Finally, I copied the icon from "Firefox.app" and pasted it over the icon of my "Firefox.term" file.

Next I opened the "START OS X Firefox" file with TextEdit and removed all instances of "Portable Firefox".

Finally, from a Terminal shell I renamed the "START OS X Firefox" file to ".sync" to hide it and make it work with my shell script, and "Firefox.app" to ".Firefox.app" to hide it.

Some of these steps may seem unnecessary, but the result is what looks like a clickable application and a more tidy root USB directory.



[ Reply to This | # ]