Skip to content

Can I prevent a specific QT application from filling my kde mixer?

I have one particular QT application (chessx) that spawns 10 entries in my pulse audio mixer (in kde). Sounds are disabled in the application itself, but I think this just mutes the entries. Is there a way I can blacklist this program / process from connecting to pulse audio so it doesn't spam my mixer?

​

​

Edited 19 Jul 2023. We only hold this version.

2 points4 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
2 · 100% up
Kind
Text
ID
154aez3

Author

1
posts
2
comments
0
media
View profile

4 comments

I would just rebuild the app without sound support if I were you. Remove out this line: https://github.com/Isarhamster/chessx/blob/9797d46aa28804282bd58ce139b22492ab6881e6/chessx.pro#L14

Then maybe file a bug report, though I don’t know where. They have issues disabled on GitHub. I haven’t looked at their source code but I know some apps will make multiple entries as a “poor man’s mixer” to avoid properly mixing their audio into a single stream which is just lazy IMO. Not sure if that’s what’s going on here but food for thought.

4 points

Wow, good catch! As it happens I'm compiling it from source anyway. Tried this just now and it worked as described.

1 points

firejail --nosound gcolor2

2 points

Great suggestion. I've never used firejail, and in my head you'd only jail for security reasons, so I wouldn't have thought of this. But there are a ton of options here, looks like a great tool to add to the box.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.