netrunner-common / netrunner-settings-firefox

Netrunner Firefox containing the firefox profile with settings and artwork
0 stars 2 forks source link

[netrunner and maui]: since we ship firefox in both, we need to seperate this? #1

Open star-buck opened 8 years ago

star-buck commented 8 years ago

or is there any other method in setting different bookmarks for maui website and netrunner?

if not, lets clone both from here into:

llelectronics commented 8 years ago

Agreed. We need to split it then if we want to have different bookmarks.

star-buck commented 8 years ago

eventually also have different addons, like netrunner core has less, but for now only bookmarks. maybe there is a better way to have firefox-common and ship the bookmarks as netrunner-core-firefox-bookmarks?

llelectronics commented 8 years ago

This is something we need to check. For what I know we have to ship the whole Mozilla profile. Though it should be possible to ship a global bookmarks config.

NuLogicSystems commented 8 years ago

There is, you can use a distrobution.ini file like we do with Manjaro: https://github.com/manjaro/manjaro-browser-settings/tree/master/firefox

This would end up under /usr/lib/firefox/distribution/

On 07/08/2016 03:41 PM, star-buck wrote:

eventually also have different addons, like netrunner core has less, but for now only bookmarks. maybe there is a better way to have firefox-common and ship the bookmarks as netrunner-core-firefox-bookmarks?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ds9-common-settings/default-settings-firefox/issues/1#issuecomment-231454083, or mute the thread https://github.com/notifications/unsubscribe/AJtvW0zTz6T0COvfDM-_YdeCVGE10N5Kks5qTqgEgaJpZM4JIVK_.

NuLogicSystems commented 8 years ago

Any other changes like adding in the plugins could go under /usr/lib/firefox as well. For example adblock-plus could be placed here: usr/lib/firefox/browser/extensions/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi

This would also speed up loading since the ~.mozilla directory wouldn't need to be copied from skel. The same could also be adopted for Thunderbird.

llelectronics commented 8 years ago

Yeah also discussed that with Rohan aswell. Most problematic is the anttoolbar plugin that isn't provided as xpi file. That breaks every now and then.

NuLogicSystems commented 8 years ago

Yea, Ant Video Downloader also seems to get updated often.

llelectronics commented 8 years ago

@AJSlye The distribution.ini file seems only to work half way. It adds those bookmarks but all other ones (the default ones) stay. Setting the startpage also seems not to work. It always loads its own about:startpage thing. This is the section I used for my tests:

[LocalizablePreferences]
browser.startup.homepage="https://www.google.com"
browser.startup.homepage_override.mstone=ignore
NuLogicSystems commented 8 years ago

Yes, the distribution.ini is limited in what it can do, you can use it to add bookmarks and to change some settings. I think what your looking for is bookmarks.initialized.pref: under [Global]: https://wiki.mozilla.org/Distribution_INI_File

However, for some of what your want to do, a custom profile.js file, etc. might be needed.

NuLogicSystems commented 8 years ago

This guy has same great content on customization of firefox: He used to be a consultant but now works for mozilla. https://mike.kaply.com/

llelectronics commented 8 years ago

Yeah saw that already. Not everything though still possible with the described posts. But I found a way to create a autoconfig.js that defines a config file to load settings. But that seems to have limits aswell. Removing predefined bookmarks for example, however setting up the UI rudimentary should be possible. I guess no one else does customize Firefox like we do therefore it takes some time to figure that all out and to create the perfect config

NuLogicSystems commented 8 years ago

Yea, that's what I figured as well, most seem to be happy with just adding some bookmarks and changing the homepage.