Skip to content

Instantly share code, notes, and snippets.

@Fusl
Fusl / gist:3a708b8c32c9d5264fa0
Last active October 27, 2024 11:19
Streaming audio output from Linux (Pulseaudio) to Windows
# Windows (receiver) side:
.\ffplay.exe -nodisp -ac 2 -acodec pcm_u8 -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:18181?listen=1
# Linux (transmitter) side:
pactl load-module module-null-sink sink_name=remote
ffmpeg -f pulse -i "remote.monitor" -ac 2 -acodec pcm_u8 -ar 48000 -f u8 "udp://RECEIVER:18181"
pavucontrol # Change the default output to the Null sink or move single applications to this "output" device.
@Francesco149
Francesco149 / osu_on_linux_overhaul.md
Last active November 6, 2024 00:07
Ultimate guide to low-latency osu on linux
@Klowner
Klowner / xinput-automatrix.sh
Last active February 27, 2020 23:00
A short script for auto calculating and setting an xinput coordinate transform matrix
#!/bin/sh
#
# Automatically calculate and set xinput coordinate transformation matrix
# for all matching devices listed in DEVICES array
#
# usage:
# ./xinput-automatrix.sh
#
# Mark Riedesel <[email protected]>
#
@marc-fez
marc-fez / dell-XPS-15-arch-linux-install
Last active November 7, 2024 12:50 — forked from mattiaslundberg/arch-linux-install
Instructions for installing arch linux on a Dell XPS 15 with full system encryption using dm-crypt and luks
# Having problems with the nvidia drivers
# Arch wiki page on XPS 15
# https://wiki.archlinux.org/index.php/Dell_XPS_15_9560
# Install ARCH Linux with encrypted file-system and UEFI on Dell XPS 15
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux