how to load default custom bookmarks for new users in linux?
im configuring os deployment of red hat 7 that come with Firefox. i want to pre configure the bookmarks when user first open Firefox so it will show my company bookmark. is that possible? for now the only way i can see doing it is by copying a pre-configured file name places.sqlite to skel so it will be copied and created when a used first login. is that the right way or is there and other way i can do it?
All Replies (2)
Hi
I am not an expert in this and have not tried it myself, but I have found this solution you may want to try.
You can see further information about deploying Firefox within a corporate environment here.
I hope this helps, but if not, please come back here and we can look into a different solution for you.
I do not deploy Firefox, and have not tried this but some results from my bookmarked items:
I am not sure Firefox Sync would help too much, although it depends on what you are attempting to do. If for instance it is a large scale deployment and you need to clone many copies of Firefox with the ability to dynamically Sync them it is even possible to set up your own Sync Server.
Most probably the article Seburu has already linked to is appropriate and specifically
- https://developer.mozilla.org/Firefox/Enterprise_deployment#Configuration
- https://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
- http://mike.kaply.com/2012/03/20/customizing-firefox-autoconfig-files-continued/
- http://mike.kaply.com/cck2/ [Note the software is still free, but paid for support is available]
- Customizing Firefox – Advanced Autoconfig Files https://mike.kaply.com/2012/03/22/customizing-firefox-advanced-autoconfig-files/
... Or what if you wanted to add a bookmark? Unfortunately, the bookmarks services isn’t in Services.jsm, but it’s easy to get:
//
Components.utils.import("resource://gre/modules/Services.jsm");
var uri = Services.io.newURI("http://mike.kaply.com", null, null); var navBookmarksService = Components.classes["@mozilla.org/browser/nav-bookmarks-service;1"] .getService(Components.interfaces.nsINavBookmarksService); navBookmarksService.insertBookmark(navBookmarksService.toolbarFolder, uri, -1, "Mike's Blog");
I also found
- MDN: Distribution INI File https://wiki.mozilla.org/Distribution_INI_File
- Kaply: Customizing the Firefox Installer on Windows (2012) https://mike.kaply.com/2012/02/14/customizing-the-firefox-installer-on-windows-2012/
- Kaply: Customizing Firefox – distribution.ini https://mike.kaply.com/2012/03/26/customizing-firefox-distribution-ini/