WayFix icon indicating copy to clipboard operation
WayFix copied to clipboard

Audio output name is just "java"

Open CogumeloNoGIT opened this issue 1 year ago • 8 comments

I know this is out of scope but i'll give it a try because you made a effort to fix Minecraft's wmclass. Is it possible to fix the audio output name so KDE Plasma can show audio controls on window preview?

Image Image

CogumeloNoGIT avatar Nov 23 '25 00:11 CogumeloNoGIT

Image

It seems to work for me, what mods are you using? The icon is the old minecraft icon, instead of the new one, maybe try removing whichever mod changes that.

not-coded avatar Dec 29 '25 20:12 not-coded

I changed the icon by creating a desktop entry manually and removing the Flatpak permission to write in applications directory

CogumeloNoGIT avatar Dec 31 '25 03:12 CogumeloNoGIT

Maybe this bug only happen with native pipewire, not pipewire-pulse

CogumeloNoGIT avatar Dec 31 '25 03:12 CogumeloNoGIT

Maybe this bug only happen with native pipewire, not pipewire-pulse

I am using native pipewire, I suspect it's something with flatpak. Have you tried enabling some permissions related to audio?

Could help: https://github.com/flathub/io.mpv.Mpv/blob/729f26bacc683c710863830cb4ab60b2220aed85/io.mpv.Mpv.yml#L23

not-coded avatar Dec 31 '25 12:12 not-coded

Permissions for xdg-run/pipewire-0 was already enabled. I removed the modified desktop entry and added permissions to xdg-data/applications and xdg-data/icons

Image Image For some reason, audio controls will work if i prevent the desktop entry creation.

CogumeloNoGIT avatar Dec 31 '25 16:12 CogumeloNoGIT

Maybe this bug only happen with native pipewire, not pipewire-pulse

Unrelated but how do you actually make it use native pipewire (or ensure it is using it), is there an environment variable or a setting that I don't know of? Sorry if this is a stupid question.

TheDGOfficial avatar Jan 01 '26 12:01 TheDGOfficial

Its not stupid, i have no idea of how to do it without Flatpak. I used flatpak-kcm to remove the Pulseaudio permission and added read/write permission to xdg-run/pipewire-0. Same thing work for Sober and other native games running inside Flatptak.

edit: Maybe setting ALSOFT_DRIVERS=pipewire variable will work for you

CogumeloNoGIT avatar Jan 01 '26 14:01 CogumeloNoGIT

Image Yeah, i don't think that the issue is related with the audio server, pipewire-alsa had the same behavior.

CogumeloNoGIT avatar Jan 01 '26 15:01 CogumeloNoGIT