Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux [2025/09/22 08:51] – [Linux] muonitlinux [2026/07/17 14:57] (aktuell) muonit
Zeile 6: Zeile 6:
   * https://github.com/tmux-plugins/tmux-resurrect   * https://github.com/tmux-plugins/tmux-resurrect
   * Falls die Caps-Taste hängt: xdotool key Caps_Lock   * Falls die Caps-Taste hängt: xdotool key Caps_Lock
-  * https://github.com/TibixDev/winboat Wine wrapper of sort+  * https://github.com/TibixDev/winboat WinBoat is an Electron app  to run Windows as a VM inside a Docker container. Displays via FreeRDP together with Windows's RemoteApp protocol. 
 +  * https://github.com/pranshuparmar/witr  Why is this running? Lists Process Infos and which Prog listens on Port x 
 +  * https://www.npmjs.com/package/ezff   ff — Plain English ffmpeg 
 +  * https://blog.thechases.com/posts/assorted-less-tips/ 
 ===== Grub ===== ===== Grub =====
 [[Grub]] [[Grub]]
Zeile 16: Zeile 19:
   * wipefs -a: ACHTUNG: löscht eine Festplatte von ihren Partitionen!    * wipefs -a: ACHTUNG: löscht eine Festplatte von ihren Partitionen! 
   * partprobe: erkennt Partitionen etc.  nach Neupartitionierung   * partprobe: erkennt Partitionen etc.  nach Neupartitionierung
 +  * sfdisk -d äquivalent für sgdisk: 
 +''
 +sgdisk --backup=table /dev/destination
 +sgdisk /dev/source -R /dev/destination
 +sgdisk -G /dev/destination
 +''
  
 ===== mdadm ===== ===== mdadm =====
 +==== Neu aufsetzen ====
   * mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1   * mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
   * mdadm --detail --scan >> /etc/mdadm/mdadm.conf   * mdadm --detail --scan >> /etc/mdadm/mdadm.conf
 +
 +==== Festplatte ersetzen ====
 +  * mdadm --manage /dev/md127 -a /dev/sdd3
 +
 +
 +==== Geschwindigkeit anpassen ====
 +  * echo 50000 > /proc/sys/dev/raid/speed_limit_min
 +  * echo 500000 > /proc/sys/dev/raid/speed_limit_max
 +  * cat /proc/mdstat
  
  
Zeile 30: Zeile 49:
   * https://github.com/lldap/lldap   * https://github.com/lldap/lldap
   * https://www.authelia.com/   * https://www.authelia.com/
 +
 +===== Snap Dreck =====
 +  * veraltete Snaps löschen: <code>for i in $(snap list --all | grep deaktiviert$ | tr -s " " | cut -d " " -f 1,3); do OLDIFS=$IFS; IFS=" "; set -- $i; name=$1; rev=$2; echo snap remove --revision=$rev $name; IFS=$OLDIFS; done</code>
 +
 +
 +===== Suspend/Resume Probleme =====
 +<code>cat /sys/power/mem_sleep
 +cat /sys/power/state</code>
 +
 +Wenn die Ausgabe 
 +<code>s2idle [deep]
 +freeze mem disk</code>
 +
 +ist dann kann man probieren: 
 +<code>
 +sudo echo s2idle > /sys/power/mem_sleep
 +GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=s2idle"
 +sudo update-grub
 +</code>
 +