Guest mpward Posted September 4, 2009 Report Share Posted September 4, 2009 The PC speaker is not working: when I run echo "\a" in an xterm or konsole there is no beep. lsmod shows that the pcspkr module is installed: pcspkr 2268 0 The speaker beeps on startup and shutdown. "xset q" says: bell percent: 100 bell pitch: 400 bell duration: 50 "xrdb -query" says: XTerm*audibleBell: true kmixer has the PC Speaker volume at 100% Clicking on the "test" button in: System Settings -> Notification -> System bell does produce a beep! Any ideas? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Greg2 Posted September 4, 2009 Report Share Posted September 4, 2009 I believe that you need to use the -e option echo -e "\a" However that's not the problem, because that doesn't work either. I'd suggest that you take a look at this revision: revision 347509 That revision may be your problem, but I'm not sure. I would also suggest that you file a bug report on this. Welcome aboard! :) Quote Link to comment Share on other sites More sharing options...
Guest mpward Posted September 4, 2009 Report Share Posted September 4, 2009 Thanks for the reply. /bin/echo requires the -e option, but I am using tcsh which has an echo builtin which interpolates backslash-escaped characters by default. I took this line out of /etc/rc.d/rc.alsa_default to see if it made any difference (it didn't): # Fix excessive loud beep on intel hda: #45386 |PC\ Beep As I said, the beep works on the console, it also works if I press Control-Alt-F1 and login to /dev/tty1 The files in $HOME/.kde4/share/config have the following references to "bell": kaccessrc:[bell] kaccessrc:ArtsBell=false kaccessrc:SystemBell=true kaccessrc:VisibleBell=false kaccessrc:VisibleBellColor=255,0,0 kaccessrc:VisibleBellInvert=true kaccessrc:VisibleBellPause=500 kdeglobals:UseSystemBell=true konsole.notifyrc:[Event/BellInvisible] konsole.notifyrc:[Event/BellVisible] I can get konsole to run the command: /bin/echo -e "\a" > /dev/console when it wants to ring the bell (via Settings -> Notifications). There isn't an option to use the system bell for notifications here! Also, this doesn't work with xterm (my preferred terminal). Quote Link to comment Share on other sites More sharing options...
coverup Posted September 14, 2009 Report Share Posted September 14, 2009 Configure your desktop -> Notifications -> System Bell -> check use system bell instead of notifications. Now the bell works in emacs, but not in konsole. In KDE 3, there used to be an option yo use the system bell, I cannot see it anymore :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.