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/02/08 03:47] – [Clear Terminal History] Sean Rhonelinux:notes:misc [2025/04/27 23:49] (current) – [journalctl] Sean Rhone
Line 37: Line 37:
 ===== Keyboard Shortcuts ===== ===== Keyboard Shortcuts =====
  
-  * F41 ''ptyxis''+  * [[linux;distros;fedora_workstation_gnome#keyboard_shortcuts]]
  
-<code>ptyxis --standalone</code>+==== GNOME Terminal ====
  
-<code>ptyxis --standalone --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.' && sleep '1'"</code>+  * 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 140: Line 146:
  
 ===== Zypper ===== ===== Zypper =====
 +
 +==== Show Locked Packages ====
 +
 +****
 +
 +  zypper locks
  
 ==== Find Orphans ==== ==== Find Orphans ====
Line 170: Line 182:
  
   zypper repos --priority   zypper repos --priority
 +
 +==== Repo Packages ====
 +
 +  * http://download.opensuse.org/tumbleweed/repo/
  
 ====== PipeWire ====== ====== PipeWire ======
Line 249: Line 265:
   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' 
 + 
 +  sudo journalctl --verify 
 + 
 +====== Mesa Shader Cache Clear ======
  
 **** ****
  
-<code>tracker3 reset --filesystem --rss</code>+  rm -Rfv ~/'.cache/mesa_shader_cache'*'/'*
  
 ====== GNOME Monitors Reset ====== ====== GNOME Monitors Reset ======
Line 259: Line 290:
 **** ****
  
-  rm -~/'.config/monitors.xml' ~/'.config/monitors.xml~'+  rm -fv ~/'.config/monitors.xml' ~/'.config/monitors.xml~'
  
 ====== PulseAudio Reset ====== ====== PulseAudio Reset ======
Line 265: Line 296:
 **** ****
  
-  rm -~/'.config/pulse/'*+  rm -fv ~/'.config/pulse/'*
  
 ====== Xorg Debug ====== ====== Xorg Debug ======
Line 344: Line 375:
  
 ====== Show CPU Frequency ====== ====== Show CPU Frequency ======
 +
 +  * [[linux;notes;x86_energy_perf_policy]]
  
   grep 'MHz' '/proc/cpuinfo'   grep 'MHz' '/proc/cpuinfo'
Line 354: Line 387:
  
   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 ======
 +
 +===== fwupdmgr =====
 +
 +****
 +
 +  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
 +
 +====== Flatpak ======
 +
 +===== Update =====
 +
 +****
 +
 +  flatpak update && sudo flatpak update
  
 ====== Partition Information ====== ====== Partition Information ======
Line 529: Line 613:
  
   qrencode -o ~/'x.png' -s '6' 'https://wiki.realmofespionage.xyz/linux;notes;misc'   qrencode -o ~/'x.png' -s '6' 'https://wiki.realmofespionage.xyz/linux;notes;misc'
 +
 +====== Mesa Envs ======
 +
 +  mesa_glthread='true'
 +
 +  vblank_mode='0'
 +
 +  vblank_mode='3'
 +
 +  MESA_LOADER_DRIVER_OVERRIDE='zink'
 +
 +  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
 +
 +====== SDL Envs ======
 +
 +  * :?: SDL Enable/Disable are about the system cursor being shown with the app's cursor
 +
 +  SDL_VIDEO_DRIVER='x11'
 +
 +  SDL_VIDEO_DRIVER='wayland'
 +
 +  SDL_ENABLE='1'
 +
 +  SDL_DISABLE='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.1739004421.txt.gz · Last modified: by Sean Rhone