Linux: Difference between revisions

From Hegemon Wiki
Jump to navigation Jump to search
Line 32: Line 32:
=Make Computer work as Bluetooth speaker=
=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.
* 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

<nowiki>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";
}'</nowiki>


=Vesa Console=
=Vesa Console=

Revision as of 04:51, 21 September 2019

https://make-linux-fast-again.com/

pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier

Bluetooth Shared With Windows

Bluetooth dualboot fix

Key=860EBBB6CD221F328CF6ADAE42CFC824

ControlSet001\Services\BTHPORT\Parameters\Keys

Wireless

https://unix.stackexchange.com/questions/286258/intel-wireless-7265d-iw-shows-wrong-regulatory-information#

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

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