Re: Terminal bell/beep in XFCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David A. De Graaf writes:

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.

Well, yes, that's the way to play the terminal bell sound.

This is the easy part. The difficult part here is to arrange for all of this to happen when something prints ASCII BEL in an xfce4-terminal console.

It's funny how the expected behavior sinks down in your subconsiousness to the point that you only become aware of it when it no longer occurs.

Attachment: pgpxQKSPaPFeA.pgp
Description: PGP signature

-- 
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux