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/07/14 22:48] Sean Rhonelinux:notes:misc [2025/12/25 05:58] (current) Sean Rhone
Line 3: Line 3:
   * Miscellaneous commands, paths, info, and syntax for Linux   * Miscellaneous commands, paths, info, and syntax for Linux
   * Most of this was previously under the "Notable Folders and Commands" section at the bottom of distro notes   * Most of this was previously under the "Notable Folders and Commands" section at the bottom of distro notes
- 
-====== Extract ISO ====== 
- 
-  * ''D'' is the destination you want the extracted files to go 
-  * ''x'' is the ISO you want to extract files from 
-  * No space after the ''-o'' flag is intentional 
-  * This is primarily useful for copying Windows ISO images to a FAT32 flash drive for UEFI (see [[linux:notes:woeusb|WoeUSB]] for Legacy/CSM) 
- 
-  7z x -o'D' -y x 
- 
-  7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync 
  
 ====== Shortcuts ====== ====== Shortcuts ======
Line 38: Line 27:
  
   * [[linux;distros;fedora_workstation_gnome#keyboard_shortcuts]]   * [[linux;distros;fedora_workstation_gnome#keyboard_shortcuts]]
- 
-==== GNOME Terminal ==== 
- 
-  * F41: ''ptyxis'' copies/pastes inconsistently ([[https://discussion.fedoraproject.org/t/port-forward-not-working-in-fedora-41-no-route-to-host/143442/33|post]]) 
- 
-  sudo dnf install gnome-terminal 
- 
-<code>gnome-terminal</code> 
- 
-<code>gnome-terminal --title='Fedora Updater' -- bash -c "sudo dnf clean 'all' && sudo dnf update -y && sync && sudo flatpak update && flatpak update && sync && sudo restorecon -F -I -R ~ && sudo fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done. Press any key to exit.'"</code> 
  
 ===== Adoptium Java ===== ===== Adoptium Java =====
Line 292: Line 271:
 **** ****
  
-  rm -Rfv ~/'.cache/mesa_shader_cache'*'/'*+  rm -Rf ~/'.cache/mesa_shader_cache'*'/'*
  
 ====== GNOME Monitors Reset ====== ====== GNOME Monitors Reset ======
Line 298: Line 277:
 **** ****
  
-  rm -fv ~/'.config/monitors.xml' ~/'.config/monitors.xml~'+  sudo rm -fv ~/'.config/monitors.xml' '/etc/xdg/monitors.xml'
  
 ====== PulseAudio Reset ====== ====== PulseAudio Reset ======
Line 375: Line 354:
  
   rm -Rf '/tmp/GpuTest_Linux_'* && cd ~ && sync   rm -Rf '/tmp/GpuTest_Linux_'* && cd ~ && sync
 +
 +====== Network Link Speed ======
 +
 +****
 +
 +  cat '/sys/class/net/'*'/speed'
  
 ====== Show Sensors ====== ====== Show Sensors ======
Line 395: Line 380:
  
   openssl ciphers -v | awk '{print $2}' | sort | uniq   openssl ciphers -v | awk '{print $2}' | sort | uniq
- 
-====== FIPS ====== 
- 
-  * oS TW has 140-3! (TODO: try install-time option) 
-  * 2025/04/22: ''kgx'' crashed on-start 
-  * openSUSE had gnutls errors about missing hmac post-install with ''patterns'' install 
-  * Looks like an OpenSSL 1.1 hmac package existed for Leap/non-TW implying it's not actively supported on TW? 
-  * hmac files look able to be generated wtih ''fipshmac'' 
-  * 2025/04/22: ''update-crypto-policies'' at ''FUTURE'' prevented a ''wget'' on a [[games;linux;dota_2_steamcmd#install1|GitLab url]] 
- 
-  * 2025/04: F42 Xfce prerelease had ''xfce4-terminal'' crash on maximize 
- 
-===== Random Commands ===== 
- 
-  * [[linux;distros;opensuse_tumbleweed_gnome]] 
- 
-  GNUTLS_DEBUG_LEVEL=666 OPENSSL_FIPS=1 kgx 
- 
-  sudo fips-mode-setup 
- 
-  openssl md5 'todo suse.txt' 
- 
-  sudo update-crypto-policies --show 
- 
-  sudo sysctl -a | grep fips 
- 
-  sudo fips-mode-setup --enable 
- 
-  sudo zypper in patterns-base-fips 
- 
-  fipshmac --help 
- 
-  sudo update-crypto-policies --set 'FUTURE' 
- 
-  sudo update-crypto-policies --set 'DEFAULT' 
  
 ====== Firmware Update ====== ====== Firmware Update ======
Line 647: Line 597:
  
   VK_INSTANCE_LAYERS='VK_LAYER_MESA_overlay' VK_LAYER_MESA_OVERLAY_CONFIG='help' vkcube   VK_INSTANCE_LAYERS='VK_LAYER_MESA_overlay' VK_LAYER_MESA_OVERLAY_CONFIG='help' vkcube
 +
 +  * :?: TODO: Might need a VK dev package?
 +
 +  MESA_LOADER_DRIVER_OVERRIDE='zink' VK_INSTANCE_LAYERS='VK_LAYER_MESA_overlay' VK_LAYER_MESA_OVERLAY_CONFIG='fps,gpu_timing' glxgears
  
 ====== SDL Envs ====== ====== SDL Envs ======
/usr/local/www/wiki/data/attic/linux/notes/misc.1752547714.txt.gz · Last modified: by Sean Rhone