2
votes
0answers
167 views

Activating USB audio with /etc/pm/sleep.d script that runs pacmd commands

Ubuntu annoyingly switches the device for audio input and output from my USB headset to the built-in sound card every time I log out, hibernate, or shut down my computer. This takes place even though ...
5
votes
2answers
1k views

Script to Mute an Application

My goal is to be able to mute the Spotify application, not the entire system. Using the command: ps -C spotify -o pid= I am able to find the process ID of Spotify, in this case the ID is "22981". With ...
1
vote
1answer
445 views

Problem executing command from keyboard shortcuts

I created some shortcuts to control the audio volume of my laptop, as the default system shortcuts ( Fn + F4 / F5) aren't supported. I downloaded a script which allows me to increase/decrease/mute ...
2
votes
1answer
1k views

PulseAudio: Can not create sink with specific name anymore

Since having upgraded to Oneiric I can not create a sink in PulseAudio with a specific name. Usually I did it using this command: pactl load-module module-null-sink sink_name=test But now I get a ...
15
votes
2answers
6k views

Record a programs output with PulseAudio

I would like to record an output of a program with PulseAudio using command line/bash script. It is important not to record every output of the sound card, but only the one of one specific program. I ...