From 6b51d3c9daf2444bfa7c0e0b3f1b98c8faf2bb66 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sat, 25 Oct 2025 22:54:57 -0700 Subject: [PATCH] main/postmarketos-ui-cosmic: disable audio over-amp by default COSMIC is configured by default to allow "over amplification" of audio, which is probably going to drive systems with sensitive speaker setups (like macbooks, and the x13s) too hard. 100% on these is already plenty loud. Users can override this default by flipping the switch in COSMIC Settings app if they really want it. Signed-off-by: Clayton Craft Part-of: --- main/postmarketos-ui-cosmic/APKBUILD | 8 ++++++-- main/postmarketos-ui-cosmic/amplification_sink.conf | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 main/postmarketos-ui-cosmic/amplification_sink.conf diff --git a/main/postmarketos-ui-cosmic/APKBUILD b/main/postmarketos-ui-cosmic/APKBUILD index c81e51254..daa9189bb 100644 --- a/main/postmarketos-ui-cosmic/APKBUILD +++ b/main/postmarketos-ui-cosmic/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Clayton Craft # Contributor: Aster Boese pkgname=postmarketos-ui-cosmic -pkgver=1 -pkgrel=4 +pkgver=2 +pkgrel=0 pkgdesc="COSMIC Desktop Environment from System76" url="https://system76.com/cosmic/" # Only tested on these archs. @@ -42,6 +42,7 @@ _pmb_recommends=" tuned-ppd " source=" + amplification_sink.conf favorites.conf wallpaper.conf " @@ -57,6 +58,8 @@ package() { "$pkgdir"/usr/share/cosmic/com.system76.CosmicBackground/v1/all install -Dm644 favorites.conf \ "$pkgdir"/usr/share/cosmic/com.system76.CosmicAppList/v1/favorites + install -Dm644 amplification_sink.conf \ + "$pkgdir"/usr/share/cosmic/com.system76.CosmicAudio/v1/amplification_sink } openrc() { @@ -78,6 +81,7 @@ openrc() { } sha512sums=" +a0d71be3f1c5b3da25c46a98d2c86aaa3e2fc256c5ae7fcd648ee296e7428b6978fcf994be1103ada28a8051619843e3b26174124aa804f76d550c68c4fcc1c0 amplification_sink.conf 671a0c696edbed71355c0ff842259d27a8eb2466ed472ac3c8de2a72c0f764cc02be3fb683f8dd709b7ba72fe2e07c7691240d84c01a639110df9e3b11a45abe favorites.conf 2f665d5040072aa2172a4755a1cd8c03ff950ae1d5cc1fe888f74ea1cca4587bb065686507849d81429c49a78c5baaa877231dd4bbe49c351c7978ce82789041 wallpaper.conf " diff --git a/main/postmarketos-ui-cosmic/amplification_sink.conf b/main/postmarketos-ui-cosmic/amplification_sink.conf new file mode 100644 index 000000000..c508d5366 --- /dev/null +++ b/main/postmarketos-ui-cosmic/amplification_sink.conf @@ -0,0 +1 @@ +false