diff --git a/how_to b/how_to index 47c4741..56a2229 100644 --- a/how_to +++ b/how_to @@ -31,6 +31,8 @@ Usefull packages : lnav Backlight management: light # http://haikarainen.github.io/light/ + IRC: + catgirl # https://git.causal.agency/catgirl System setup: display/drivers: @@ -459,6 +461,8 @@ Borg backup: Serial terminal st -l /dev/ttyUSB0 + # Or + minicom -D /dev/ttyUSB0 -b Wifi AP: https://wiki.archlinux.org/index.php/Software_access_point @@ -627,7 +631,8 @@ Install 64 bits kernel on 32 bits system (and 64 bits hardware) (bad idea) Compile C for ATmega328p/Arduino: sudo xbps-install -S avr-gcc avr-libc avrdude - sudo usermod -aG dialout # Or /dev/ttyACM0 group + sudo pacman -S avr-libc avrdude + sudo usermod -aG dialout # Or /dev/ttyACM0 group (might be uucp) avr-gcc -g -Os -DF_CPU=16000000UL -mmcu=atmega328p -c -o .o .c avr-gcc -mmcu=atmega328p .o -o @@ -1111,3 +1116,17 @@ GPG: Windows use realtime clock as UTC: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal = QWORD 0x01 + +sway / wayland: + Get current active (first) keyboard layout name: + # https://queer.hacktivis.me/objects/73823f56-1954-44fe-b046-39e726cca67b + swaymsg -t get_inputs | jq 'map(select(.type == "keyboard"))[0].xkb_active_layout_name' + +Bluetooth: + Get access to deprecated gatttool and hcitool: + trizen -S bluez-utils-compat + Add `--disable-systemd` to ./configure command on Artix + +Extract debian .deb package: + ar x .deb + tar xf data.tar.xz