Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Utilities

    ev_bell 0.9

    Download button

    No screenshots available
    Downloads: 401  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Christian Reitwießner | More programs
    GPL / FREE
    March 13th, 2007, 03:05 GMT
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    ev_bell description

    ev_bell is a project which runs external programs when sound events from the Linux kernel occur.

    ev_bell is a project which runs external programs when sound events from the Linux kernel occur.

    ev_bell can call external programs when the Linux kernel generates a simple sound event like the bell signal from the console. It looks for sound events on /dev/input/event*, parses them, and calls the external program afterwards. The fields of the event packet can be put inside of the argument string of that program.

    This file contains the source code and a precompiled version for x86 computers. You can use it, but be warned that I do not take any responsibilities for anything caused by this binary (nor by any binary compiled from the source), it may not even run.

    Usage: ev_bell

    Listens on (usually /dev/input/event0) for sound events and
    executes the specified program, passing all remaining parameters. If
    present, a "%1" is substituted by the timestamp of the event, two long
    integers in decimal representation separated by a ".", the first
    representing the tv_sec and the second the tv_usec field of a struct
    timeval (seconds and microseconds since the unix epoch).
    "%2" is substituted by the event code or sound types (defined in
    linux/input.h, currently only SND_CLICK (0) and SND_BEEP (1) are specified).
    "%3" is substituted by the event value.

    Example:
    ev_bell /dev/input/event0 esdplay beep.wav

    How to build:

    Modify INSTALL_DIR in the Makefile, if you want the binary to be put somewhere
    else than /usr/local/bin.

    Run "make"

    Run "make install" (as root)

    Product's homepage

      


    TAGS:

    ev_bell external | kernel generates | sound event | ev_bell | external | kernel

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM