From 8aea85b97b044bf4f1d9c77f8cee74dee9e66eee Mon Sep 17 00:00:00 2001
From: Cullum Smith <cullum@sacredheartsc.com>
Date: Fri, 8 Nov 2024 19:09:57 -0500
Subject: thunderbird, dino

---
 scripts/hostclass/desktop | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'scripts/hostclass/desktop')

diff --git a/scripts/hostclass/desktop b/scripts/hostclass/desktop
index 4f6e31f..79b40f2 100644
--- a/scripts/hostclass/desktop
+++ b/scripts/hostclass/desktop
@@ -101,6 +101,11 @@ case $desktop_type in
       /usr/local/etc/xdg/plasma-workspace/shutdown
     install_file -m 0555 /usr/local/etc/xdg/plasma-workspace/shutdown/cleanup.sh
 
+    # Disable baloo file search.
+    # Don't know anyone that uses it, and litters $HOME with .nfs files whenever
+    # any file is deleted.
+    install_file -m 0644 /usr/local/etc/xdg/baloofilerc
+
     # Disable user switching
     # Broken with consolekit: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221452
     # VT switch causes loss of graphics acceleration: https://github.com/freebsd/drm-kmod/issues/175
@@ -128,6 +133,10 @@ set_loader_conf \
 install_directory -m 0755 /usr/local/lib/firefox/distribution
 install_template -m 0644  /usr/local/lib/firefox/distribution/policies.json
 
+# Create policy file for thunderbird.
+install_directory -m 0755 /usr/local/lib/thunderbird/distribution
+install_template -m 0644  /usr/local/lib/thunderbird/distribution/policies.json
+
 # Create policy file for chromium.
 install_directory -m 0755 \
   /usr/local/etc/chromium/policies \
-- 
cgit v1.2.3