Hot answers tagged

68

Parts of this answer comes from setting audio input via cmd line?, placed here for your convenience. Increase volume by 5% amixer -D pulse sset Master 5%+ Decrease volume by 5% amixer -D pulse sset Master 5%- Set volume to 50% amixer -D pulse sset Master 50% If you are using ALSA, amixer can be helpful for your script programming. ...


30

This solution should work for all Thinkpads with a mute button which also has a built-in light. It may also work for other Thinkpads. Apart from the notification bubbles: There are two possible "hardware" indicators (to show that mute is on or off): The Power button light (green) will blink to show when mute is on The Mic mute button light (orange) ...


28

You can do it using PulseAudio itself (I won't recommend using ALSA because then you can't use the GUI to bring the volume up/down). If you have only one soundcard you may use pactl: pactl set-sink-volume 0 +10% This makes the volume 10% up. If you want it 10% down: pactl set-sink-volume 0 -- -10% (the manual page says the -- isn't necessary but it ...


18

The maximal possible volume level we can obtain from sliding the volume control to more than 100% is approx. 153% above the normal peak limit. Provided we had set the ALSA volume with alsamixer to 100 these 100% are the level above which audio will be clipped or distorted. This also will happen when amplifying to 153% with the slider. Nevertheless is is ...


17

I use a command line utility called mp3gain, which is available in the repositories. To use it, go into the directory where you store your music files, and then run this command: find -name '*mp3' -exec mp3gain -r -k {} \; It will go through every subdirectory, finding any file ending with .mp3, and normalize the gain so that they will also play back at ...


16

amixer set 'Master' 10%+ - to increase max sound 10% amixer set 'Master' 10%- - to decrease max sound 10% amixer set 'Master' 10% - to get 10% of the max sound amixer set 'Master' 80% - to get 80% of the max sound .. etc. If you want to set the volume to other than 'Master', check the list by: amixer scontrols You may also want to check out ...


13

try running these commands (via alt+f2 or terminal): volume to 150%: pactl set-sink-volume 0 150% to return the volume to 100% simply: pactl set-sink-volume 0 100% Note that the argument after set-sink-volume specifies your sound device. If you have hdmi you will likely have 2 devices and you need to check for your device id using alsamixer or pacmd ...


11

This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on ...


8

If you want to use amixer to control the volume, amixer -D pulse sset Master 0% should work in a terminal (0% to mute or use any percentage you like). To reduce/increase the volume, you can add - or + after % (but that doesn't work to increase the sound beyond 100%).


8

There is Sound Settings which will allow you to change all sound options much like Windows. You can adjust the slider to change volume,mute the output, control media playback etc. Once you choose sound Settings you can adjust all preferences by selecting a tab. If you want to have the functionality of the Windows sound menu control you will need to ...


7

sudo apt-get install pavucontrol and adjust to suit


7

Sound Preferences (gnome-volume-control) is part of the package gnome-media . You can install it by either clicking the link above, Synaptic Package Manager or from the command line: sudo apt-get install gnome-media


7

I found a bug report on launchpad regarding this issue and it seems when reassigning the media keys some prefix is missing. The following lines are somewhat of a summary of what is discussed in bug report You can issue the following command to see your current keybinding: gsettings get org.gnome.settings-daemon.plugins.media-keys volume-up Output ...


7

I tried this command: pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 150% and it was very helpful. One can change the 150% to any value.


6

Open System Settings, go to Keyboard, then the Shortcuts tab, and finally choose Sound and Media in the list on the left. You can then choose the Volume related items in the list on the right side, and select which keybinding to use. (Reverse usage of left and right here, for RTL languages.)


6

I have the same issue (also on hp dv4 running 11.10, worked fine on 11.04). I just tried the following and it worked for me. Go to 'sound settings' and click on 'output'. There you will see 'analog headphones' for the connector (at the bottom). Change that to 'analog speakers' and you will get sound on your headphones. Strange, but it works.


5

I simply add the following piece of code in my start up script & add that script in my start up application by Menu >> Applications >> Other >> Startup Applications. For this first you need to install pulseaudio-utils by sudo apt-get install pulseaudio-utils #!/bin/bash # start.sh - commands to run when OS starts #Increase Audio ...


5

Starting from 9.10 Pulse Audio merges the sound mixing from ALSA. This has the side effect that you are able to increase the sound level to >100% if you need to. This of course goes on the cost of sound quality as pcm sound will get distorted when overamplified. You can disable this behaviour if you want.


5

Go to System Settings and click keyboard. Click Shortcuts, and custom shortcuts. Click add and then enter into it the following: Volume+ amixer -D pulse sset Master 5%+ Click save and then repeat for Volume- (change the 5%+ to 5%-) Click on disabled, then press the appropriate volume key. It will say Do you want to reassign. Click yes. Do the ...


5

I found a solution: deleting ~/.pulse then logout. Next time it happens I will try the other answer too.


4

It looks like you're not using the default Xfce volume slider (perhaps in Xubuntu it is default, but not in Xfce). I suspect that you're using the indicator plugin, which I don't like nor use. I would suggest that you try adding Audio Mixer plugin to the panel. To have it available you need to: sudo apt-get install xfce4-mixer


4

You could add load-module module-switch-on-connect to your file /etc/pulse/default.pa On my Ubuntu 12.04 system, I added this line before the lines that set the volume restore: load-module module-switch-on-connect ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module ...


4

I ran into this in an Ubuntu installation that I had installed the xfce4 pacakage on, not a proper Xubuntu installation. But in case if anyone else has the same problem, I had to install the indicator-sound-gtk2 package: sudo apt-get install indicator-sound-gtk2 and then log out/log back in.


4

Unfortunately, this is not possible without editing the source code for the sound indicator.


4

IMO "pactl set-sink-volume 0 +10%" is a good choice too if you want key that slowly adds volume beyond 100% limit (I use ctrl+volumeup for that)


4

Actually, you CAN slide all the way up: when using the indicator applet icon, the max slider IS 100% unamplified To raise it ABOVE 100% (ie, to use amplified levels), you must go Sound Preferences. So, when using the applet icont, go ahead and dont worry, it wont be amplified. You can check this yourself: open the Sound Preferences window, and leave it ...


4

In the audio preferences dialog (Gnome volume control), you can press → to increase volume beyond 100% (or less intuitively, ↓). So the question becomes: how do you get to that dialog using the keyboard. There are several ways: Press F10 to move focus to application menus, then left arrow until you get to the volume indicator. Press the up arrow ...


4

xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode: kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon & This runs ...



Only top voted, non community-wiki answers of a minimum length are eligible