Skip to content

Instantly share code, notes, and snippets.

@unixabg
unixabg / gist:4ca86477b6ad0504d8b9486f1a160057
Created July 22, 2022 23:43
Samsung Chromebook 4 alsa helper script for the glkda7219max
#!/bin/bash
echo Adding microphone to Pulseaudio
grep -qxF 'load-module module-alsa-source device=hw:0,99' /etc/pulse/default.pa || echo 'load-module module-alsa-source device=hw:0,99' >> /etc/pulse/default.pa
echo Adding headphone to Pulseaudio
grep -qxF 'load-module module-alsa-sink device=hw:0,1' /etc/pulse/default.pa || echo 'load-module module-alsa-sink device=hw:0,1' >> /etc/pulse/default.pa
echo Adding headset microphone to Pulseaudio
@unixabg
unixabg / Digital Signage
Last active June 8, 2024 14:01
Upcycle example kiosk Debian 12 XFCE
1. connect to network
2. open terminal
3. change password
1. $: passwd
4. update packages
1. $: sudo apt update
5. install chromium
1. $: sudo apt install chromium unclutter
6. Reboot
7. set chromium to launch at start up with custom url and flags
@unixabg
unixabg / veyron-install.sh
Created November 23, 2023 13:39
Veyron Installer Script
#!/bin/bash
set -x
_VER='1.0.1-beta'
echo "Script version veyron-install: $_VER"
export TGTDEV=mmcblk0
sgdisk -Z /dev/$TGTDEV
sync
partprobe /dev/$TGTDEV
partprobe /dev/$TGTDEV
sgdisk -C -e -G /dev/$TGTDEV