Re: [gentoo-user] beep
On Wednesday, April 15, 2015 12:25:03 AM lee wrote: Hi, when the pcspkr module (or how it's called; I haven't compiled atm) is loaded, somehow the built-in speaker is used to sometimes beep. There also seems to be the option to play this beep via the sound card --- which usually sounds nicer. How is this done? Do I need to load a different module for that, or does it require to use some sort of additional software? If you mean how to configure the kernel for it then just load the right module. I remember seeing a PC Speaker Emulation or similar module but I can't find it now so it may be gone. Anyways, this only applies to the console (VT). Software just writes the BEL character (0x07) to it's terminal (stdout) to play a beep. You can also open /dev/console directly and play this character or use ioctl calls to play sounds with different frequencies and duration but this requires root privileges. Modern desktop terminal emulators will already be using the sound card to play the BEL character. On KDE for example you can choose any sound file to play or just show a notification. -- Fernando Rodriguez
Re: [gentoo-user] Beep holding Shift
David Corbin wrote: $ grep kde /var/lib/portage/world | sort When I get that, all I get is: kde-base/kde Okay, no problem, you have a full KDE install, not a series of split ebuilds. Ah! I see what's happened to me (at least in part). When I run the control center, it prompts me for the root password, That is strange, starting the Control Center shouldn't ask for the root password. Only under System Administration most sections have an Administrator Mode button, needed when one wants to change anything there. Then it asks for the root password. All the rest should be changeable as your normal user. Do you still have your ~/.kde3.3 dir lying around? If so, you may want to tar it up somewhere safe, then delete the dir, and restart KDE, just to be sure. That probably won't help anything, so then log out of KDE, move ~/.kde3.4 to a different name for the moment, clean all KDE stuff out of /tmp, and then relogin to KDE. If that brings things back to normal, you may try diffing the old and new .kde3.4 dirs. If it doesn't help, restore your original .kde3.4 dir to get all your settings back. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding CTRL
On Saturday 23 July 2005 10:11 pm, Michal Pronay wrote: Sound like accessibility support to me. Try to take a look in your kde control panel - Regional Accessibility - Accessibility. M. Well, that allows me to turn off the System Bell, but I'm curious as to why it's beeping in the first place. David -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding Shift
David Corbin wrote: On Saturday 23 July 2005 10:11 pm, Michal Pronay wrote: Sound like accessibility support to me. Try to take a look in your kde control panel - Regional Accessibility - Accessibility. Well, that allows me to turn off the System Bell, but I'm curious as to why it's beeping in the first place. Go to the Keyboard tab there, press Shift-F1, and click on Activation gestures. You will see it wasn't Ctrl but Shift that beeps after 8 seconds. You may want to read the relevant section in the Help Center. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding Shift
On Sunday 24 July 2005 08:58 am, Benno Schulenberg wrote: David Corbin wrote: On Saturday 23 July 2005 10:11 pm, Michal Pronay wrote: Sound like accessibility support to me. Try to take a look in your kde control panel - Regional Accessibility - Accessibility. Well, that allows me to turn off the System Bell, but I'm curious as to why it's beeping in the first place. Go to the Keyboard tab there, press Shift-F1, and click on Activation gestures. You will see it wasn't Ctrl but Shift that beeps after 8 seconds. You may want to read the relevant section in the Help Center. You're right of course, it was the Shift key. However, my help center documentation doesn't have any information on Activation Gestures, and worse, even if I uncheck Use gestures for activating the above features and APPLY, it still beeps. Furthermore, even though I've unchecked Use System Bell, I get an audible bell and no visible bell (despite having checked that). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding Shift
David Corbin wrote: However, my help center documentation doesn't have any information on Activation Gestures, Indeed, it doesn't here either. Time for a doc-patch? :) and worse, even if I uncheck Use gestures for activating the above features and APPLY, it still beeps. Hmm, sounds like this bug: http://bugs.kde.org/show_bug.cgi?id=97425 What version of KDE are you using now? Here 3.4.1. Furthermore, even though I've unchecked Use System Bell, I get an audible bell and no visible bell (despite having checked that). This all works fine here, in every combination: beep, song, flash. And I can disable all that too. But holding Shift for eight seconds doesn't actually enable Slow keys, also there is no confirmation dialog (although it is ticked). Pressing Shift five times _does_ activate Sticky keys (and it asks first when ticked). Hmm, there is definitely something wrong with these Accessibility things. Maybe kcmaccessibilty depends on extra things, other split ebuilds, some of which I've installed but you don't? $ grep kde /var/lib/portage/world | sort kde-base/kaddressbook kde-base/kappfinder kde-base/kate kde-base/kbabel kde-base/kde-i18n kde-base/kdebase-startkde kde-base/kdelibs kde-base/khelpcenter kde-base/khexedit kde-base/khotkeys kde-base/kmail kde-base/kmenuedit kde-base/kmix kde-base/konqueror kde-base/konsole kde-base/kopete kde-base/kpat kde-base/kpdf kde-base/ksnapshot kde-base/kstart kde-base/ksysguard kde-base/kuickshow kde-base/kwalletmanager kde-base/kxkb kde-misc/kdiff3 kde-misc/ksensors And this is my ~/.kde/share/config/kaccessrc: [Bell] ArtsBell=true ArtsBellFile=/usr/share/sounds/Borealis/Question.ogg SystemBell=true VisibleBell=true VisibleBellColor=255,0,0 VisibleBellInvert=true VisibleBellPause=200 [Keyboard] BounceKeys=false BounceKeysDelay=500 GestureConfirmation=true Gestures=true SlowKeys=false SlowKeysDelay=500 StickyKeys=false StickyKeysLatch=true [Mouse] MKCurve=0 MKDelay=160 MKInterval=5 MKMaxSpeed=500 MKTimeToMax=1000 MouseKeys=false Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding Shift
On Sunday 24 July 2005 04:56 pm, Benno Schulenberg wrote: and worse, even if I uncheck Use gestures for activating the above features and APPLY, it still beeps. Hmm, sounds like this bug: http://bugs.kde.org/show_bug.cgi?id=97425 What version of KDE are you using now? Here 3.4.1. 3.4.1 Maybe kcmaccessibilty depends on extra things, other split ebuilds, some of which I've installed but you don't? $ grep kde /var/lib/portage/world | sort When I get that, all I get is: kde-base/kde I had 3.3 installed, and simply did an emerge -uavD world. And this is my ~/.kde/share/config/kaccessrc: Ah! I see what's happened to me (at least in part). When I run the control center, it prompts me for the root password, which I gave it. And which means my root now has those settings. This seems like a mistake in the KDE world - it seems like there's a mix of things in the control center that are system-like settings, and user preferences. David -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding CTRL
Sound like accessibility support to me. Try to take a look in your kde control panel - Regional Accessibility - Accessibility. M. David Corbin wrote: Since I upgrade my system recently (notably, a KDE upgrade, but lots of other things too), I've noticed a strange beep coming. It seems to only come when I've been holding down the CTRL key for a long time ( a few seconds with no other activity). But everytime I try to reproduce it conciously, it doesn't. Any idea what's causing it, and how to turn it off? Thanks David -- gentoo-user@gentoo.org mailing list