Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I exclusively use headphones on my laptop. When I unplug the power adapter and headphones to put my laptop away at school, the music starts blaring out of the built-in speakers. Can I just disable the built in speakers, or do I always have to mute the speakers before I unplug the headphones? My laptop is set to not sleep (just screen off) when I close the lid because I want my code to continue to compile while walking to my next class.

share|improve this question

1 Answer 1

run

modprobe -r pcspkr

run

sudo nano /etc/modprobe.d/blacklist.conf

and add blacklist pcspkr.

share|improve this answer
1  
it's not a pcspkr. this line is already in blacklist.conf. adding it again will do nothing. –  user114558 Feb 24 '13 at 23:15
    
what about snd_pcsp –  Remus Rigo Feb 25 '13 at 0:47
    
amixer -c<num> set <SCONTROL> mute –  Remus Rigo Feb 25 '13 at 0:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.