[rhelv6-list] How to add a new browser bookmark to be visible to new accounts

Hugh Brown hbrown at divms.uiowa.edu
Thu Sep 6 13:53:12 UTC 2012




On 09/06/2012 08:08 AM, Mirko Vukovic wrote:
> Hello,
>
> When I start Firefox, it comes up with several (RedHat related) bookmarks
> on the bookmarks bar.  I would like to add another one that will be
> automatically visible to all new accounts.
>
> I've read that Firefox stores bookmarks in ~/.mozilla/.../bookmarks.html,
> but have not found that file in /etc/skel.   And I could not figure out how
> to ask Google the right question.
>
> Thanks,
>
> Mirko
>


The default bookmarks are in /usr/lib64/firefox/omni.ja (which is really 
just a specially optimized jar file). If you jar xf omni.ja, it expands 
to include  defaults/profile/bookmarks.html (among lots of other things) 
that includes all of Redhat's default bookmarks.

You could try creating a 
/usr/lib64/firefox/defaults/profile/bookmarks.html and see if that works 
(though I'm guessing it will be ignored).

Otherwise, you get to figure out how to generate omni.ja file so that 
firefox likes it. Memory says that it is not as simple as expand and 
re-create, but it's been a while.

Hugh









More information about the rhelv6-list mailing list