mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-14 14:06:46 +00:00
843 B
843 B
title | layout | created | updated | toc | tags | ||||
---|---|---|---|---|---|---|---|---|---|
PC Speaker in Linux | default | 2009-12-10 19:17:02 +0100 | 2009-12-10 19:17:02 +0100 | false |
|
Enable in Ubuntu
If you want some scripts to emit beeps, e.g. because you don't always have your headphones on, you first have to enable
the pcspkr
module. This is per default disabled in Ubuntu. To enable it again, do the following:
-
open
/etc/modprobe.d/blacklist.conf
in your favorite editor (usingsudo
) -
find these lines:
# ugly and loud noise, getting on everyone's nerves; this should be done by a # nice pulseaudio bing (Ubuntu: #77010) blacklist pcspkr
-
comment out the last line
-
finally, do a
sudo modprobe pcspkr
After that, you can play around with the beep program.