Blog
-
Pipewire: Send Audio to Multiple Devices
Today I wanted to listen to music with a friend. After connecting their Bluetooth headphones to my computer, I noticed the KDE interface only allows setting one audio output port. Remembering my previous experience with Steam Link, I decided to use Pipewire to achieve this functionality.
References:
- Find audio devices
$ pw-link -o Midi-Bridge:Midi Through:(capture_0) Midi Through Port-0 v4l2_input.pci-0000_00_14.0-usb-0_6_1.0:out_0 alsa_output.pci-0000_00_1f.3.analog-stereo:monitor_FL alsa_output.pci-0000_00_1f.3.analog-stereo:monitor_FR alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FL alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FR easyeffects_sink:monitor_FL easyeffects_sink:monitor_FR easyeffects_source:capture_FL easyeffects_source:capture_FR ee_soe_output_level:output_FL ee_soe_output_level:output_FR ee_soe_spectrum:output_FL ee_soe_spectrum:output_FR ee_soe_equalizer:output_FL ee_soe_equalizer:output_FR ee_soe_convolver:output_FL ee_soe_convolver:output_FR ee_sie_output_level:output_FL ee_sie_output_level:output_FR ee_sie_spectrum:output_FL ee_sie_spectrum:output_FR Audacious:output_FL Audacious:output_FR steam:output_FL steam:output_FR bluez_output.84_AB_26_A6_8A_6A.a2dp-sink:monitor_FL bluez_output.84_AB_26_A6_8A_6A.a2dp-sink:monitor_FR -
DP-3T: A Privacy-Preserving "Health Code"
People always choose and believe in explanations and solutions that align with intuition, which leads to mediocrity.
DP-3T, a privacy-preserving contact tracing software, is like a health code.
The health code, designed from an omniscient perspective to "protect" everyone, almost inevitably leads to Big Brother scenarios.
-
Steam for Linux no sound when streaming
When I use Steam Link to play my game which is running in my ArchLinux PC, I find steam only catch microphone and ignore the sound output of PC. (Fixed on my ArchLinux PC at 2022-09-15)
Github Issue: [Remote Play] No sound when streaming #6606
-
Range Sum Query 2D
Problem URL: https://leetcode.com/problems/range-sum-query-2d-immutable/
Dynamic programming solution for matrix range sum queries
-
Find First and Last Position of Element in Sorted Array
Problem URL: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
Essentially a binary search problem, searching for the start and end positions
-
Modifying the Parent Commit of a Historical Commit
Half a year ago, when merging the hotfix branch, the merge direction was reversed, causing the hotfix branch to become the new main branch. There was no solution at the time, but today I revisited the issue and attempted to fix it.
-
ArchLinux Configuration Guide
This is a navigation page that records my configuration process. You can follow the page order for setup or just search for specific information.
-
Playing NieR:Automata on Linux
This guide uses NieR:Automata running on Steam as an example, with Intel + Nvidia hardware platform.
Generally speaking, most Windows games can be run through wine.
This article is part of the ArchLinux Configuration Guide.
Of course, you can also read it separately.
-
Pacman Universal Configuration
Configuration file reference: Arch manual pages
You can directly copy and replace your pacman.conf file (remember to back up)
This article is part of the ArchLinux Configuration Guide.
Of course, you can also read it separately
-
Seamlessly Migrating from Firefox Stable to Developer Edition
Mozilla's Major Blunder: Certificate Expiration Renders Firefox Extensions Unusable Worldwide This morning Mozilla played a not-so-small joke on Firefox users worldwide. Many woke up to find all their browser extensions non-functional, including on mobile versions.
Thus, how to seamlessly transfer data became the primary goal.
First, back up Firefox's user data folder. On Linux, this is the
.mozillafolder in the user directory.