Announcement

Collapse
No announcement yet.

no beep in vim, gnome-terminal

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    no beep in vim, gnome-terminal

    Hi >

    I've lost my beeps in gvim, gnome-terminal and xterm. /usr/bin/beep sounds the PC speaker, there's a beep in konsole, System settings->notifications->KDE system notifications has a sound (and can play it) for everything. I've tried System settings->notifications->system bell->use system bell both on and off. I've tried xset b on. gnome-sound-properties has a sound for everything, and can play them.

    (I'd use konsole but the cursor blink is far too slow.)

    Any ideas?

    Regards, John
    Regards, John Little

    #2
    Re: no beep in vim, gnome-terminal

    I've found a workaround. The xkbevd daemon does the job with its configuration file ~/.xkb/xkbevd.cf set to

    Code:
    soundDirectory="/usr/share/sounds/"
    soundCmd="aplay -q"
    
    Bell() "KDE_Beep_ShortBeep.wav"
    Just need to start xkbevd -bg in my .profile, but only if X is running.
    Regards, John Little

    Comment


      #3
      Re: no beep in vim, gnome-terminal

      To update my workaround. (With Jaunty my beeps still don't work, the system bell always sounds regardless of what I put in system settings.) With Jaunty KDE has moved to .ogg files, and my aplay doesn't play them properly, I get a burst of static. Either give aplay a .wav file, ~/.xkb/xkbevd.cf set to

      Code:
      soundDirectory="/usr/share/sounds/"
      soundCmd="aplay -q"
      
      Bell() "generic.wav"
      or use a command that does, eg canberra-gtk-play, ~/.xkb/xkbevd.cf set to

      Code:
      soundDirectory="/usr/share/sounds/"
      soundCmd="canberra-gtk-play -f"
      
      Bell() "KDE-Im-Contact-In.ogg"
      As before, I start xkbevd -bg in my .profile, but only if X is running.
      Regards, John Little

      Comment

      Working...
      X