Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-17-2005, 09:52 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Rep:
|
Import MY Favorites Into FireFox(Linux).
I have created my windows folder which monut my windows files at system startup, I do have my Favorites folder(IE html files) How can I import these files into my linux firefox....
I have more than 200 files I cant open each file at a time an add it....
Thanks.
|
|
|
02-17-2005, 09:58 AM
|
#2
|
Member
Registered: Feb 2005
Location: PA
Distribution: Fedora Core 3
Posts: 48
Rep:
|
Do the import under Windows
I'm no expert at this myself but one thing I could suggest is that you run Firefox on your Windows partition and import your favorites there. you should then thoeretically be able to copy your mozilla profile directly from windows into Linux and use it. That never worked for me though. One thing I could do was drill into my Firefox profile folder and pull out the favorites file from my old Windows profile and copy it into my Linux profile.
|
|
|
02-17-2005, 10:05 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
But as far as my knowledge says is that windows saves the files with .HTML and firefix saves it as (I don't Know).
Also is this is the directory where firefox saves my profile:
/root/firefox-installer/defaults/profile
|
|
|
02-17-2005, 10:12 AM
|
#4
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
I've done this before.
First, you should know that IE and Mozilla store bookmarks in a different way. IE stores bookmarks as a zillion different files in a directory tree. Mozilla Firefox stores bookmarks in a single file called bookmarks.html (the same format as Netscape). The former is easier to manipulate with a file manager, but is stupefyingly inefficient. The latter is easier to copy and share, but is nontrivial to directly edit.
So, first you go to a Windows computer with IE, and copy over the bookmarks to that copy of IE. Then install Mozilla Firefox or Mozilla or Netscape, and when it asks to import your bookmarks from IE say yes.
Now, you just need to find the copy of "bookmarks.html" and copy that file over to your Linux system. The easiest way to do this is to do a file search for "bookmarks.html" in the C: drive and find the one dated today (if there's more than one).
Once you've got your bookmarks.html file on your Linux system, you simply need to copy over your current bookmarks.html file. First, run Firefox at least once if you haven't done it already. This will create your user profile and the bookmarks.html file which you're going to overwrite.
Now, open a konsole and type in:
cd .mozilla
cd firefox
ls
You will see at least one directory with a weird randomly generated name. This is the place where your firefox profile is stored. Type in:
cd 98sfdg238dfs2.bigasslongname
ls
You should see a listing of files, including bookmarks.html. You can copy over this with the command:
cp ~/bookmarks.html .
This assumes you placed the new bookmarks.html file in your home directory.
|
|
|
02-17-2005, 10:13 AM
|
#5
|
Member
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393
Rep:
|
nope...the profile is at /home/yourname/.mozilla
the best way is to boot up windows, make firefox import all of IE's bookmarks, then in firefox click on bookmarks-> manage bookmarks -> export -> to a html file...then boot linux and open firefox and import that html file ...tadan!
|
|
|
02-17-2005, 10:15 AM
|
#6
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally posted by amer_58
But as far as my knowledge says is that windows saves the files with .HTML and firefix saves it as (I don't Know).
Also is this is the directory where firefox saves my profile:
/root/firefox-installer/defaults/profile
|
No, that's where it installs the default profile, including default bookmarks. Whenever a new user starts up firefox, it copies that profile to one in the user's home directory. For reasons probably best known to some obscure Mozilla developer, this profile directory is given a bizarro randomly generated directory name.
|
|
|
02-17-2005, 10:18 AM
|
#7
|
Member
Registered: Feb 2005
Location: PA
Distribution: Fedora Core 3
Posts: 48
Rep:
|
Yeah bookmarks.html. That's what I was tlaking about initially. Import into Firefox on your Windows partition (or another windows machine) then copy the bookmarks.html from your windows %home-folder%\.mozilla\profiles folder into your linux /home/yourusername/.mozilla folder. I still don't know why the entire profile cannot be shared between Windows and Linux.
|
|
|
All times are GMT -5. The time now is 10:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|