home · contact · privacy
From Bullseye desktop setup, re-move Firefox plug-ins setup (too much of a hassle...
authorChristian Heller <c.heller@plomlompom.de>
Sun, 16 Jan 2022 22:09:31 +0000 (23:09 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 16 Jan 2022 22:09:31 +0000 (23:09 +0100)
bullseye/setup_scripts/setup_desktop.sh
bullseye/setup_scripts/setup_home.sh

index c45a6e434d4658f8135fc105702919e70738ae8c..ff01ce241cafc4bff65ecd9504523427f293c6b1 100755 (executable)
@@ -38,23 +38,23 @@ ln -s /opt/firefox/firefox /usr/local/bin/
 update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 200
 update-alternatives --set x-www-browser /opt/firefox/firefox
 
-# Install Firefox plugins.
-# See <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons>
-extensions_dir="/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
-mkdir -p "${extensions_dir}"
-ublock_version="1.40.8"
-ublock_xpi="uBlock0_${ublock_version}.firefox.signed.xpi"
-url_ublock="https://github.com/gorhill/uBlock/releases/download/${ublock_version}/${ublock_xpi}"
-wget "${url_ublock}"
-name=$(unzip -p "${ublock_xpi}" manifest.json | jq -r .applications.gecko.id)
-mv "${ublock_xpi}" "${name}".xpi
-tridactyl_version="1.22.0pre6103"
-tridactyl_xpi="tridactyl_beta-${tridactyl_version}-an+fx.xpi"
-url_tridactyl="https://tridactyl.cmcaine.co.uk/betas/${tridactyl_xpi}"
-wget "${url_tridactyl}"
-name=$(unzip -p "${tridactyl_xpi}" manifest.json | jq -r .applications.gecko.id)
-mv "${tridactyl_xpi}" "${name}.xpi"
-mv *.xpi "${extensions_dir}"
+# Install Firefox plugins.
+# See <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons>
+extensions_dir="/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
+mkdir -p "${extensions_dir}"
+ublock_version="1.40.8"
+ublock_xpi="uBlock0_${ublock_version}.firefox.signed.xpi"
+url_ublock="https://github.com/gorhill/uBlock/releases/download/${ublock_version}/${ublock_xpi}"
+wget "${url_ublock}"
+name=$(unzip -p "${ublock_xpi}" manifest.json | jq -r .applications.gecko.id)
+mv "${ublock_xpi}" "${name}".xpi
+tridactyl_version="1.22.0pre6103"
+tridactyl_xpi="tridactyl_beta-${tridactyl_version}-an+fx.xpi"
+url_tridactyl="https://tridactyl.cmcaine.co.uk/betas/${tridactyl_xpi}"
+wget "${url_tridactyl}"
+name=$(unzip -p "${tridactyl_xpi}" manifest.json | jq -r .applications.gecko.id)
+mv "${tridactyl_xpi}" "${name}.xpi"
+mv *.xpi "${extensions_dir}"
 
 # Set up user environments.
 secrets_dev="sdb"
index ae69b0e401703f8d4d1b38557a60b1ce20d5850a..74715982868a6f8f02767031dac6250434297454 100755 (executable)
@@ -97,5 +97,5 @@ if [ -f "${HOME}/${authinfo_file}" ]; then
     notmuch new
 fi
 
-# Final note on how to integrate tridactyl.
-echo "TODO: As tridactyl user, don't forget to do :source on the first Firefox run, wait a little while (Tridactyl needs to walk through all commands in the .tridactylrc) and then re-start."
+# Final note on how to integrate tridactyl.
+echo "TODO: As tridactyl user, don't forget to do :source on the first Firefox run, wait a little while (Tridactyl needs to walk through all commands in the .tridactylrc) and then re-start."