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;








2















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.










share|improve this question
























  • 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












  • Cut the speaker wire :) KISS

    – EODCraft Staff
    16 secs ago

















2















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.










share|improve this question
























  • 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












  • Cut the speaker wire :) KISS

    – EODCraft Staff
    16 secs ago













2












2








2








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.










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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

















  • 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












  • 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










3 Answers
3






active

oldest

votes


















2
















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.






share|improve this answer




















  • 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











  • 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


















2
















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





share|improve this answer
































    0
















    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.





    share



























      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
      );



      );














      draft saved

      draft discarded
















      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









      2
















      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.






      share|improve this answer




















      • 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











      • 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















      2
















      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.






      share|improve this answer




















      • 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











      • 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













      2














      2










      2









      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.






      share|improve this answer













      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.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      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 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












      • 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











      • 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













      2
















      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





      share|improve this answer





























        2
















        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





        share|improve this answer



























          2














          2










          2









          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





          share|improve this answer













          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






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 7 hours ago









          ether_joeether_joe

          4984 silver badges7 bronze badges




          4984 silver badges7 bronze badges
























              0
















              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.





              share





























                0
















                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.





                share



























                  0














                  0










                  0









                  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.





                  share













                  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.






                  share











                  share


                  share










                  answered 9 mins ago









                  KlaymenDKKlaymenDK

                  1851 silver badge10 bronze badges




                  1851 silver badge10 bronze badges































                      draft saved

                      draft discarded















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

                      Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

                      Кастелфранко ди Сопра Становништво Референце Спољашње везе Мени за навигацију43°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.5588543°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.558853179688„The GeoNames geographical database”„Istituto Nazionale di Statistica”проширитиууWorldCat156923403n850174324558639-1cb14643287r(подаци)