Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] How to adjust the volume on the console?  (Read 6745 times)

eQuacky

  • Guest
[EN] How to adjust the volume on the console?
« on: 2019/08/31, 13:40:10 »
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


Offline finotti

  • User
  • Posts: 269
Re: How to adjust the volume on the console?
« Reply #1 on: 2019/09/01, 18:06:00 »
You could try alsamixer.

Offline vinzv

  • Administrator
  • User
  • *****
  • Posts: 156
Re: How to adjust the volume on the console?
« Reply #2 on: 2019/09/02, 16:03:49 »
Is the PC's internal speaker beeping? If so you could deactivate it completely:
Code: [Select]
sudo rmmod pcspkrTo have this change permanently surving reboots create a file
Code: [Select]
/etc/modprobe.d/nobeep.confAnd fill this file with:
Code: [Select]
echo "blacklist pcspkr"

eQuacky

  • Guest
Re: How to adjust the volume on the console?
« Reply #3 on: 2019/09/03, 18:33:20 »
@vinuv
thanks rmmod worked


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

Offline finotti

  • User
  • Posts: 269
Re: How to adjust the volume on the console?
« Reply #4 on: 2019/09/03, 19:01:11 »
@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!

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: How to adjust the volume on the console?
« Reply #5 on: 2019/09/03, 22:25:58 »
Finotti: One should use the standard cli tool pactl - simple google for. man pactl is also worth reading.

Code: [Select]

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)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: How to adjust the volume on the console?
« Reply #6 on: 2019/09/03, 22:27:57 »
Or just disable it (pc speaker) from the bios (if your board has that option)
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: How to adjust the volume on the console?
« Reply #7 on: 2019/09/03, 22:29:33 »
a cable cutter might help too
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)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: How to adjust the volume on the console?
« Reply #8 on: 2019/09/04, 01:29:16 »
:) you got that right
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline tranquil

  • User
  • Posts: 111
Re: How to adjust the volume on the console?
« Reply #9 on: 2020/02/09, 09:27:40 »
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:

Code: [Select]
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.