xfnw's blog

A blog about owens

pulseaudio rtp stuff

May 18, 2022 — owen

on nixos you can accept rtp streaming with

{
  sound.enable = true;
  hardware.pulseaudio.enable = true;
  hardware.pulseaudio.extraConfig = ''
    load-module module-rtp-recv latency_msec=10 sap_address=0.0.0.0
  '';
}

then on another computer you can do

pactl load-module module-null-sink sink_name=rtp sink_properties="device.description='RTP'"
pactl load-module module-rtp-send source=rtp.monitor destination_ip=whatever
pactl set-default-sink rtp

to send the audio

Tags: audio

make custom compose key combinations with XCompose

March 03, 2022 — owen

you can put your own compose combinations in .XCompose

<Multi_key> <o> <9>     : "⑨"   U2468 # CIRCLED DIGIT NINE

Tags: xorg, compose

install ubuntu touch without ubports-installer on mako

December 05, 2020 — owen

first you need a linux machine with ubuntu-device-flash installed. if you are using arch like me, you can install ubuntu-device-flash from the aur

since ubuntu nolonger has touch repositories, you need to use the ubports one

pop on over to https://system-image.ubports.com/ubports-touch/16.04/ and choose a channel

boot into the bootloader and factory reset, and then you are ready to flash!

run

ubuntu-device-flash touch --server https://system-image.ubports.com --channel ubports-touch/16.04/<your channel> --bootstrap

eg if you are choosing the rc channel like me,

ubuntu-device-flash touch --server https://system-image.ubports.com --channel ubports-touch/16.04/rc --bootstrap

it will do some stuff, and dont touch it until the command exits

its probably installed now! woot woot

you should see a orange dot loading screen now, if you are back in the recovery, that means it failed and (at least in my case) you probably have to increse the cache partition size

Tags: ubports, ubuntu-touch

nboard’s pulling now works correctly

September 30, 2020 — owen

for a while it was broken, but now you can nboard pull again! this allows the decentralized peer to peer nboard to once again be usable

decentalized nboard boards are effectively censorship-proof since you can look in the git history to see what was deleted, or if the commit was deleted, just pull it from another peer. i suppose you could carefully choose what to merge, but hopefully other people will not

Tags: nboard, python, git

hmm more blogs lol

September 22, 2020 — owen

i have too many!

time to make more!

heres a new one on institute

Tags: institute