On Sun, Dec 28, 2014 at 10:10:09AM -0500, Sam Varshavchik wrote: > After switching to XFCE, one thing that I'm missing fondly is the terminal > beep/bell. > > I don't see any promising setting in xfce4-terminal. What I'm looking for is > what Gnome did – use an audio effect for a terminal beep, and not the > motherboard speaker. Anyone knows if that's possible? > Here's a script, /usr/local/bin/beep, that I find useful: NBEEPS=${1:-10000} REP=`expr $NBEEPS - 1` AUDIODEV=hw:0 /bin/play /usr/share/sounds/KDE-Sys-App-Message.ogg \ gain -0 pad 0 .4 reverb repeat $REP 2> /dev/null Note the use of AUDIODEV=hw:0 setting for the /bin/play command. That causes play (or sox) to send output directly to the alsa device, bypassing pulseaudio. That allows root, or any user, to run it. Depending on your audio hardware, you might have to alter hw:0. Check with aplay -l. -- David A. De Graaf DATIX, Inc. Hendersonville, NC dad@xxxxxxxx www.datix.us If I were two-faced, would I be wearing this one? -- Abraham Lincoln -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org