LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   bookmark file for mozilla-firefox (https://www.linuxquestions.org/questions/debian-26/bookmark-file-for-mozilla-firefox-487572/)

ekdya 09-27-2006 09:35 PM

bookmark file for mozilla-firefox
 
Hi

I have debian on hdb and FC5 on hda1, using firefox in FC5, I need to point it to the bookmarks in debian, I know how to do this but I don't know the location of the bookmark file.
:~$ locate bookmarks.html
/etc/firefox/profile/bookmarks.html
/etc/mozilla-firefox/profile/bookmarks.html

niether of the files above "when opened in a broswer" show my book makrs, so I concluded these are not the ones.

please help
thanks

JackieBrown 09-27-2006 10:03 PM

/home/username/..mozilla/firefox/profilename/bookmarks.html

ekdya 09-27-2006 11:09 PM

Quote:

Originally Posted by JackieBrown
/home/username/..mozilla/firefox/profilename/bookmarks.html

that will not do, notice my OP
...
:~$ locate bookmarks.html
/etc/firefox/profile/bookmarks.html
/etc/mozilla-firefox/profile/bookmarks.html

where the login prompt is for <user>.

Dutch Master 09-27-2006 11:12 PM

Little correction on the answer from JackieBrown: the .mozilla file is just a single dot, like /home/<username>/.mozilla/default/{0...9,a...z}.slt/bookmarks.html The {0...9,a...z} means a random collection of numbers and letters in random order. Note that this path is on my machine, using the Mozilla 1.7 Suite. Therefor FF may use another path.

JackieBrown 09-27-2006 11:31 PM

Right you are Dutch Master about the ..

Here is mine
/home/<username>/.mozilla/firefox/ldz4cp7s.default/bookmarks.html

ekdya 09-27-2006 11:35 PM

JackieBrown, Dutch Master

I must be missing something because the locations both of you
suggested should have been picked up using the locate command as
described in my original post, if not, could you please tell us why,
and if it is, then why the content of the files when opened as
suggested in my post did not reveal the information.

thanks

:~$ ls -a .mozilla/firefox/gzphpktp.default/bookmarks.html

rickh 09-27-2006 11:37 PM

Maybe "locate" doesn't pick up strings in hidden folders.

Try this "$ find /home/ | grep bookmarks.html"

vharishankar 09-27-2006 11:49 PM

One obvious solution:

Try exporting the bookmarks as a HTML file and then you can copy it and use it anywhere.

craigevil 09-27-2006 11:51 PM

Better yet try using Google Browser Sync
http://www.google.com/tools/firefox/browsersync/

That way you have the same bookmarks on whatever system you use.

rickh 09-28-2006 12:00 AM

Quote:

Better yet try using Google Browser Sync
I read the link. It appears to me that you have to let Google into your computer; not only once, but every time you want to sync the bookmarks files. Google is still my search engine of choice for obvious reasons, but I'm starting to view their antics a bit suspiciously. I don't think I prefer to have them reviewing my bookmarks regularly.

I dual boot 32 and 64 bit Debian OSes, and in each system, I maintain a bookmark to the bookmark.html file on the other "side." That way, if I bookmark a site on the 64-bit, then want it when I'm working in 32-bit, it's easy to get.

Dutch Master 09-28-2006 12:01 AM

Did you update the database the locate command uses prior to using the locate command? As root:
Code:

updatedb
Another option is to look for the file in the GUI: open your homefolder and select 'show hidden files' when you rightclick in that directory. There should be either a Mozilla or Firefox directory with a leading dot. On the cli, do
Code:

ls -a
to get the same results.

<edit: I see only now that you did just that... oops :(>


All times are GMT -5. The time now is 12:08 PM.