summarylogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorEwout van Mansom2023-07-17 01:44:42 +0200
committerEwout van Mansom2023-07-17 01:44:42 +0200
commit162f9b535aaad7fbdff591afb469a56ccd81a116 (patch)
treec80b0a74330614c35f590754a7f487b12a65c098 /INSTALL.md
downloadaur-162f9b535aaad7fbdff591afb469a56ccd81a116.tar.gz
initial commit
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 000000000000..2aef571c100a
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,47 @@
+## Manual installation from a system installed package
+
+1. Menu > Help > More Troubleshooting Information.
+
+2. Application Basics > Profile Directory > Open Directory.
+
+3. Open directory in a terminal.
+
+4. Create a `chrome` directory if it doesn't exist:
+
+ ```
+ mkdir -p chrome
+ cd chrome
+ ```
+
+5. create a symlink to the actual theme location:
+
+ ```
+ ln -s /usr/lib/thunderbird-gnome-theme thunderbird-gnome-theme
+ ```
+
+6. Create single-line user CSS files if non-existent or empty (at least one line is needed for `sed`):
+
+ ```
+ [[ -s userChrome.css ]] || echo >> userChrome.css
+ [[ -s userContent.css ]] || echo >> userContent.css
+ ```
+
+7. Import this theme at the beginning of the CSS files (all `@import`s must come before any existing `@namespace` declarations):
+
+ ```
+ sed -i '1s/^/@import "thunderbird-gnome-theme\/userChrome.css";\n/' userChrome.css
+ sed -i '1s/^/@import "thunderbird-gnome-theme\/userContent.css";\n/' userContent.css
+ ```
+
+8. Symlink preferences file:
+
+ ```
+ cd .. # Go back to the profile directory
+ ln -fs chrome/thunderbird-gnome-theme/configuration/user.js user.js
+ ```
+
+9. Restart Firefox.
+
+10. Open Firefox customization panel and move the new tab button to headerbar.
+
+Done. See README.md for more details.