User Tools

Site Tools


computing:miscadmin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:miscadmin [2024/11/03 14:28] oemb1905computing:miscadmin [2026/01/04 18:38] (current) oemb1905
Line 10: Line 10:
  
 ------------------------------------------- -------------------------------------------
- 
--Text Editors- 
- 
-Change the default text editor, terminal, web browser, in Debian 
- 
-  exo-preferred-applications 
- 
-Some systems are not kind with exo, so ... 
- 
-  xdg-mime default caja.desktop inode/directory application/x-gnome-saved-search 
-   
-Set caja or other file managers to manage desktop 
- 
-  gsettings set org.gnome.desktop.background show-desktop-icons false 
-  gsettings set org.nemo.desktop show-desktop-icons true 
- 
--motd- 
  
 Create the following to make a message of the day that will be appended to the dynamic message of the day. Create the following to make a message of the day that will be appended to the dynamic message of the day.
Line 375: Line 358:
   sudo systemctl restart networking   sudo systemctl restart networking
      
-After you restart networking, run ''cat /etc/resolv.conf'' and make sure the DNS is what you desired. +After you restart networking, run ''cat /etc/resolv.conf'' and make sure the DNS is what you desired. In order to test whether there are DNS leaks, use tcpdump and adjust port to 53, 5335, 853, etc. 
 + 
 +  tcpdump -vv -x -X -s 1500 -i eth0 'port 853' 
 + 
 +In order to set a policy on Chrome to stop DOT, or DNS over TLS/https, open up ''/etc/opt/chrome/policies/managed/policies.json'' and drop in: 
 + 
 +<code bash> 
 +  { 
 +  "BrowserGuestModeEnabled": false, 
 +  "BrowserAddPersonEnabled": false, 
 +  "IncognitoModeAvailability": 1, 
 +  "DnsOverHttpsMode": false, 
 +  "ExtensionSettings": {"*": {"installation_mode": "blocked"}} 
 +  } 
 +</code>   
 + 
 +For firefox, create ''sudo nano /etc/firefox-esr/policies'' and then edit it with: 
 + 
 +<code bash> 
 +
 +  "policies":
 +    "DisablePrivateBrowsing": true, 
 +    "DNSOverHTTPS":
 +      "Enabled": false, 
 +      "Locked": true 
 +    }, 
 +    "ExtensionSettings":
 +      "*":
 +        "installation_mode": "blocked" 
 +      } 
 +    } 
 +  } 
 +
 +</code> 
 + 
 +Running Debian testing/unstable and your zfs modules suddenly won't load after a reboot and upgrade, well do the following: 
 + 
 +  sudo apt-get install linux-headers-$(uname -r) 
 + 
 +Alright .... Nemo 
 + 
 +  xdg-mime default nemo.desktop inode/directory  
 +  xdg-mime default nemo.desktop x-directory/normal  
 +  xdg-mime default nemo.desktop x-directory/gnome-default-handler 
 +  xdg-mime default nemo.desktop application/x-gnome-saved-search 
 +  gsettings set org.nemo.desktop show-desktop-icons true 
 +  gsettings set org.gnome.desktop.background show-desktop-icons false 
 +  #exo-preferred-applications #legacy, retained for documentation
  
- --- //[[webmaster@haacksnetworking.org|oemb1905]] 2024/11/03 14:24//+ --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/01/04 18:31//
computing/miscadmin.1730644132.txt.gz · Last modified: by oemb1905