Linux: Difference between revisions
m (→Storage) |
m (→Storage) |
||
| Line 79: | Line 79: | ||
|- |
|- |
||
|PartitionT |
|PartitionT |
||
|''' |
|storage7 '''(lvm2)''' |
||
|sdk |
|sdk |
||
|10 |
|10 |
||
Revision as of 15:25, 31 March 2025
Misc
Storage
| Part Name | Name | Device | TB | |
|---|---|---|---|---|
| PartitionSSD_512G_Linux | NoStorage | nvme0n1 | 0.5 | |
| PartitionX_10T2004 | storage8 | sda | 10 | |
| PartitionO_4TB | ??? | sdb | 4 | |
| PartitionW_10T1910 | storage4 | sdc | 10 | |
| PartitionY_10T2011 | storage3 | sdd | 10 | |
| PartitionZ_10T2103 | storage1 | sde | 10 | |
| PartitionN | storage11 | sdf | 4 | |
| PartitionM_4T | storage9 | sdg | 4 | |
| PartitionU_10T1808 | storage5 | sdh | 10 | |
| PartitionV_10T1811 | storage2 | sdi | 10 | |
| PartitionA_10T2108 | storage6 | sdj | 10 | |
| PartitionT | storage7 (lvm2) | sdk | 10 | |
| PartitionS_4T1805 | storage0 | sdl | 4 | |
| PartitionB_10T2212 | storage10 | sdm | 10 |
Pipewire
Restart wireplumber when editing files.
systemctl --user restart wireplumber.service
wpctl status
dolphin is fucked
https://discuss.kde.org/t/dark-mode-workarround-for-dolphin-on-windows/7482
Disable spectre mitigations
https://make-linux-fast-again.com/
pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier
Key=860EBBB6CD221F328CF6ADAE42CFC824
ControlSet001\Services\BTHPORT\Parameters\Keys
WSL
- https://medium.com/@apph/desktop-gui-using-wsl2-xrdp-a870a2d32df8 WSL2 (also xrdp?)
- https://www.reddit.com/r/bashonubuntuonwindows/comments/gxbufo/running_arch_on_wsl_from_the_source_images_the/
- https://www.reddit.com/r/bashonubuntuonwindows/comments/5vnne8/howto_installing_arch_on_wsl_manually/
- https://www.reddit.com/r/bashonubuntuonwindows/comments/chvgcm/problem_with_launching_gnomesession_in_wsl2/
steam
-fulldesktopres SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
Speed up boot
systemd-analyze blame systemd-analyze critical-chain systemd-analyze plot > /tmp/plot.svg
https://fedoramagazine.org/systemd-converting-sysvinit-scripts/ https://criztovyl.space/2019/01/19/debian-mysql-systemd-real-socket-activation/
Wireless
https://sites.google.com/site/twisteroidambassador/linux/ath-user-regd
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/WHENCE
firmware=22.391740.0 is iwlwifi-7265D-22.ucode
File: iwlwifi-7265D-27.ucode (This crashes when ln'd to -26.ucode) Version 27.455470.0
Found a random copy of iwlwifi-7265D-26.ucode... Reports as 22.361476.0 when loaded...
Setup FTP on erythnul
sudo apt install vsftpd
Download jpgs as alt
cat *-cbr | grep -i jpg | sed -rn 's/.*src=\"(.*)".*"(.*)".*/wget "\1" -O "\2"/p'
Make Computer work as Bluetooth speaker
- https://delx.net.au/blog/2014/01/bluetooth-audio-a2dp-receiver-raspberry-pi/ - Just needed the 3 lines change to /etc/bluetooth/main.conf and some messing around with the tray applet.
Tmux Colors
tmux source-file ~/.tmux.conf
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s s s s s s s s s s s s s s s s;
for (colnum = 0; colnum<256; colnum++) {
r = 255-(colnum*255/255);
g = (colnum*510/255);
b = (colnum*255/255);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'
Vesa Console
sudo hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer [Created at bios.459] Unique ID: rdCR.Zxin6WTMOrB Hardware Class: framebuffer Model: "NVIDIA GM200 Board" Vendor: "NVIDIA Corporation" Device: "GM200 Board" SubVendor: "NVIDIA" SubDevice: Revision: "Chip Rev" Memory Size: 16 MB Memory Range: 0x01000000-0x01ffffff (rw) Mode 0x0300: 640x400 (+640), 8 bits Mode 0x0301: 640x480 (+640), 8 bits Mode 0x0303: 800x600 (+800), 8 bits Mode 0x0305: 1024x768 (+1024), 8 bits Mode 0x0307: 1280x1024 (+1280), 8 bits Mode 0x030e: 320x200 (+640), 16 bits Mode 0x030f: 320x200 (+1280), 24 bits Mode 0x0311: 640x480 (+1280), 16 bits Mode 0x0312: 640x480 (+2560), 24 bits Mode 0x0314: 800x600 (+1600), 16 bits Mode 0x0315: 800x600 (+3200), 24 bits Mode 0x0317: 1024x768 (+2048), 16 bits Mode 0x0318: 1024x768 (+4096), 24 bits Mode 0x031a: 1280x1024 (+2560), 16 bits Mode 0x031b: 1280x1024 (+5120), 24 bits Mode 0x0330: 320x200 (+320), 8 bits Mode 0x0331: 320x400 (+320), 8 bits Mode 0x0332: 320x400 (+640), 16 bits Mode 0x0333: 320x400 (+1280), 24 bits Mode 0x0334: 320x240 (+320), 8 bits Mode 0x0335: 320x240 (+640), 16 bits Mode 0x0336: 320x240 (+1280), 24 bits Mode 0x033d: 640x400 (+1280), 16 bits Mode 0x033e: 640x400 (+2560), 24 bits Mode 0x0345: 1600x1200 (+1600), 8 bits Mode 0x0346: 1600x1200 (+3200), 16 bits Mode 0x034a: 1600x1200 (+6400), 24 bits Mode 0x034b: 3840x2160 (+3840), 8 bits Mode 0x034c: 3840x2160 (+7680), 16 bits Mode 0x034d: 3840x2160 (+15360), 24 bits Mode 0x0360: 1280x800 (+1280), 8 bits Mode 0x0361: 1280x800 (+5120), 24 bits Config Status: cfg=new, avail=yes, need=no, active=unknown