LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-06-2004, 01:24 PM   #1
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Rep: Reputation: 30
Moving Mozilla Bookmarks


This question is going to show how much of a "Linux newbie" I am !!!

Background: I have a Trios HD switcher with 3 ea hard drives and 4 ea operating systems.
2 ea copies - Win98SE
1ea Red Hat 8.0
1 ea Mandrake 9.0

I have been using the Mozilla Firebird browser with Win98SE and have built up a sizable bookmarks file. I have copied these bookmarks onto a floppy disk.

When I try to copy this bookmark file into Red Hat [Mozilla is 1.0.1] I get a "permission denied" message. Same thing happens with Mandrake.

Is this because - 1) I do not have "permission" and some how need to "open" this folder ??
OR - 2) I am trying to put a "DOS created" file into a Linux folder and this is NEVER going to work ??

Actually, I want to "replace" the present copies of Mozilla in both RH & Mdk with the Linux version of Firebird [I already have it downloaded onto a CD-R] but that is WAY BEYOND my present "Linux Skills".

Right now, I would settle for just "upgrading" the bookmarks.
 
Old 01-06-2004, 02:53 PM   #2
mrde50garfield
Member
 
Registered: Dec 2003
Distribution: Mandrake, Red Hat, Gentoo, Fedora, ClusterKnoppix, Scyld Beowulf
Posts: 52

Rep: Reputation: 15
Make sure you do this to the floppy:

$ su
$ mount /mnt/floppy
$ chmod -R 777 /mnt/floppy
$ chown -R (yourusername)yourusername) /mnt/floppy

This will work unless you've got a bad disk.
 
Old 01-07-2004, 11:41 PM   #3
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
mrde50garfield,

Thanks for response.

I was working with GUI, opened floppy icon on desktop and tried to "copy & paste" bookmarks icon into
/usr/lib/mozilla-1.0.1/defaults/profile folder.

This is when I got "Do not have permission" message.

I am still learning command mode and use of "chmod". Will have to "keep learning".
 
Old 01-07-2004, 11:57 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Take a look in your home directory
/home/yourname/.mozilla/default/xxx.slt/bookmarks.html

You will have to be root to write to /usr/lib/whatever
and I don't think you want to do that.

Note the . in front of .mozilla
It is a hidden directory

Cheers,
alar
 
Old 01-08-2004, 02:31 PM   #5
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
alar,

Thanks for help steering me into the correct directory.

You were right, /usr/lib was the WRONG place to be !!

Once I found the "hidden" mozilla file [/.mozilla] in /home directory, I had no problem "copy & pasting" the "new" bookmarks.html icon from the desktop into the /home directory.

But, I still have the feeling "I don't know what I'm doing, yet !!" when I type file names like -

ijxw2b0o.stl and they ACTUALLY WORK !!
 
Old 01-08-2004, 09:30 PM   #6
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Have fun
Just takes practice.
 
Old 01-08-2004, 10:19 PM   #7
KidEvil
LQ Newbie
 
Registered: Sep 2003
Location: Earth
Posts: 7

Rep: Reputation: 0
I'd also like to note there is another way to import your bookmarks from the bookmark files instead of through the command line.

In Mozilla:

Bookmarks -> Manage Bookmarks -> Tools -> Import


This should bring up a dialog box looking for your bookmark file(s). Just point it to wherever the file(s) is and open.


HTH
 
Old 01-08-2004, 11:38 PM   #8
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Yes, you are right there.

Quote:
KidEvil
<snip>
In Mozilla:
Bookmarks -> Manage Bookmarks -> Tools -> Import
<snip>
The reason I learned the 'other' way was to back up my old bookmarks before I,
pick 1:
reformatted my hard drive
changed operating systems
changed browsers
changed accounts

Please let me add, I am kind of pleased to say I have two users me and my other me,
that share the same mail account 'on a separate partition'. Now I don't have any of the above problems anymore. <alar knocks wood>

Would also like to share: I now access mail through a specific group access rather than user. Not rocket science I am sure, but it certainly saves me a lot of grief.
 
Old 01-08-2004, 11:47 PM   #9
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
KidEvil & alar,

Using the Mozilla "Import" feature was my first choice.

But, when I tried it, the window that opened did not include the floppy drive [fd0] which is where the Win98SE/Mozilla bookmarks were.

I had to mount the floppy drive to the desktop then open it and copy the bookmarks icon from there. As you can see my thinking is still more "windows" then "linux".
 
Old 01-08-2004, 11:54 PM   #10
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Don't be so hard on yourself OldBob. Sounds Linux enough to me....
except for the 'to the desktop part'. What does that mean?
Don't you have an editor?

BTW: Bookmarks and mail are one and the same for me. I see I jumped in my last post.
I have a tendancy to do that

Last edited by alar; 01-08-2004 at 11:58 PM.
 
Old 01-09-2004, 04:32 PM   #11
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
alar,

To answer your "desktop question". 20 years ago, I learned computers/programming on an "original IBM clone" with a "powerhouse" 4.77 CPU and NO hard drive [two 5 1/4 inch floppies]. The OS was MSDos 3.1 & GWBasic.

Since moving up to Windows I have become "GUI oriented". I put floppy drive and CD-RW drive icons on my Win98SE desktop and use these to "copy/paste - drag & drop" onto and off various drives.

This is how I started with Linux [RH & Mdk] - I "know" I should be using terminal windows and "command mode" but I'm still trying to learn new commands. At age 73, my mind "seems" to be slowing down !!

Now to my reason for this posting - Using help I got from you people, I manage to delete a 109 K bookmarks.html icon in my /home directory and replace it with a 229.4 K icon.

BUT, when I open the Mozilla browser, the bookmarks listing IS NOT CHANGED !!

Using the "locate" command [see I am learning] I have found 29 "copies" of bookmarks.html in various directories/files !! I appears "one of these" is controlling what is listed in the Mozilla browser.

As I said before, I can't get the "normal" Import/Export options of Mozilla to move my latest version of bookmarks off my floppy drive and into the browser.

So this is where I am "stuck" until I learn more about Linux/Mozilla.
 
Old 01-09-2004, 05:05 PM   #12
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
29 copies? Hmmmm. How many users have you set up?
root and one other account?

Are you locating the bookmarks from /dos as well?

I'm by no means a guru myself, though I usually can figure out at least a crude way to get something done

I'll try to figure out a command for you but in the mean time, why don't you try something modify the bookmarks in the mozilla you want to use and then look at the date stamp of you bookmarks.html and see which one was just modified. Then you will know the one to replace.

Hope this helps,
alar
 
Old 01-10-2004, 11:35 PM   #13
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
alar,

This is just about the extent of my present "linux skills" [I am using RedHat/Mozilla browser] but I am going to try to post a copy of the bookmarks.html listings.

/usr/lib/mozilla-1.0.1/defaults/profile/US/bookmarks.html
/usr/lib/mozilla-1.0.1/defaults/profile/bookmarks.html
/home/OldBob/.kde/share/apps/RecentDocuments/bookmarks.html.desktop
/home/OldBob/.kde/share/apps/RecentDocuments/bookmarks.html[2].desktop
/home/OldBob/.gnome-desktop/bookmarks.html
/home/OldBob/.mozilla/default/ijxw2b0o.slt/bookmarks.html
/home/OldBob/.mozilla/Old Bob/ohh31ac7.slt/bookmarks.html
/home/OldBob/browser/MozillaFirebird/defaults/profile/US/bookmarks.html
/home/OldBob/browser/MozillaFirebird/defaults/profile/bookmarks.html
/home/OldBob/.phoenix/default/zv4lri9b.slt/bookmarks.html
/home/OldBob/.phoenix/OldBob/cvxb35pg.slt/bookmarks.html
/home/OldBob/.themes/OldBob/.kde/share/apps/RecentDocuments/bookmarks.html.deskt
op
/home/OldBob/.themes/OldBob/.kde/share/apps/RecentDocuments/bookmarks.html[2].de
sktop
/home/OldBob/.themes/OldBob/.mozilla/default/ijxw2b0o.slt/bookmarks.html
/home/OldBob/.themes/OldBob/.mozilla/Old Bob/ohh31ac7.slt/bookmarks.html
/home/OldBob/.themes/OldBob/.Trash/bookmarks.html
/home/OldBob/.themes/OldBob/browser/MozillaFirebird/defaults/profile/US/bookmark
s.html
/home/OldBob/.themes/OldBob/browser/MozillaFirebird/defaults/profile/bookmarks.h
tml
/home/OldBob/.themes/OldBob/.phoenix/default/zv4lri9b.slt/bookmarks.html
/home/OldBob/.themes/OldBob/.phoenix/OldBob/cvxb35pg.slt/bookmarks.html
/home/OldBob/.themes/OldBob/.themes/OldBob/.kde/share/apps/RecentDocuments/bookm
arks.html.desktop
/home/OldBob/.themes/OldBob/.themes/OldBob/.kde/share/apps/RecentDocuments/bookm
arks.html[2].desktop
/home/OldBob/.themes/OldBob/.themes/OldBob/.mozilla/default/ijxw2b0o.slt/bookmar
ks.html
/home/OldBob/.themes/OldBob/.themes/OldBob/.mozilla/Old Bob/ohh31ac7.slt/bookmar
ks.html

Surprised myself - it worked. I believe there are 24 listings, I "miscounted" the original 29. You are correct, these are ALL from ONE user account & ONE root account.

I don't know what to do with all this, but I suspect there are MANY "unnecessary duplicates".
If I could figure out the dates & size of the bookmarks.html files I could delete most and put the "latest" copy where it would appear in the Mozilla browser.

I don't know what I'm talking about now, so I will close this.
 
Old 01-10-2004, 11:56 PM   #14
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Glad to see you back old bob. don't leave if you are still here.
I'll look closer

alar

Alas you are gone...
Like i said, on my system it would be
/home/OldBob/.mozilla/default/ijxw2b0o.slt/bookmarks.html

That didn't work?

Make a boomark change under the browser you want to update
then from command line as root do a
cd /
and then try this

find . -name bookmarks.html -depth -mtime 0
or don't do cd root and try

find / -name bookmarks.html -depth -mtime 0

This should tell you where your bookmarks were just changed.

Bon chance



Last edited by alar; 02-07-2004 at 03:58 PM.
 
Old 01-11-2004, 12:21 AM   #15
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
alar,

The file with "ijxw2b0o.stl" is the next to last on the list I posted. This is where I "copied & pasted" the latest version of my bookmarks. BUT when I opened the Mozilla browser the listing WAS NOT CHANGED.

To change the "correct html file" I suspect I need to get the "Import option" of the Mozilla browser to work.
 
  


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 bookmarks JabberWalkie Linux - Software 1 06-04-2005 01:00 PM
mozilla bookmarks rilians Linux - General 2 07-24-2004 09:14 PM
Moving Konqueror bookmarks to Netscape ivanatora Linux - Software 2 11-02-2003 06:25 AM
Moving bookmarks to Mozilla from IE? Wraith2288 Linux - Software 1 06-02-2003 07:50 PM
Mozilla Bookmarks nocturnal Linux - Software 1 05-21-2003 10:58 AM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration