LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-27-2006, 09:35 PM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
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
 
Old 09-27-2006, 10:03 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
/home/username/..mozilla/firefox/profilename/bookmarks.html
 
Old 09-27-2006, 11:09 PM   #3
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
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>.
 
Old 09-27-2006, 11:12 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
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.

Last edited by Dutch Master; 09-27-2006 at 11:13 PM.
 
Old 09-27-2006, 11:31 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Right you are Dutch Master about the ..

Here is mine
/home/<username>/.mozilla/firefox/ldz4cp7s.default/bookmarks.html
 
Old 09-27-2006, 11:35 PM   #6
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
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

Last edited by ekdya; 09-27-2006 at 11:43 PM.
 
Old 09-27-2006, 11:37 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
Maybe "locate" doesn't pick up strings in hidden folders.

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

Last edited by rickh; 09-27-2006 at 11:51 PM.
 
Old 09-27-2006, 11:49 PM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
One obvious solution:

Try exporting the bookmarks as a HTML file and then you can copy it and use it anywhere.
 
Old 09-27-2006, 11:51 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
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.
 
Old 09-28-2006, 12:00 AM   #10
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
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.

Last edited by rickh; 09-28-2006 at 12:15 AM.
 
Old 09-28-2006, 12:01 AM   #11
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
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 >

Last edited by Dutch Master; 09-28-2006 at 12:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla Firefox: Click bookmark folder to hold? tnandy Linux - Software 3 05-09-2006 09:04 AM
mozilla bookmark backup possible? mipia Linux - Software 3 10-22-2005 01:16 AM
Firefox Bookmark Manager - What are bookmark seperator names for? SBing Linux - Software 2 06-21-2004 02:29 AM
Question about Firefox bookmark file Tiyogi Linux - General 4 03-16-2004 10:19 AM
import mozilla bookmark from redhat to IE joyhaa Linux - Software 0 08-18-2003 12:31 PM


All times are GMT -5. The time now is 06:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration