From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001
From: Philip Wittamore
Date: Sun, 12 Jul 2026 11:08:50 +0200
Subject: update
---
articles/2021/Coupure-microphone-X220.html | 53 ++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100755 articles/2021/Coupure-microphone-X220.html
(limited to 'articles/2021/Coupure-microphone-X220.html')
diff --git a/articles/2021/Coupure-microphone-X220.html b/articles/2021/Coupure-microphone-X220.html
new file mode 100755
index 0000000..9f465b9
--- /dev/null
+++ b/articles/2021/Coupure-microphone-X220.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+ Bloggings
+
+
+
+
+
+
+Coupure microphone X220
+2021-05-09
+Dans mon Thinkpad X22O fonctionnant sous Manjaro i3, la bouton de coupure du micro est
+désactivée, car il n'est pas pris en charge par thinkpad-acpi.
+Pour l'activer, voici ce que j'ai fait:
+Premièrement, vérifier que l'acpi est installé:
+sudo pacman -S acpi
+
1) créer le fichier /etc/acpi/events/lenovo-mutemic
+
+event=bouton/f20
+action=/etc/acpi/lenovo-mutemic.sh
+
+2) créez le fichier /etc/acpi/lenovo-mutemic.sh
+
+#!/bin/bash
+INPUT_DEVICE=" 'Capture'"
+VOTRE_USERNAME="philip"
+if amixer sget $INPUT_DEVICE,0 | grep '\[on\]' ; then
+ amixer sset $INPUT_DEVICE,0 toggle
+ echo "0 blink" | sudo tee /proc/acpi/ibm/led
+ DISPLAY=":0.0" notify-send -t 1000 -i microphone-sensibilité-muted-symbolic "Mic MUTED"
+else
+ amixer sset $INPUT_DEVICE,0 toggle
+ DISPLAY=":0.0" notify-send -t 1000 -i microphone-sensitivity-high-symbolic "Mic ON"
+ echo "0 on" | sudo tee /proc/acpi/ibm/led
+fi
+
+3) redémarrer acpi
+systemctl restart acpid.service
+Adapté de réponseAskubuntu .
+
+
+
+
--
cgit v1.3.1