User Tools

Site Tools


notes:misc_linux

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
notes:misc_linux [2023/09/30 18:16] – [Old Method] Sean Rhonenotes:misc_linux [2024/03/29 18:49] (current) Sean Rhone
Line 15: Line 15:
   7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync   7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync
  
-====== youtube-dl ======+====== yt-dlp ======
  
-  * https://ytdl-org.github.io/youtube-dl/index.html+  * https://github.com/yt-dlp/yt-dlp
  
 ===== Download ===== ===== Download =====
Line 23: Line 23:
 **** ****
  
-  rm -f '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' 'https://yt-dl.org/downloads/latest/youtube-dl' && chmod +x '/tmp/youtube-dl'+  rm -f '/tmp/yt-dlp' && wget -O '/tmp/yt-dlp' 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp' && chmod +x '/tmp/yt-dlp'
  
 ===== Show Formats ===== ===== Show Formats =====
Line 29: Line 29:
   * Change ''x'' to a URL   * Change ''x'' to a URL
  
-  '/tmp/youtube-dl' --list-formats x+  '/tmp/yt-dlp' --list-formats x
  
 ===== Download Media ===== ===== Download Media =====
Line 36: Line 36:
   * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio   * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' x
  
 ==== M4A Audio ==== ==== M4A Audio ====
Line 42: Line 42:
   * Ideally for if iOS devices will be involved   * Ideally for if iOS devices will be involved
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'm4a' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' --audio-format 'm4a' x
  
 ==== MP3 Audio ==== ==== MP3 Audio ====
Line 48: Line 48:
 **** ****
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'mp3' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' --audio-format 'mp3' x
  
 ====== Shortcuts ====== ====== Shortcuts ======
Line 204: Line 204:
  
   nano '/usr/share/pipewire/pipewire.conf'   nano '/usr/share/pipewire/pipewire.conf'
 +
 +===== WirePlumber Settings Reset =====
 +
 +  sudo rm -Rf ~gdm/'.local/state/wireplumber' ~/'.local/state/wireplumber'
 +
 +  rm -Rf ~/'.local/state/wireplumber'
  
 ====== GPG Keys ====== ====== GPG Keys ======
Line 278: Line 284:
  
   gio open ~/'.local/share/xorg/Xorg.0.log'   gio open ~/'.local/share/xorg/Xorg.0.log'
 +
 +  mousepad '/var/log/Xorg.0.log'
  
 ====== Verify DRI3 ====== ====== Verify DRI3 ======
Line 379: Line 387:
 ===== Create Software RAID ===== ===== Create Software RAID =====
  
-  * :?Came from old notes; I **assume** this worked at some pointbut in any case, the syntax looks nice :p+==== Fedora Anaconda ==== 
 + 
 +  * :!https://bugzilla.redhat.com/show_bug.cgi?id=1897350 
 +  * Compared to old notes, the RAID device needs to be under ''/dev/md/'' instead of just ''/dev/'' to appear on Anaconda 
 +  2024/01: On the computer this was tested on ((Dell Latitude 5591))it doesn't support CSM/Legacy/BIOS boot and this takes over the entire block devicesrequiring the ''/boot'' partition and boot partition flag to be on a SD Card ((only tested with Legacy External Boot; UEFI untested but theoretically also requires ''/boot'' on a SD Card since BIOS/firmware can't directly-read software RAID)) 
 + 
 +  sudo mdadm --create '/dev/md/raid0' --name='RAID' --level='0' --raid-devices='2' '/dev/nvme0n1' '/dev/sda' --verbose 
 + 
 +==== Old ==== 
 + 
 +  * :?: Came from old notes; this used to work for an Acer Predator laptop that had 3 SSDs
  
   sudo mdadm --create '/dev/md0' --name='RAID' --level='0' --raid-devices='3' '/dev/sda' '/dev/sdb' '/dev/sdc' --verbose   sudo mdadm --create '/dev/md0' --name='RAID' --level='0' --raid-devices='3' '/dev/sda' '/dev/sdb' '/dev/sdc' --verbose
/var/www/wiki/data/attic/notes/misc_linux.1696112210.txt.gz · Last modified: 2023/09/30 18:16 by Sean Rhone