Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openbox system sounds volume
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 766

PostPosted: Sat Dec 28, 2024 8:05 pm    Post subject: openbox system sounds volume Reply with quote

I am using Openbox and pulsaudio. I control volume levels with pavucontrol.
In the pavucontrol app I usually control individual app volume in the Playback tab or directly in the application that is generating the audio. This all works.

However, how do I control the volume so system sounds? (The volume control in the Output Devices tab of pavucontrol does work but it changes the volume for all applications.) There does not seem to be any sort of system sounds entry in pavucontrol Playback tab.

What I really want to do: cut the volume of the "drip" sound when I make a mistake in an xterm window.

Any ideas?
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 766

PostPosted: Tue Dec 31, 2024 2:10 am    Post subject: Reply with quote

I could not find a good answer so here is my hack to "fix" system sounds:

I decided to remove system sounds if I could not control the volume of those sounds. (This does not affect other sounds: ex: video play back, videos in Firefox, games etc.)

In pavucontrol: in the "Output Devices" tab: For each output audio device listed there is a check box: "Set as fallback": I checked an output audio device that I never use. Now the first time you use any application that has audio out you will need to tell Pulse Audio to send the audio to a device you are listening to: In pavucontrol playback tab: change the "Playback stream on" to your audio device, not the "default" set above. This is a little cumbersome but finally I don't hear the system error sound every time I do something "wrong" in an xterm window.
Back to top
View user's profile Send private message
FranciscoJaimes
n00b
n00b


Joined: 15 Jan 2025
Posts: 24
Location: Mexico

PostPosted: Wed Jan 15, 2025 10:10 pm    Post subject: Reply with quote

To control system sounds (like the "drip" sound in XTerm), you can adjust the event sounds or beep settings, but these often don't show up in pavucontrol. Here's how you can address it:

Disable or adjust beep volume:

If it's a system beep, you can mute or lower it using the following:
bash
xset b off # Disable system beep
If you still want to keep it but lower the volume, try adjusting the Xterm settings:
In .Xresources, add or adjust:
arduino
XTerm*bellIsNotified: true
XTerm*visualBell: true
PulseAudio's flat-volumes option: Sometimes, system sounds are treated as part of the master volume. You could enable the flat-volumes setting to decouple this behavior:

Edit /etc/pulse/daemon.conf and set:
perl
flat-volumes = no
Restart PulseAudio:
bash
Copiar código
pulseaudio -k
pulseaudio --start
These changes should help you separate system sounds and manage their volume independently.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum