This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://xmonad.org/ | |
# https://github.com/jcs/sdorfehs | |
#apt-cache search ~= pkg_info -Q | |
pkg_add nano tmux htop git neofetch gdk-pixbuf pkg_mgr wget vim-8.2.3456-no_x11-perl-python3-ruby colorls md5sum vmwh firefox gdk-pixbuf-xlib | |
##current is broken, use 1.0 release! **cd /usr/src && git clone https://github.com/jcs/progman.git | |
cd /usr/src && wget https://github.com/jcs/progman/archive/refs/tags/v1.0.tar.gz | |
#edit Makefile, change CFLAGS+= -O2...... to CFLAGS= -pipe -Ofast......, CFLAGS+= -DHIDPI=1 to =0 for non-HiDPI screens | |
echo alias ls=\'colorls -G\' >> $HOME/.profile | |
echo progman >> $HOME/.xsession |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-12-05: I have moved this information to a git repo which includes BIOS screenshots. | |
Please go here for all future updates: | |
https://github.com/theodric/kvm-vfio-notes | |
--------------------- | |
Notes on getting KVM VFIO working on my hardware: | |
- CPU: Ryzen 7 5700G | |
- MB: Biostar B550T-SILVER | |
- Host GFX: Ryzen 7 5700G iGPU |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. Don't have a SIM card in when you're updating radio firmware or it will bomb out partway through as it changes from internal IP to IP passthrough | |
1. Disable external IP passthrough mode: Network Setting -> Broadband -> Cellular APN -> #1 -> Modify icon -> "IP Passthrough" slider to off | |
2. Use "management" Wi-Fi AP as general Wi-Fi AP (with limitations) -> Network Setting -> Bridge1 -> Modify icon -> Move the Wi-Fi AP interface to the pane on the right alongside LAN1 | |
NOTE: by default, once you do the above, the router will happily pass traffic from devices on the Wi-Fi AP to other devices on the LAN1 subnet, but will block traffic originating from the Wi-Fi AP from exiting to the Internet via the LTE side of the device. You can clumsily hack around this by setting another device, e.g. another Wi-Fi AP or Raspberry Pi or Cray supercomputer, as the default gateway for the LAN1 subnet in your DHCP server config, and pointing *that* device at the Zyxel as *its* default GW. This adds additional hops, but enabl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### UPDATE 2023-02-27: | |
ARCH IS FUCKING TRASH | |
DO NOT USE IT | |
IT'S NOT WORTH IT | |
JUST INSTALL DEBIAN | |
# | |
##pacman rosetta stone | |
# https://wiki.archlinux.org/title/Pacman/Rosetta | |
##install guide https://wiki.archlinux.org/title/Installation_guide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: on reboot, unable to play audio (or videos with audio!) without first re-plugging audio jack or toggling output control | |
Cause: all audio sinks are in state 'SUSPENDED' on boot | |
Confirm by running 'pactl list short sinks | grep -i susp' | |
Workaround: | |
edit /etc/pulse/default.pa | |
comment out 'load-module module-suspend-on-idle' | |
reboot | |
re-run 'pactl list short sinks' and confirm the sinks that were previously 'SUSPENDED' are now 'IDLE' | |
check if audio works without replugging device or toggling output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/adafruit/Adafruit_Python_SSD1306 | |
https://github.com/jumejume1/raspberry-oled-monitor | |
apt install python3-pil | |
in monitor.py, change all occurrences of unichr to chr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e?ranMID=24542&ranEAID=kXQk6*ivFEQ&ranSiteID=kXQk6.ivFEQ-w8Lh.vaaDQ2hU8mEJ4ezuw&epi=kXQk6.ivFEQ-w8Lh.vaaDQ2hU8mEJ4ezuw&irgwc=1&OCID=AID2200057_aff_7593_1243925&tduid=%28ir__eydrbgfyhgkfqydckk0sohzw222xr61pyx9hmxx100%29%287593%29%281243925%29%28kXQk6.ivFEQ-w8Lh.vaaDQ2hU8mEJ4ezuw%29%28%29&irclickid=_eydrbgfyhgkfqydckk0sohzw222xr61pyx9hmxx100 | |
https://www.startallback.com/ | |
https://github.com/dremin/RetroBar | |
https://www.voidtools.com/downloads/ | |
https://www.softpedia.com/get/Desktop-Enhancements/Shell-Replacements/ShortcutArrow-Changer.shtml | |
https://www.mozilla.org/en-US/firefox/windows/ | |
https://www.cygwin.com/install.html | |
https://www.spotify.com/us/download/windows/ | |
https://github.com/jwallet/spy-spotify/releases |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install libgtest-dev google-mock cmake-extras libgmock-dev libbz2-dev libsodium-dev libsdl2-mixer-dev | |
cd /usr/src/ | |
wget https://github.com/diasurgical/devilutionX/archive/refs/heads/master.zip | |
unzip master.zip | |
cd devilutionX-master/ | |
mkdir build | |
cmake -S. -Bbuild -DVERSION_NUM=1.0.0 -DVERSION_SUFFIX=FFFFFFF -DCMAKE_BUILD_TYPE=Release | |
cd build | |
make -j`nproc` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## So you want to use stuff like 'tmux' and 'lolcat' on the Steam Deck, but they haven't been included in the base OS? | |
# One way to do it is this. | |
# 1. setup a chroot environment so there is a file structure in which Pacman can download/unpack packages and their dependencies. | |
# 2. don't use it as a chroot environment; rather, add the various /bin directories inside it to your $PATH, and create an /etc/ld.so.conf.d/deck-local-arch.conf to permit the bins to find the libs they need. | |
mkdir -p ~/.local/packer | |
cd ~/.local | |
#these steps are required, or else the pacstrap will fail with 'marginal trust' errors | |
pacman -Sy archlinux-keyring | |
pacman-key --populate archlinux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/udev/rules.d/81-vpn-firewall.rules | |
KERNEL=="tun0", ACTION=="add", RUN+="/usr/bin/forward.sh add" | |
KERNEL=="tun0", ACTION=="remove", RUN+="/usr/bin/forward.sh remove" | |
cat /usr/bin/forward.sh | |
#!/bin/bash | |
# | |
# forward.sh | |
# VER 0.1 | |
# |