Hi, Xbelld is an X daemon that performs an action every time the bell is rung. From the project webpage: ---- Quote ----- This is a tiny utility to aid people who either don't like the default PC speaker beep, or (like me) use an ALSA driver that doesn't yet have support for the PC speaker (e.g. snd_hda_intel, as of 2008-04-06). xbelld performs a given action every time the X bell is rung. The actions xbelld can perform currently include playing a PCM encoded wave files via ALSA, or running a program of your choice. It can also throttle the bell if it is rung too often (e.g. some terminal program goes crazy), disable the audible bell (so that you don't get the annoying PC speaker beep in addition to your xbelld action). ----- End quote ----- I attach an ebuild. GI
Created attachment 149075 [details] Ebuild for xbelld-0.1 (new)
Created attachment 149077 [details] Corrected the ALSA use flag.
Created attachment 149610 [details] Ebuild for xbelld-0.3.1 (new) The new 0.3.1 was recently released. I attach an ebuild. (It's different from the previous ebuild because it uses the minimal USE flag, and installs the ChangeLog in the docs directory.)
Ebuild for xbelld-0.3.1 tested on x86: works fine. Configuration as in bug 218084, comment 3.
Created attachment 163867 [details] Ebuild for xbelld-0.3.3 (new) Recently released version 3.3 (fixes on big endian systems). Ebuild attached.
ebuild xbelld-0.3.3 manifest reports there is a small syntax error. alsa? (media-libs/alsa-lib)" should have spaces after, before the parens, thus: alsa? ( media-libs/alsa-lib )"
Created attachment 271919 [details] xbelld -- fix ldflags. -Wl,--as-needed causes xbelld to fail with missing symbols, so I added filter-ldflags on it.