Announcement

Collapse
No announcement yet.

System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

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

    System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

    I've got most things working in Jaunty now, but one really annoying remaining problem is system bell sounds from two essential GTK based apps: GTK Emacs and Firefox. Both of them want to play speaker beeps instead of using the KDE system bell. Making this much worse is that my Lenovo T60 laptop has made the ludicrous decision that if your headphones are plugged in, speaker beeps should instead be turned into eardrum shattering headphone beeps at 5x the volume of everything else.

    Does anybody know how to get Emacs and Firefox to use the KDE default beep?

    #2
    Re: System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

    Try in panel Sound Mix switch on check box PC Beep silence. In Emacs there are more ways, but I think this will do the job.
    Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

    Comment


      #3
      Re: System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

      First of all, I don't want to mute the sound. The alert sound can be very useful, but I want it to use the KDE alert bell not the built-in eardrum-shatterer.

      Second of all, I don't have a "PC Beep" or "Speaker" or any similar volume control. I've managed to avoid shattering my eardrums by removing the pcspkr kernel module, but now I get no sound at all, instead what I want is a nice sound-card-using beep.

      Comment


        #4
        Re: System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

        I have this problem too. I also do not have a "PC Beep" or "Speaker" or similar volume control.

        Comment


          #5
          Re: System beep (bell) from GTK apps (Emacs, Firefox) sound card instead of speaker

          My personal opinion is, that there is no solution immerc is looking for. If in GTK+ programs there is a call to pc beep instead of KDE system beep, it could be changed only in source code.

          For those, who would like to have a workaround when solution is not at hand: Only Firefox and emacs will be affected. Sorry, I wasn't clear enough with first explanation. So start point is the default speaker control icon in the system tray. It is the icon of KMix program, which is installed during Kubuntu installation. It has this window with pc beep control:


          Emacs workaround: For .emacs use first line for silence or second line for visual alert without annoying sound:
          Code:
          (setq ring-bell-function 'ignore)
          (setq visible-bell t)
          Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

          Comment

          Working...
          X