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 [2025/12/20 18:54] oemb1905computing:miscadmin [2026/04/15 13:46] (current) oemb1905
Line 3: Line 3:
   * **Jonathan Haack**   * **Jonathan Haack**
   * **Haack's Networking**   * **Haack's Networking**
-  * **netcmnd@jonathanhaack.com** +  * **support@haacksnetworking.org** 
  
 ------------------------------------------- -------------------------------------------
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 391: Line 374:
 </code>   </code>  
  
-For firefox, create ''mkdir -p /etc/firefox/policies'' and then edit it with:+For firefox, create ''sudo nano /etc/firefox-esr/policies'' and then edit it with:
  
 <code bash> <code bash>
Line 420: Line 403:
   xdg-mime default nemo.desktop x-directory/gnome-default-handler   xdg-mime default nemo.desktop x-directory/gnome-default-handler
   xdg-mime default nemo.desktop application/x-gnome-saved-search   xdg-mime default nemo.desktop application/x-gnome-saved-search
-  sudo update-alternatives --set xdg-desktop-portal-gtk /usr/bin/nemo-desktop  +  gsettings set org.nemo.desktop show-desktop-icons true 
-  sudo update-alternatives --install /usr/bin/xdg-open xdg-open /usr/bin/nemo 100 +  gsettings set org.gnome.desktop.background show-desktop-icons false 
-  #gsettings set org.gnome.shell.extensions.desktop-icons file-manager nemo+  #exo-preferred-applications #legacy, retained for documentation 
 +   
 +Stubborn machine insists on sleeping? These mods should do the trick: 
 +   
 +  sudo nano /etc/systemd/sleep.conf 
 +  AllowSuspend=no 
 +  AllowHibernation=no 
 +  AllowSuspendThenHibernate=no 
 +  AllowHybridSleep=no 
 +  sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 
 + 
 +Mask hd-idle to stop it from interferring with external HD sleep / spin down: 
 + 
 +  sudo systemctl mask hd-idle.service 
 +   
 +Clear systemd logs: 
 + 
 +  # Clear entire journal (all logs from all time) 
 +  journalctl --vacuum-time=1s 
 +  # Or keep only last 1 hour (safer if you want some recent context) 
 +  journalctl --vacuum-time=1h 
 +  # Vacuum by size (keep only 100MB) 
 +  journalctl --vacuum-size=100M 
 +  # Rotate and vacuum everything 
 +  journalctl --rotate --vacuum-time=1s 
 + 
 +Where are flatpak binaries/executables? Here's Pulsar's: 
 + 
 +  /var/lib/flatpak/app/dev.pulsar_edit.Pulsar/current/active/export/bin/dev.pulsar_edit.Pulsar 
 + 
 +See what kind of hard drives you have and which one is boot and which not, etc.: 
 + 
 +  sudo lsblk --o NAME,SIZE,TYPE,MODEL,TRAN,ROTA,VENDOR,SERIAL 
 +  sudo lsblk -o NAME,SIZE,TRAN,ROTA,MOUNTPOINT $(findmnt -n -o SOURCE | sed 's/[0-9]*$//') 
 +  df -h 
 +   
 +Google Chrome does the "won't open shit" despite re-install, restart, etc.
 + 
 +  rm -f ~/.config/google-chrome/SingletonLock 
 +  rm -f ~/.config/google-chrome/SingletonCookie 
 +  rm -f ~/.config/google-chrome/SingletonSocket 
 + 
 +Stop Chrome/Chromium from messing with input level of mic: 
 + 
 +  chrome://flags 
 +  Allow WebRTC to adjust input volume  
 +  <disabled> 
 +   
 +Next ... 
  
- --- //[[alerts@haacksnetworking.org|oemb1905]] 2025/12/20 18:44//+ --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/04/15 13:45//
computing/miscadmin.1766256887.txt.gz · Last modified: by oemb1905