summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-04 22:12:43 -0500
committerB Stack <bgstack15@gmail.com>2019-02-04 22:12:43 -0500
commite0d4e40845edbeec2a21a8a05c038145c23da631 (patch)
tree2d9383ead3dee260778f03c38820b7ed48a71d31
parentMerge branch 'veracrypt-dpkg' into 'master' (diff)
downloadstackrpms-e0d4e40845edbeec2a21a8a05c038145c23da631.tar.gz
stackrpms-e0d4e40845edbeec2a21a8a05c038145c23da631.tar.bz2
stackrpms-e0d4e40845edbeec2a21a8a05c038145c23da631.zip
palemoon dpkg with customizations
Experimentation with dpkg that bundles in my prefs.js on system level as well as no search bar by default (which is a source patch).
-rw-r--r--palemoon/debian/bgstack15-prefs.js24
-rw-r--r--palemoon/debian/install1
-rw-r--r--palemoon/debian/patches/series1
-rw-r--r--palemoon/debian/patches/small-icons.patch22
4 files changed, 48 insertions, 0 deletions
diff --git a/palemoon/debian/bgstack15-prefs.js b/palemoon/debian/bgstack15-prefs.js
new file mode 100644
index 0000000..ec7ab94
--- /dev/null
+++ b/palemoon/debian/bgstack15-prefs.js
@@ -0,0 +1,24 @@
+// file: /usr/lib/palemoon/browser/defaults/preferences/bgstack15-prefs.js
+// reference:
+// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
+pref("browser.backspace_action", 0);
+pref("browser.allTabs.previews", false);
+pref("browser.ctrlTab.previews", false);
+pref("browser.download.useDownloadDir", true);
+pref("browser.newtab.choice", 1);
+pref("browser.newtabpage.storageVersion", 1);
+pref("browser.search.update", false);
+pref("browser.startup.page", 3);
+pref("browser.tabs.closeWindowWithLastTab", false);
+pref("captivedetect.canonicalURL", "http://127.0.0.1:9980");
+pref("extensions.enabledAddons", "%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:28.3.0");
+pref("extensions.shownSelectionUI", true);
+pref("extensions.update.autoUpdateDefault", false);
+pref("general.warnOnAboutConfig", false);
+pref("network.cookie.prefsMigrated", true);
+pref("network.stricttransportsecurity.preloadlist", false);
+pref("privacy.sanitize.migrateFx3Prefs", true);
+pref("security.cert_pinning.enforcement_level", 0);
+pref("services.sync.declinedEngines", "");
+pref("toolkit.telemetry.reportingpolicy.firstRun", false);
+pref("xpinstall.whitelist.add", "");
diff --git a/palemoon/debian/install b/palemoon/debian/install
index 9b5aebc..e04cc8f 100644
--- a/palemoon/debian/install
+++ b/palemoon/debian/install
@@ -1 +1,2 @@
application/palemoon/branding/official/palemoon.desktop usr/share/applications
+debian/bgstack15-prefs.js /usr/lib/palemoon/browser/defaults/preferences/
diff --git a/palemoon/debian/patches/series b/palemoon/debian/patches/series
new file mode 100644
index 0000000..0ed32c3
--- /dev/null
+++ b/palemoon/debian/patches/series
@@ -0,0 +1 @@
+small-icons.patch
diff --git a/palemoon/debian/patches/small-icons.patch b/palemoon/debian/patches/small-icons.patch
new file mode 100644
index 0000000..fa6017f
--- /dev/null
+++ b/palemoon/debian/patches/small-icons.patch
@@ -0,0 +1,22 @@
+--- UXP-PM28.3.0_Release.orig/application/palemoon/base/content/browser.xul 2019-01-08 11:42:01.000000000 -0500
++++ UXP-PM28.3.0_Release/application/palemoon/base/content/browser.xul 2019-02-04 06:57:38.943983285 -0500
+@@ -355,7 +355,7 @@
+
+ <toolbox id="navigator-toolbox"
+ defaultmode="icons" mode="icons"
+- iconsize="large">
++ iconsize="small">
+ <!-- Menu -->
+ <toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar" customizable="true"
+ defaultset="menubar-items"
+@@ -381,8 +381,8 @@
+ <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
+ toolbarname="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;"
+ fullscreentoolbar="true" mode="icons" customizable="true"
+- iconsize="large"
+- defaultset="unified-back-forward-button,reload-button,stop-button,home-button,urlbar-container,search-container,bookmarks-menu-button,history-menu-button,downloads-button,window-controls"
++ iconsize="small"
++ defaultset="unified-back-forward-button,reload-button,stop-button,home-button,urlbar-container,bookmarks-menu-button,history-menu-button,downloads-button,window-controls"
+ context="toolbar-context-menu">
+
+ <toolbaritem id="unified-back-forward-button" class="chromeclass-toolbar-additional"
bgstack15