How to adjust the volume on the console?

Started by eQuacky, 2019/08/31, 13:40:10

Previous topic - Next topic

eQuacky

Hi folks,
as my console's beep is just too loud, especially during autocompletion, I looked for a solution on the internet.

Tried as follows:
pactl set-sink-volume 0 50%
provided no results
pacmd set-sink-volume 0 50%
resulted in:
Failed to parse volume
pacmd list-sinks showed me that I have only index 0

What can I do else?
siduction 18.3.0 patience (201908101450) lxqt 0.14.1, fully upgraded


finotti


vinzv

Is the PC's internal speaker beeping? If so you could deactivate it completely:
sudo rmmod pcspkr
To have this change permanently surving reboots create a file/etc/modprobe.d/nobeep.conf
And fill this file with:echo "blacklist pcspkr"

eQuacky

@vinuv
thanks rmmod worked


@finotti
just heard a couple of years ago  pulseaudio should be the better sound solution?!

finotti

Quote from: eQuacky on 2019/09/03, 18:33:20
@finotti
just heard a couple of years ago  pulseaudio should be the better sound solution?!
pulseaudio is (probably) better for the desktop, but it does run on top of alsa.  If when in a terminal you don't have pulse, you can try alsamixer...  (I haven't tried it myself.)  But what matters is that you found a solution!

melmarker

Finotti: One should use the standard cli tool pactl - simple google for. man pactl is also worth reading.


pactl list sinks # all the sinks in the system
pactl set-sink-mute $sink {true|false|toggle} # mute, un-mute, toggle mute
pactl set-sink-volume  $sink vol% # also +/- vol% are possible


and so on ...

Otherwise vinzv is right - if the pcspkr module is used - some older dell notebooks see it different :D
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

piper

Or just disable it (pc speaker) from the bios (if your board has that option)
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

melmarker

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

piper

I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

tranquil

Hopefully this isn't considered necro-posting, but I use the Openbox window manager and I have the following line in the autostart file to turn off system beeps:

xset b off

xset comes with x11-server-utils. You should be able to issue the same command from the command line, but you'll need to remember to issue the command every time you boot your computer.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.