From: Joe Casadonte <jcasadonte@northbound-train.com>
To: help-gnu-emacs@gnu.org
Subject: Re: No sound with Emacs 23.1.1 on Ubuntu 9.10
Date: Mon, 18 Jan 2010 05:47:35 -0800 (PST) [thread overview]
Message-ID: <a12d0515-356f-4e92-8e06-ca59a9618d0e@19g2000vbq.googlegroups.com> (raw)
In-Reply-To: 3690201d-0aa7-4d44-80e9-bbb7916bf6d7@h10g2000vbm.googlegroups.com
Evidently in 9.10 the PC speaker is disabled by default:
https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/77010
Why they "solved" this issue by disabling the speaker is beyond me;
like many others, I feel the real solution is to let Gnome deal with
the sound. That would be a way better default behavior, IMHO.
So, to get the behavior I desired (turn on the beep but replace it
with a gentler sound) I did the following:
Edit the /etc/pulse/default.pa file and add the following lines at the
bottom of the file:
load-sample drip-ogg /usr/share/sounds/gnome/default/alerts/
drip.ogg
load-module module-x11-bell sample=drip-ogg
Then add the following lines to my ~/.bashrc file:
xset b on
pactl load-module module-x11-bell sample=drip-ogg >/dev/null
The result is a pleasing system alert sound that's available pre-
login, and the same pleasing system sound available post-login, but
only after I've brought up a terminal window (which I nearly always do
first thing anyway).
The "xset b on" turns the alert sound back on, and the "pactl" line
replaces it with a more pleasing sound. I haven't yet figured out how
to do the "xset" bit globally (putting it in /etc/X11/xinit/xinitrc
didn't work for me), nor have I figured out a way to do without it
(simply commenting out the "pcspkr" line in /etc/modprobe.d/
blacklist.conf didn't do it).
Occasionally I get both the system beep and my more pleasing sound
both happening at once; when it does happen, simply re-running the
"pactl" line fixes the issue (which I can do by opening up another
terminal window). It's not an ideal solution, but it works well enough
for me. I hope this helps someone else!
next prev parent reply other threads:[~2010-01-18 13:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 17:56 No sound with Emacs 23.1.1 on Ubuntu 9.10 Joe Casadonte
2009-12-31 23:03 ` B. T. Raven
2010-01-01 20:20 ` Joe Casadonte
2010-01-02 0:41 ` B. T. Raven
2010-01-03 2:24 ` Joe Casadonte
2010-01-04 0:17 ` B. T. Raven
[not found] ` <n_KdnTP2Us8JptzWnZ2dnUVZ_hydnZ2d@sysmatrix.net>
2010-01-04 18:03 ` B. T. Raven
2010-01-18 13:47 ` Joe Casadonte [this message]
2010-01-01 4:52 ` Óscar Fuentes
[not found] ` <mailman.508.1262321580.18930.help-gnu-emacs@gnu.org>
2010-01-01 20:21 ` Joe Casadonte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a12d0515-356f-4e92-8e06-ca59a9618d0e@19g2000vbq.googlegroups.com \
--to=jcasadonte@northbound-train.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.