Welcome, Guest. Please login or register.
April 18, 2014, 05:14:20 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  PC speaker
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: PC speaker  (Read 916 times)
benvdh
Pardus fellow craft
**
Posts: 65


View Profile
« on: May 24, 2007, 13:49:48 PM »

Hey everyone,

I'm having a small problem with my pardus install. I'm currently using pardus on my laptop (dell inspiron 6400) and everytime I hit a key that has no function in a particular program the sysbell goes off. This morning I had a test and I happened to push the down arrow two times in maple. It went off and it wasn't very much appreciated. So my question is how can I turn off the sysbell without recompiling the whole kernel. Something I allready know is that the system bell is handled by the pcspkr option in the kernel (pardus has no module for that as far as I know).

Regards,

Ben
Logged
roverrat
Pardus Master
***
Posts: 236



View Profile
« Reply #1 on: May 24, 2007, 14:34:46 PM »

Hi there Ben,

in an X-session you can turn the speaker bell on and off with the xset command:

Code:
xset b off
turns it off

Code:
xset b on
(not surprisingly...) will turn the beep on again.
Logged
benvdh
Pardus fellow craft
**
Posts: 65


View Profile
« Reply #2 on: May 24, 2007, 16:37:00 PM »

Hey,

it worked. But since the above is only a temporary solution I did some more research on how to fix the problem permanently. For pardus it turned out I had to edit the Xsession file for KDE. It's located here:

/usr/kde/3.5/share/config/kdm/Xsession

There I put the command just before the switch statement:

Code:
#turnoff pc speaker
exec xset b off &
« Last Edit: August 23, 2007, 15:12:04 PM by benvdh » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!