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 [2026/02/08 04:19] oemb1905computing:miscadmin [2026/04/25 15:52] (current) oemb1905
Line 3: Line 3:
   * **Jonathan Haack**   * **Jonathan Haack**
   * **Haack's Networking**   * **Haack's Networking**
-  * **netcmnd@jonathanhaack.com** +  * **support@haacksnetworking.org** 
  
 ------------------------------------------- -------------------------------------------
Line 407: Line 407:
   #exo-preferred-applications #legacy, retained for documentation   #exo-preferred-applications #legacy, retained for documentation
      
-sudo nano /etc/systemd/sleep.conf +Stubborn machine insists on sleeping? These mods should do the trick: 
 +   
 +  sudo nano /etc/systemd/sleep.conf
   AllowSuspend=no   AllowSuspend=no
   AllowHibernation=no   AllowHibernation=no
   AllowSuspendThenHibernate=no   AllowSuspendThenHibernate=no
   AllowHybridSleep=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 -d -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>
 +  
 +To stop the i386 warning on ''sudo apt update'' with proprietary Chrome, add ''Architectures: amd64'' below components in ''/etc/apt/sources.list.d/google-chrome.sources'' so the entire stanza looks like:
 +
 +<code>
 +X-Repolib-Name: Google Chrome
 +Types: deb
 +URIs: https://dl.google.com/linux/chrome-stable/deb/
 +Suites: stable
 +Components: main
 +Architectures: amd64 ### << -- add this line here << -- ###
 +Signed-By: /usr/share/keyrings/google-chrome.gpg
 +</code>
  
-Here ...+Next ...
  
- --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/02/08 04:19//+ --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/04/25 15:49//
computing/miscadmin.1770524394.txt.gz · Last modified: by oemb1905