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/03/29 09:17] – [SDL Envs] 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 146: Line 125:
  
 ===== Zypper ===== ===== Zypper =====
 +
 +==== Show Locked Packages ====
 +
 +****
 +
 +  zypper locks
  
 ==== Find Orphans ==== ==== Find Orphans ====
Line 176: Line 161:
  
   zypper repos --priority   zypper repos --priority
 +
 +==== Repo Packages ====
 +
 +  * http://download.opensuse.org/tumbleweed/repo/
  
 ====== PipeWire ====== ====== PipeWire ======
Line 231: Line 220:
   rm -Rf ~/'.cache/thumbnails'   rm -Rf ~/'.cache/thumbnails'
  
-====== List GNOME gsettings ======+====== GNOME ====== 
 + 
 +===== List gsettings =====
  
   * Change ''x'' to schema or omit it to show all settings   * Change ''x'' to schema or omit it to show all settings
Line 237: Line 228:
   gsettings list-recursively 'x'   gsettings list-recursively 'x'
  
-====== GNOME App Grid Reset ======+===== App Grid Reset =====
  
 **** ****
Line 243: Line 234:
   gsettings reset 'org.gnome.shell' 'app-picker-layout'   gsettings reset 'org.gnome.shell' 'app-picker-layout'
  
-====== GNOME Software Maintenance ======+===== 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 =====
  
 **** ****
Line 255: Line 252:
   sudo fstrim --verbose --all   sudo fstrim --verbose --all
  
-====== tracker3 Reset ======+====== Tracker ======
  
-****+  https://tracker.gnome.org/ 
 +  Aka ''localsearch'' and ''tinysparql'' 
 + 
 +  localsearch reset --filesystem 
 + 
 +  tracker3 reset --filesystem --rss 
 + 
 +====== journalctl ====== 
 + 
 +  sudo journalctl --sync --flush --rotate --update-catalog --vacuum-time='1d'
  
-<code>tracker3 reset --filesystem --rss</code>+  sudo journalctl --verify
  
 ====== Mesa Shader Cache Clear ====== ====== Mesa Shader Cache Clear ======
Line 265: Line 271:
 **** ****
  
-  rm -Rfv ~/'.cache/mesa_shader_cache'*'/'*+  rm -Rf ~/'.cache/mesa_shader_cache'*'/'*
  
 ====== GNOME Monitors Reset ====== ====== GNOME Monitors Reset ======
Line 271: 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 348: 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 368: Line 380:
  
   openssl ciphers -v | awk '{print $2}' | sort | uniq   openssl ciphers -v | awk '{print $2}' | sort | uniq
 +
 +====== Firmware Update ======
 +
 +===== fwupdmgr =====
 +
 +****
 +
 +  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
 +
 +====== Flatpak ======
 +
 +===== Update =====
 +
 +****
 +
 +  flatpak update && sudo flatpak update
  
 ====== Partition Information ====== ====== Partition Information ======
Line 555: Line 583:
  
   MESA_VK_WSI_PRESENT_MODE='immediate'   MESA_VK_WSI_PRESENT_MODE='immediate'
 +
 +===== HUD =====
 +
 +  * TODO: Scaling sizes
 +
 +  mesa_glthread='false' GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;cpu4+cpu5+cpu6+cpu7;fps'
 +
 +  mesa_glthread='true' GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;cpu4+cpu5+cpu6+cpu7;API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs;fps'
 +
 +  DXVK_HUD='full'
 +
 +  VK_INSTANCE_LAYERS='VK_LAYER_MESA_overlay' VK_LAYER_MESA_OVERLAY_CONFIG='fps,gpu_timing'
 +
 +  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 ======
Line 569: Line 615:
  
   OSU_SDL3='1'   OSU_SDL3='1'
 +
 +====== Wine Envs ======
 +
 +  * :?: ''DISPLAY='' might not be required on newer Wine for Wayland
 +
 +  WINEDLLOVERRIDES='dsound=n'
 +
 +  WINEDLLOVERRIDES='winemenubuilder.exe=d'
 +
 +  DISPLAY=
 +
 +  WINEDEBUG=''
  
 ====== Privacy ====== ====== Privacy ======
/srv/www/wiki/data/attic/linux/notes/misc.1743254249.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki