From 8f1b9b933e5a43ac00285d387b0d1cc37259bad6 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 19 Apr 2019 18:35:29 +0200
Subject: [PATCH] More friendly Firefox/Tridactyl setup.

---
 buster/etc_files/eeepc/opt/firefox/blank.html  | 1 +
 buster/etc_files/eeepc/opt/firefox/firefox.cfg | 9 +++++++++
 buster/home_files/user_eeepc/.tridactylrc      | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 buster/etc_files/eeepc/opt/firefox/blank.html
 create mode 100644 buster/home_files/user_eeepc/.tridactylrc

diff --git a/buster/etc_files/eeepc/opt/firefox/blank.html b/buster/etc_files/eeepc/opt/firefox/blank.html
new file mode 100644
index 0000000..79e707e
--- /dev/null
+++ b/buster/etc_files/eeepc/opt/firefox/blank.html
@@ -0,0 +1 @@
+not quite blank
diff --git a/buster/etc_files/eeepc/opt/firefox/firefox.cfg b/buster/etc_files/eeepc/opt/firefox/firefox.cfg
index 8ab342e..cf6b0a2 100644
--- a/buster/etc_files/eeepc/opt/firefox/firefox.cfg
+++ b/buster/etc_files/eeepc/opt/firefox/firefox.cfg
@@ -1,3 +1,12 @@
 // do not put any code into this first line, as it gets ignored by Firefox
+
 // we zero extensions.autoDisableScopes so our pre-installed extensions activate by default
 pref("extensions.autoDisableScopes", 0);
+
+// we turn off annoying setup popups and pages; these settings are the result more of trial and error than thorough understanding by me, so more research might be warranted to discipline them
+pref("startup.homepage_welcome_url", "file:///opt/firefox/blank.html");
+pref("browser.startup.homepage", "file:///opt/firefox/blank.html");
+pref("browser.startup.blankWindow", true);
+pref("datareporting.policy.firstRunURL", "");
+pref("browser.shell.checkDefaultBrowser", false);
+pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
diff --git a/buster/home_files/user_eeepc/.tridactylrc b/buster/home_files/user_eeepc/.tridactylrc
new file mode 100644
index 0000000..5da00b8
--- /dev/null
+++ b/buster/home_files/user_eeepc/.tridactylrc
@@ -0,0 +1,2 @@
+guiset gui none
+set newtab file:///opt/firefox/blank.html
-- 
2.30.2