this post was submitted on 24 Jan 2024
32 points (97.1% liked)

Asklemmy

43945 readers
648 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

I've looked at suggestions on StackExchange and made some changes to files in /etc but after each login or reboot it is up to 100 % again in pavucontrol. On this computer I hardly ever use the speakers, and I want the microphone muted, always, so I guess I could even block list a few kernel modules for sound (which ones ?). But why can a desktop user not easily turn volume to zero, forever ?

Edit : Thanks all. It was not StackExchange but on AskUbuntu from where I tried some suggestions. I also tried muting audio in Pavucontrol but that didn't help between logouts and logins. Now I have set the default audio device in Pavucontrol to Dummy, and that works. I can still play sound from a video in VLC, but the microphone keeps muted.

top 7 comments
sorted by: hot top controversial new old
[โ€“] Max_P@lemmy.max-p.me 6 points 10 months ago

You're better off asking that in !linux@lemmy.ml

[โ€“] foxfell@lemmy.ml 4 points 10 months ago* (last edited 10 months ago)

Why not just add to xinitrc something like:

pacmd set-source-mute N 1

Where N is your mic

[โ€“] drem@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

I think this should work (I haven't tested it):

make a new file called default (.) pa in the pulseaudio congfig folder (.config/pulse)

this will mute source_name (replace source_name with your source name):

#include this config file
.include /etc/pulse/default.pa
set-source-mute source_name true

run this command to list source names:

pactl list short sources

[โ€“] SnotFlickerman@lemmy.blahaj.zone 3 points 10 months ago* (last edited 10 months ago) (1 children)

Please, if it has been solved. Put the solution here!!!

Don't make future searches who find this page shake their monitors going "but what was the solution?"

Tell us how you fixed it please and thank you.

[โ€“] lemmyreader@lemmy.ml 4 points 10 months ago* (last edited 10 months ago) (1 children)

Sure. The solution was already in the edit part in the post. The solution that worked for me was to switch to Dummy in Pavucontrol.

Thank you, when I last viewed it, the title was changed to solved, but I did not see the edit. Cheers!

[โ€“] victorz@lemmy.world 2 points 10 months ago

That's strange.

I mute my microphone (its input volume is at 100%, just muted). But it always stays muted until I unmute. Even between logins and reboots. I do use pipewire, so there's a difference. But I believe pulseaudio did the same for me back in the day.

One solution could be to mute the microphone in your DE or WM initialization file. Which are you using? Gnome? i3 perhaps? You could use pactl to mute the microphone on each login.

Let me know if you need further assistance.