User Tools

Site Tools


linux:notes:misc

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
linux:notes:misc [2025/12/25 05:58] – Sean Rhonelinux:notes:misc [2026/11/09 22:39] (current) – Sean Rhone
Line 19: Line 19:
  
   cat '/etc/os-release'   cat '/etc/os-release'
 +
 +  cat '/usr/lib/os-release'
  
   cat '/etc/os-release' | grep 'PRETTY_NAME'   cat '/etc/os-release' | grep 'PRETTY_NAME'
 +
 +===== openSUSE Tumbleweed =====
 +
 +  cat '/etc/os-release' | grep '#CPE_NAME='
 +
 +  uname -a
  
 ====== Fedora ====== ====== Fedora ======
Line 127: Line 135:
  
 ==== Show Locked Packages ==== ==== Show Locked Packages ====
- 
-**** 
  
   zypper locks   zypper locks
  
 ==== Find Orphans ==== ==== Find Orphans ====
- 
-**** 
  
   zypper packages --orphaned   zypper packages --orphaned
  
 ==== Remove Package and Deps ==== ==== Remove Package and Deps ====
- 
-**** 
  
   sudo zypper remove --clean-deps 'x'   sudo zypper remove --clean-deps 'x'
  
 ==== Show Installed Patterns ==== ==== Show Installed Patterns ====
- 
-**** 
  
   sudo zypper patterns --installed-only   sudo zypper patterns --installed-only
  
 ==== Folder ==== ==== Folder ====
- 
-**** 
  
   ls '/etc/zypp/repos.d'   ls '/etc/zypp/repos.d'
  
 ==== List ==== ==== List ====
- 
-**** 
  
   zypper repos --priority   zypper repos --priority
Line 165: Line 161:
  
   * http://download.opensuse.org/tumbleweed/repo/   * http://download.opensuse.org/tumbleweed/repo/
 +
 +==== Packman Mirrors ====
 +
 +  * http://packman.links2linux.org/mirrors
 +
 +<code>
 +ping 'mirrors.aliyun.com'
 +
 +ping 'mirror.karneval.cz'
 +
 +ping 'ftp.fau.de'
 +ping 'ftp.halifax.rwth-aachen.de'
 +ping 'ftp.gwdg.de'</code>
  
 ====== PipeWire ====== ====== PipeWire ======
  
-===== Set Default Rate =====+===== Set Default Rates ===== 
 + 
 +  * [[https://wiki.archlinux.org/title/PipeWire#Changing_the_allowed_sample_rate(s)|Source]] 
 + 
 +  grep -E 'Codec|Audio Output|rates' /proc/asound/card*/codec#*
  
   mkdir -p ~/'.config/pipewire/pipewire.conf.d' && nano ~/'.config/pipewire/pipewire.conf.d/99-custom.conf'   mkdir -p ~/'.config/pipewire/pipewire.conf.d' && nano ~/'.config/pipewire/pipewire.conf.d/99-custom.conf'
Line 174: Line 187:
 <code> <code>
 context.properties = { context.properties = {
-    default.clock.rate          = 192000 +    default.clock.allowed-rates = [ 44100 48000 96000 192000 ] 
-    default.clock.allowed-rates = [ 44100 48000 88200 96000 192000 ] +} 
-}</code>+ 
 +# End</code>
  
 ===== User Config ===== ===== User Config =====
Line 222: Line 236:
 ====== GNOME ====== ====== GNOME ======
  
-===== List gsettings ===== +  * [[linux:notes:gsettings]]
- +
-  * Change ''x'' to schema or omit it to show all settings +
- +
-  gsettings list-recursively 'x' +
- +
-===== App Grid Reset ===== +
- +
-**** +
- +
-  gsettings reset 'org.gnome.shell' 'app-picker-layout' +
- +
-===== Reset Last Settings Pane ===== +
- +
-  * 2025/07/13: Mouse settings caused crash possibly related to ''gl'' vs ''vulkan'' +
- +
-  gsettings reset 'org.gnome.Settings' 'last-panel'+
  
 ===== GNOME Software Maintenance ===== ===== GNOME Software Maintenance =====
Line 370: Line 368:
  
   * [[linux;notes;x86_energy_perf_policy]]   * [[linux;notes;x86_energy_perf_policy]]
 +
 +  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'
  
   grep 'MHz' '/proc/cpuinfo'   grep 'MHz' '/proc/cpuinfo'
  
-  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'+  cat '/sys/devices/system/cpu/cpu'*'/cpufreq/scaling_cur_freq' 
 + 
 +  cpupower frequency-info
  
 ====== OpenSSL Supported Ciphers ====== ====== OpenSSL Supported Ciphers ======
Line 615: Line 617:
  
   OSU_SDL3='1'   OSU_SDL3='1'
 +
 +====== sysctl Checks ======
 +
 +===== All Overrides =====
 +
 +  cat '/etc/sysctl.d/'*
 +
 +  ls '/etc/sysctl.d/'*
 +
 +===== BPF Disable =====
 +
 +  * ''kernel.unprivileged_bpf_disabled = 0''
 +
 +  '/usr/sbin/sysctl' 'kernel.unprivileged_bpf_disabled'
 +
 +===== Legacy MMap =====
 +
 +  * ''vm.legacy_va_layout = 1''
 +
 +  '/usr/sbin/sysctl' 'vm.legacy_va_layout'
 +
 +===== Perf Counters =====
 +
 +  * ''kernel.perf_event_paranoid = -1''
 +
 +  '/usr/sbin/sysctl' 'kernel.perf_event_paranoid'
 +
 +===== Intel Perf Counters =====
 +
 +  * ''dev.i915.perf_stream_paranoid = 0''
 +
 +  '/usr/sbin/sysctl' 'dev.i915.perf_stream_paranoid'
 +
 +===== Magic SysRq key =====
 +
 +  * ''kernel.sysrq = 1''
 +
 +  '/usr/sbin/sysctl' 'kernel.sysrq'
 +
 +===== Memory Map Count =====
 +
 +  * ''vm.max_map_count = 2147483642''
 +
 +  '/usr/sbin/sysctl' 'vm.max_map_count'
 +
 +===== Swappiness =====
 +
 +  * ''vm.swappiness = 0''
 +
 +  '/usr/sbin/sysctl' 'vm.swappiness'
  
 ====== Wine Envs ====== ====== Wine Envs ======
/srv/www/wiki/data/attic/linux/notes/misc.1766660289.txt.gz · Last modified: by Sean Rhone