LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Kubuntu, save sound scheme (https://www.linuxquestions.org/questions/ubuntu-63/kubuntu-save-sound-scheme-636585/)

Dinithion 04-20-2008 08:13 AM

Kubuntu, save sound scheme
 
Hi.

My girls laptop use kubuntu, but she have a problem with the sound. When she login to kde, the sound scheme is reset and the microphone is activated thus give the sound some static noise. She manually have to turn off the microphone.

I've tried to use alsamixer and alsactl store, but it doesn't have any effect on kmix. When I googled the problem, I found something similar with mandriva. They said kmix would automatically remember the scheme if it startet automatically with kde, but that doesn't seem to be a solution here. There is either no save function in kmix.

Does anyone have any idea how to turn off the microphone permanently?

biophysics 04-23-2008 06:50 AM

Install amixer (if it is not there)

Create a file called "mute_mic" inside the folder:
~/.kde/Autostart

Inside mute_mic put (do not put dots)
..............
#!/bin/bash
amixer set Mic mute > /dev/null

.............

also;
chmod +x ~/.kde/Autostart/mute_mic


All times are GMT -5. The time now is 08:48 PM.