You are not logged in.

#1 2009-12-21 06:10:50

tracer0xa
Member
Registered: 2009-09-10
Posts: 1

No system bell in X applications

I have this application that when an alert box pops up it's supposed to ring the system bell. The behavior is preferred. I have a system bell if I run the command `echo -e "\a" > /dev/tty1` which will go to the PC Speaker. I expected and have always had that work. The problem I'm running into is the X bell.

No audio comes out at all but I'm using a program xbelld to redirect output to regular speakers because the system bell is to quiet in it's environment. This works fine in gvim, chromium-browser, and if I run xkbbell. If I run urxvt with the -vb switch, I'll have a visual bell but without the switch I have no bell at all. Basically what I'm saying there, is `echo -e "\a"` has no effect unless there's the visual bell is enabled but this is pointless as I need the sound.

It worked fine when the system ran Debian, but I had far worse issues there so I switched to Arch. I've considered hacking the program to manually play an audio file, but I'd rather figure out (or make an attempt at) why the X bell isn't working properly.

Sorry if this is a little hard to follow, it's late and I'm getting tired. At the very least if you can't provide any suggestions, if you could try the X bell yourself to see if it works on your machine in either xterm or urxvt that'd be much appreciated. I'd at least like to know if it's everyone or just me. Thanks for your time either way.

Offline

#2 2009-12-21 06:55:07

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: No system bell in X applications

I'm able to trigger the "urgentOnBell" effect in urxvt but can't get the actual beep sound to come out. I don't know how long it's been that way as I usually do "xset -b".

Offline

#3 2009-12-21 07:21:56

pwd
Member
Registered: 2009-12-14
Posts: 13

Re: No system bell in X applications

Confirming this problem.

Offline

#4 2010-03-04 18:33:59

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: No system bell in X applications

I'd like to get the system bell working on my system as well. The pcskpr module is loaded but I get no sound from the system bell after my computer boots beyong BIOS. echo -e '\a' fails to produce any sound. What's up with this? It seems  the higher-ups (in the kernel community?) have decided the system bell is obsolete, so it gets disabled by default. It looks non-trivial to re-enable it--if what I read on the Ubunutu forums about the issue is indicative. Any pointers on enabling the system bell on Arch?

Thanks,
James

Offline

#5 2010-05-08 21:25:13

ajeetraj
Member
Registered: 2010-05-08
Posts: 1

Re: No system bell in X applications

same problem here.

I have a Dell Latitude E6400 if that helps. All the sound on my computer works but when the system bell (like going backspace in terminal when everything is gone) makes this horrible sound. Did anyone had a problem like this?

please let me know if you have some info.

smile

Offline

#6 2011-01-26 22:53:07

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: No system bell in X applications

Here's my belated resolution, sort of, to this problem. My tests indicated that it was gnome that was blocking the system bell somehow. When I would go to a real terminal (via ctrl-alt-F#, not an xterm), the system bell would work normally. Well, I stopped focusing on getting the system bell to work under the Gnome desktop because I really only needed it for one program--pidgin--and I didn't need it in its stock form, i.e., where it issues only a single beep. Instead, I began to focus on getting the program I'd been using to give the special system bell tones I wanted--a program called "beep"--to work. I discovered--as I'd likewise discovered in the past when this had happened but had forgotten about that--that it was a permissions problem. I implemented the solution I found at http://ubuntuforums.org/showthread.php? … st10320685 (as well as in beep's documentation) and the system bell, such as I need it, is working fine now.

James

Offline

Board footer

Powered by FluxBB