linux:notes:misc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:notes:misc [2025/02/10 05:57] – Sean Rhone | linux:notes:misc [2026/11/09 22:39] (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 " | * Most of this was previously under the " | ||
| - | |||
| - | ====== Extract ISO ====== | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * No space after the '' | ||
| - | * This is primarily useful for copying Windows ISO images to a FAT32 flash drive for UEFI (see [[linux: | ||
| - | |||
| - | 7z x -o' | ||
| - | |||
| - | 7z x -o'/ | ||
| ====== Shortcuts ====== | ====== Shortcuts ====== | ||
| Line 30: | Line 19: | ||
| cat '/ | cat '/ | ||
| + | |||
| + | cat '/ | ||
| cat '/ | cat '/ | ||
| + | |||
| + | ===== openSUSE Tumbleweed ===== | ||
| + | |||
| + | cat '/ | ||
| + | |||
| + | uname -a | ||
| ====== Fedora ====== | ====== Fedora ====== | ||
| Line 38: | Line 35: | ||
| * [[linux; | * [[linux; | ||
| - | |||
| - | ==== GNOME Terminal ==== | ||
| - | |||
| - | * F41: '' | ||
| - | |||
| - | sudo dnf install gnome-terminal | ||
| - | |||
| - | < | ||
| - | |||
| - | < | ||
| ===== Adoptium Java ===== | ===== Adoptium Java ===== | ||
| Line 147: | Line 134: | ||
| ===== Zypper ===== | ===== Zypper ===== | ||
| - | ==== Find Orphans | + | ==== Show Locked Packages |
| - | **** | + | zypper locks |
| + | |||
| + | ==== Find Orphans ==== | ||
| zypper packages --orphaned | zypper packages --orphaned | ||
| ==== Remove Package and Deps ==== | ==== Remove Package and Deps ==== | ||
| - | |||
| - | **** | ||
| sudo zypper remove --clean-deps ' | sudo zypper remove --clean-deps ' | ||
| ==== Show Installed Patterns ==== | ==== Show Installed Patterns ==== | ||
| - | |||
| - | **** | ||
| sudo zypper patterns --installed-only | sudo zypper patterns --installed-only | ||
| ==== Folder ==== | ==== Folder ==== | ||
| - | |||
| - | **** | ||
| ls '/ | ls '/ | ||
| ==== List ==== | ==== List ==== | ||
| - | |||
| - | **** | ||
| zypper repos --priority | zypper repos --priority | ||
| + | |||
| + | ==== Repo Packages ==== | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | ==== Packman Mirrors ==== | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | < | ||
| + | ping ' | ||
| + | |||
| + | ping ' | ||
| + | |||
| + | ping ' | ||
| + | ping ' | ||
| + | ping ' | ||
| ====== PipeWire ====== | ====== PipeWire ====== | ||
| - | ===== Set Default | + | ===== Set Default |
| + | |||
| + | * [[https:// | ||
| + | |||
| + | grep -E ' | ||
| mkdir -p ~/' | mkdir -p ~/' | ||
| Line 185: | Line 187: | ||
| < | < | ||
| context.properties = { | context.properties = { | ||
| - | | + | default.clock.allowed-rates = [ 44100 48000 96000 192000 ] |
| - | | + | } |
| - | }</ | + | |
| + | # End</ | ||
| ===== User Config ===== | ===== User Config ===== | ||
| Line 231: | Line 234: | ||
| rm -Rf ~/' | rm -Rf ~/' | ||
| - | ====== | + | ====== GNOME ====== |
| - | * Change '' | + | * [[linux: |
| - | gsettings list-recursively ' | + | ===== GNOME Software Maintenance ===== |
| - | + | ||
| - | ====== GNOME App Grid Reset ====== | + | |
| - | + | ||
| - | **** | + | |
| - | + | ||
| - | gsettings reset ' | + | |
| - | + | ||
| - | ====== GNOME Software Maintenance | + | |
| **** | **** | ||
| Line 255: | Line 250: | ||
| sudo fstrim --verbose --all | sudo fstrim --verbose --all | ||
| - | ====== | + | ====== |
| - | **** | + | |
| + | | ||
| + | |||
| + | localsearch reset --filesystem | ||
| + | |||
| + | tracker3 reset --filesystem --rss | ||
| + | |||
| + | ====== journalctl ====== | ||
| + | |||
| + | sudo journalctl --sync --flush --rotate --update-catalog --vacuum-time=' | ||
| - | < | + | sudo journalctl |
| ====== Mesa Shader Cache Clear ====== | ====== Mesa Shader Cache Clear ====== | ||
| Line 265: | Line 269: | ||
| **** | **** | ||
| - | rm -Rfv ~/' | + | rm -Rf ~/' |
| ====== GNOME Monitors Reset ====== | ====== GNOME Monitors Reset ====== | ||
| Line 271: | Line 275: | ||
| **** | **** | ||
| - | rm -fv ~/' | + | |
| ====== PulseAudio Reset ====== | ====== PulseAudio Reset ====== | ||
| Line 348: | Line 352: | ||
| rm -Rf '/ | rm -Rf '/ | ||
| + | |||
| + | ====== Network Link Speed ====== | ||
| + | |||
| + | **** | ||
| + | |||
| + | cat '/ | ||
| ====== Show Sensors ====== | ====== Show Sensors ====== | ||
| Line 358: | Line 368: | ||
| * [[linux; | * [[linux; | ||
| + | |||
| + | watch --interval ' | ||
| grep ' | grep ' | ||
| - | | + | |
| + | |||
| + | cpupower frequency-info | ||
| ====== OpenSSL Supported Ciphers ====== | ====== OpenSSL Supported Ciphers ====== | ||
| Line 368: | Line 382: | ||
| openssl ciphers -v | awk ' | openssl ciphers -v | awk ' | ||
| + | |||
| + | ====== Firmware Update ====== | ||
| + | |||
| + | ===== fwupdmgr ===== | ||
| + | |||
| + | **** | ||
| + | |||
| + | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose | ||
| + | |||
| + | ====== Flatpak ====== | ||
| + | |||
| + | ===== Update ===== | ||
| + | |||
| + | **** | ||
| + | |||
| + | flatpak update && sudo flatpak update | ||
| ====== Partition Information ====== | ====== Partition Information ====== | ||
| Line 543: | Line 573: | ||
| qrencode -o ~/' | qrencode -o ~/' | ||
| + | |||
| + | ====== Mesa Envs ====== | ||
| + | |||
| + | mesa_glthread=' | ||
| + | |||
| + | vblank_mode=' | ||
| + | |||
| + | vblank_mode=' | ||
| + | |||
| + | MESA_LOADER_DRIVER_OVERRIDE=' | ||
| + | |||
| + | MESA_VK_WSI_PRESENT_MODE=' | ||
| + | |||
| + | ===== HUD ===== | ||
| + | |||
| + | * TODO: Scaling sizes | ||
| + | |||
| + | mesa_glthread=' | ||
| + | |||
| + | mesa_glthread=' | ||
| + | |||
| + | DXVK_HUD=' | ||
| + | |||
| + | VK_INSTANCE_LAYERS=' | ||
| + | |||
| + | VK_INSTANCE_LAYERS=' | ||
| + | |||
| + | * :?: TODO: Might need a VK dev package? | ||
| + | |||
| + | MESA_LOADER_DRIVER_OVERRIDE=' | ||
| + | |||
| + | ====== SDL Envs ====== | ||
| + | |||
| + | * :?: SDL Enable/ | ||
| + | |||
| + | SDL_VIDEO_DRIVER=' | ||
| + | |||
| + | SDL_VIDEO_DRIVER=' | ||
| + | |||
| + | SDL_ENABLE=' | ||
| + | |||
| + | SDL_DISABLE=' | ||
| + | |||
| + | OSU_SDL3=' | ||
| + | |||
| + | ====== sysctl Checks ====== | ||
| + | |||
| + | ===== All Overrides ===== | ||
| + | |||
| + | cat '/ | ||
| + | |||
| + | ls '/ | ||
| + | |||
| + | ===== BPF Disable ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Legacy MMap ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Perf Counters ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Intel Perf Counters ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Magic SysRq key ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Memory Map Count ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ===== Swappiness ===== | ||
| + | |||
| + | * '' | ||
| + | |||
| + | '/ | ||
| + | |||
| + | ====== Wine Envs ====== | ||
| + | |||
| + | * :?: '' | ||
| + | |||
| + | WINEDLLOVERRIDES=' | ||
| + | |||
| + | WINEDLLOVERRIDES=' | ||
| + | |||
| + | DISPLAY= | ||
| + | |||
| + | WINEDEBUG='' | ||
| ====== Privacy ====== | ====== Privacy ====== | ||
/srv/www/wiki/data/attic/linux/notes/misc.1739185047.txt.gz · Last modified: by Sean Rhone