Skip to content

Instantly share code, notes, and snippets.

@nsmlzl
nsmlzl / next_svw_match.js
Last active January 13, 2025 16:32
next_svw_match
const blID = "4741"
const svwID = "134"
const teamDB = {
"Borussia Dortmund": "BVB",
"Bayer Leverkusen": "B04",
"TSG 1899 Hoffenheim": "TSG",
"VfL Wolfsburg": "WOB",
"1. FC Heidenheim 1846": "FCH",
"1. FC Union Berlin": "FCU",
@nsmlzl
nsmlzl / t14_amd_audio_name_fix.md
Created October 19, 2024 18:16
Fix Speaker Description of ThinkPad T14 AMD Gen 2 Under Ubuntu 24.04

Fix Speaker Description of ThinkPad T14 AMD Gen 2 Under Ubuntu 24.04

Under Ubuntu, the internal speaker (and microphone) of the ThinkPad T14 AMD Gen 2 has by default an unfortunate name in the GNOME interface, such as Speaker - Family 17h/19h HD Audio. While Family 17h/19h refers to an AMD CPU generation, it's not a user-friendly description.

This issue stems from the default description of the audio device. Fortunately, we can overwrite this description using a WirePlumber configuration script.

Solution

  1. Create a new WirePlumber configuration file: