Can I Change the New Mail Control Beep?

Linux for blind general discussion blinux-list at redhat.com
Thu Mar 14 21:06:46 UTC 2019


Tim here again.  If you're running in just a raw console, I'm not
aware of anything that can do it straight up.  But if you run tmux
within that console (which I do recommend), you can create a hook
in your ~/.tmux.conf that will execute an arbitrary command when
tmux intercepts the bell/beep.  Here I use aplay(1) to play one of
the standard sound-icons on my machine:

set-hook -g alert-bell "run-shell '/usr/bin/aplay /usr/share/sounds/sound-icons/glass-water-1.wav'"

You should be able to adjust it to play an MP3, OGG, or whatever.

(and if you're not using tmux, it has some really handy tools for
working in a console-only world, but I'll sing those praises another
day)

-tim

On March 13, 2019, Linux for blind general discussion wrote:
> Hi Tim: Yes I am in a console-and-what I want is a "ding"  I tried
> your command you  sent, which made no difference, but we don't have
> kids, so a lo buzz would be worse.  I am in Debian-and-TCSH. Thanks
> so much in advance. Chime
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list




More information about the Blinux-list mailing list