disable all sound permanently?Microphone ALSA noiseNo sound on 12.04 (wubi)Extremely poor sound quality after upgrading from 15.10 to 16.04Easily pause all audioNo sound card detected on Dell Vostro 5568 (17.04)No sound on laptop speakers in Ubuntu 18.04 LTSSound issue after reinstalling XubuntuNo sound from applications after Ubuntu LTS 18.04 wakes up
What action is recommended if your accommodation refuses to let you leave without paying additional fees?
Verb ending in -ん with positive meaning?
Should I be an author on another PhD student's paper if I went to their meetings and gave advice?
How important is knowledge of trig identities for use in Calculus
Can you cure a Gorgon's Petrifying Breath before it finishes turning a target to stone?
How to stop the death waves in my city?
Can I pay some of the cost of an activated ability lots of times to get more out of the effect?
Did Tolkien ever write about a Heaven or Hell for Men?
If a spaceship ran out of fuel somewhere in space between Earth and Mars, does it slowly drift off to the Sun?
What "level" is a monster, for the Tough feat?
How do we know neutrons have no charge?
My machine, client installed VPN,
Looking for circuit board material that can be dissolved
Is the "spacetime" the same thing as the mathematical 4th dimension?
Top off gas with old oil, is that bad?
To what degree did the Supreme Court limit Boris Johnson's ability to prorogue?
Writing a program that will filter the integer solutions
Enlightenment finding me
Is it good to engage in exceptional cases where it is permissible to do a typically forbidden action to which one has a taivah for
Delete n lines skip 1 line script
disable all sound permanently?
Numerical bases and prime number theory
Smallest PRIME containing the first 11 primes as sub-strings
Holes in Wall of Force
disable all sound permanently?
Microphone ALSA noiseNo sound on 12.04 (wubi)Extremely poor sound quality after upgrading from 15.10 to 16.04Easily pause all audioNo sound card detected on Dell Vostro 5568 (17.04)No sound on laptop speakers in Ubuntu 18.04 LTSSound issue after reinstalling XubuntuNo sound from applications after Ubuntu LTS 18.04 wakes up
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've got a lab for high school students and I'd like to disable audio altogether on the lab computers.
Any suggestions ? I've been looking at alsa force-unload, but that only kills processes that are currently using the soundcard. When I reload the browser and hit youtube, sound comes back.
Basically I want to unload sound from the kernel ...but easier than that.
sound
add a comment
|
I've got a lab for high school students and I'd like to disable audio altogether on the lab computers.
Any suggestions ? I've been looking at alsa force-unload, but that only kills processes that are currently using the soundcard. When I reload the browser and hit youtube, sound comes back.
Basically I want to unload sound from the kernel ...but easier than that.
sound
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Maybe putblacklist snd
in a file/etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- seemodinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone hassudo
onmodprobe
). Argh, you beat me too it!
– pbhj
7 hours ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago
add a comment
|
I've got a lab for high school students and I'd like to disable audio altogether on the lab computers.
Any suggestions ? I've been looking at alsa force-unload, but that only kills processes that are currently using the soundcard. When I reload the browser and hit youtube, sound comes back.
Basically I want to unload sound from the kernel ...but easier than that.
sound
I've got a lab for high school students and I'd like to disable audio altogether on the lab computers.
Any suggestions ? I've been looking at alsa force-unload, but that only kills processes that are currently using the soundcard. When I reload the browser and hit youtube, sound comes back.
Basically I want to unload sound from the kernel ...but easier than that.
sound
sound
asked 8 hours ago
ether_joeether_joe
4984 silver badges7 bronze badges
4984 silver badges7 bronze badges
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Maybe putblacklist snd
in a file/etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- seemodinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone hassudo
onmodprobe
). Argh, you beat me too it!
– pbhj
7 hours ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago
add a comment
|
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Maybe putblacklist snd
in a file/etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- seemodinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone hassudo
onmodprobe
). Argh, you beat me too it!
– pbhj
7 hours ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Maybe put
blacklist snd
in a file /etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- see modinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone has sudo
on modprobe
). Argh, you beat me too it!– pbhj
7 hours ago
Maybe put
blacklist snd
in a file /etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- see modinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone has sudo
on modprobe
). Argh, you beat me too it!– pbhj
7 hours ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago
add a comment
|
3 Answers
3
active
oldest
votes
This seems to work. Edit the file /etc/pulse/client.conf
Change the line:
; autospawn = yes
to
autospawn = no
And
; daemon-binary = /usr/bin/pulseaudio
to
daemon-binary = /usr/bin/pulseaudio
Reboot.
1
Every user could override the settings in/etc/pulse/cliet.conf
with his/her own settings in~/.config/pulse/client.conf
, please take a look atman pulse-client.conf
.
– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
add a comment
|
All right, so blacklisting the sound related modules worked. Thanks to this post:
http://www.pc-freak.net/blog/disabling-sound-kernel-modules-debian-ubuntu-gnu-linux-servers/
The details of the fix:
edit /etc/modprobe.d/snd-blacklist.conf
and add these entries (from a Dell standalone pc with 18.04)
blacklist soundcore
blacklist snd
blacklist snd_pcm
blacklist snd_hda_codec_hdmi
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_generic
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist snd_hwdep
blacklist snd_timer
add a comment
|
A hardware solution: insert a mini-jack connector in the sound output port, but only a connector, without any wire or speaker on it. This has worked for me since the 80's to silence the Mac's otherwise beautiful power-on ding.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1176426%2fdisable-all-sound-permanently%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
This seems to work. Edit the file /etc/pulse/client.conf
Change the line:
; autospawn = yes
to
autospawn = no
And
; daemon-binary = /usr/bin/pulseaudio
to
daemon-binary = /usr/bin/pulseaudio
Reboot.
1
Every user could override the settings in/etc/pulse/cliet.conf
with his/her own settings in~/.config/pulse/client.conf
, please take a look atman pulse-client.conf
.
– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
add a comment
|
This seems to work. Edit the file /etc/pulse/client.conf
Change the line:
; autospawn = yes
to
autospawn = no
And
; daemon-binary = /usr/bin/pulseaudio
to
daemon-binary = /usr/bin/pulseaudio
Reboot.
1
Every user could override the settings in/etc/pulse/cliet.conf
with his/her own settings in~/.config/pulse/client.conf
, please take a look atman pulse-client.conf
.
– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
add a comment
|
This seems to work. Edit the file /etc/pulse/client.conf
Change the line:
; autospawn = yes
to
autospawn = no
And
; daemon-binary = /usr/bin/pulseaudio
to
daemon-binary = /usr/bin/pulseaudio
Reboot.
This seems to work. Edit the file /etc/pulse/client.conf
Change the line:
; autospawn = yes
to
autospawn = no
And
; daemon-binary = /usr/bin/pulseaudio
to
daemon-binary = /usr/bin/pulseaudio
Reboot.
answered 8 hours ago
guillermo chamorroguillermo chamorro
7241 silver badge13 bronze badges
7241 silver badge13 bronze badges
1
Every user could override the settings in/etc/pulse/cliet.conf
with his/her own settings in~/.config/pulse/client.conf
, please take a look atman pulse-client.conf
.
– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
add a comment
|
1
Every user could override the settings in/etc/pulse/cliet.conf
with his/her own settings in~/.config/pulse/client.conf
, please take a look atman pulse-client.conf
.
– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
1
1
Every user could override the settings in
/etc/pulse/cliet.conf
with his/her own settings in ~/.config/pulse/client.conf
, please take a look at man pulse-client.conf
.– mook765
8 hours ago
Every user could override the settings in
/etc/pulse/cliet.conf
with his/her own settings in ~/.config/pulse/client.conf
, please take a look at man pulse-client.conf
.– mook765
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
So after this change, audio is still playing -- there are just no audio controls any more so volume is 100% . Thanks for the suggestion though. I think alsa just took over when pulse went away.
– ether_joe
8 hours ago
add a comment
|
All right, so blacklisting the sound related modules worked. Thanks to this post:
http://www.pc-freak.net/blog/disabling-sound-kernel-modules-debian-ubuntu-gnu-linux-servers/
The details of the fix:
edit /etc/modprobe.d/snd-blacklist.conf
and add these entries (from a Dell standalone pc with 18.04)
blacklist soundcore
blacklist snd
blacklist snd_pcm
blacklist snd_hda_codec_hdmi
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_generic
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist snd_hwdep
blacklist snd_timer
add a comment
|
All right, so blacklisting the sound related modules worked. Thanks to this post:
http://www.pc-freak.net/blog/disabling-sound-kernel-modules-debian-ubuntu-gnu-linux-servers/
The details of the fix:
edit /etc/modprobe.d/snd-blacklist.conf
and add these entries (from a Dell standalone pc with 18.04)
blacklist soundcore
blacklist snd
blacklist snd_pcm
blacklist snd_hda_codec_hdmi
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_generic
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist snd_hwdep
blacklist snd_timer
add a comment
|
All right, so blacklisting the sound related modules worked. Thanks to this post:
http://www.pc-freak.net/blog/disabling-sound-kernel-modules-debian-ubuntu-gnu-linux-servers/
The details of the fix:
edit /etc/modprobe.d/snd-blacklist.conf
and add these entries (from a Dell standalone pc with 18.04)
blacklist soundcore
blacklist snd
blacklist snd_pcm
blacklist snd_hda_codec_hdmi
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_generic
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist snd_hwdep
blacklist snd_timer
All right, so blacklisting the sound related modules worked. Thanks to this post:
http://www.pc-freak.net/blog/disabling-sound-kernel-modules-debian-ubuntu-gnu-linux-servers/
The details of the fix:
edit /etc/modprobe.d/snd-blacklist.conf
and add these entries (from a Dell standalone pc with 18.04)
blacklist soundcore
blacklist snd
blacklist snd_pcm
blacklist snd_hda_codec_hdmi
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_generic
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist snd_hwdep
blacklist snd_timer
answered 7 hours ago
ether_joeether_joe
4984 silver badges7 bronze badges
4984 silver badges7 bronze badges
add a comment
|
add a comment
|
A hardware solution: insert a mini-jack connector in the sound output port, but only a connector, without any wire or speaker on it. This has worked for me since the 80's to silence the Mac's otherwise beautiful power-on ding.
add a comment
|
A hardware solution: insert a mini-jack connector in the sound output port, but only a connector, without any wire or speaker on it. This has worked for me since the 80's to silence the Mac's otherwise beautiful power-on ding.
add a comment
|
A hardware solution: insert a mini-jack connector in the sound output port, but only a connector, without any wire or speaker on it. This has worked for me since the 80's to silence the Mac's otherwise beautiful power-on ding.
A hardware solution: insert a mini-jack connector in the sound output port, but only a connector, without any wire or speaker on it. This has worked for me since the 80's to silence the Mac's otherwise beautiful power-on ding.
answered 9 mins ago
KlaymenDKKlaymenDK
1851 silver badge10 bronze badges
1851 silver badge10 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1176426%2fdisable-all-sound-permanently%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Don't if it would work but would think if you disable/delete or blacklisted the audio/sound drivers in kernel. Would need to be root to disable/enable. Easiest way would be to set sound to mute in settings, but anybody can do/undo that. I am not good enough to explain how.
– crip659
8 hours ago
Maybe put
blacklist snd
in a file/etc/modprobe.d/blacklist-snd.conf
? AFAIK all the snd modules depend on it (and it depends on soundcore -- seemodinfo snd
, so perhaps that's the one to blacklist) and I think it's responsible for loading up the sound cards, so in theory without it you shouldn't have any sound possible (unless someone hassudo
onmodprobe
). Argh, you beat me too it!– pbhj
7 hours ago
Cut the speaker wire :) KISS
– EODCraft Staff
16 secs ago