Skip to content

Commit 116ba2f

Browse files
author
Quirinux GNU/Linux
authored
Add files via upload
1 parent 310623e commit 116ba2f

File tree

5 files changed

+792
-0
lines changed

5 files changed

+792
-0
lines changed

DEBIAN/control

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Package: audio-config
2+
Version: 1.0
3+
Installed-Size: 87528
4+
Maintainer: Charlie Martinez <cmartinez@quirinux.org>
5+
Section: graphics
6+
Source: https://github.com/quirinux-so
7+
Homepage: https://www.quirinux.org
8+
Architecture: amd64
9+
Priority: optional
10+
Depends: zenity
11+
Description: Utilidad para deshabilitar o habilitar el audio integrado de Intel en GNU/Linux
12+
Autor: Charlie Martinez.
13+
.
14+
Si quieres utilizar una placa de audio especializada, puedes utilizar este programa para deshabilitar el audio integrado Intel HD de tu portátil o equipo de sobremesa.
15+
.
16+
Compatible con Quirnux, Ubuntu, Debian, AV Linux, Mint, Devuan, MX, Etertics y otras derivadas.
17+
.
18+
IMPORTANTE: Algunos gestores de software como gnome-software detectan este paquete como "propietario" aunque en realidad no lo es. Licencia: GPLv3.

etc/sudoers.d/audio-config-nopasswd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALL ALL=NOPASSWD: /usr/local/bin/audio-config

usr/local/bin/audio-config

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
#!/bin/bash
2+
3+
# Nombre: audio-config
4+
# Autor: Charlie Martínez® <cmartinez@quirinux.org>
5+
# Licencia: https://www.gnu.org/licenses/gpl-3.0.txt
6+
# Descripción: Utilidad para habilitar o deshabilitar el audio integrado de Intel en GNU/Linux.
7+
# Versión: 1.00
8+
9+
# Generando el menú gráfico con Zenity:
10+
11+
opc=$(zenity --width=500 --height=220 --title=audio-config --entry --text="
12+
13+
14+
Introduce una opción:
15+
16+
1) Deshabilitar audio Intel.
17+
2) Habilitar audio Intel.
18+
3) Salir
19+
"
20+
)
21+
22+
case $opc in
23+
24+
# DESHABILITAR AUDIO INTEL
25+
26+
"1")
27+
28+
(
29+
30+
echo "# Deshabilitando audio Intel"; sleep 1s
31+
32+
sudo touch /etc/modprobe.d/sonido.blacklist.conf
33+
sudo echo "blacklist snd_hda_intel" > /etc/modprobe.d/sonido-blacklist.conf
34+
35+
echo "# Audio Intel deshabilitado. Tendrás que reiniciar para aplicar los cambios."; sleep 3s
36+
)|
37+
38+
zenity --progress --pulsate
39+
40+
title="Quirinux"
41+
percentage=0
42+
43+
44+
;;
45+
46+
# HABILITAR AUDIO INTEL
47+
48+
"2")
49+
50+
(
51+
52+
echo "# Habilitando audio Intel"; sleep 1s
53+
54+
FILE="/etc/modprobe.d/sonido.blacklist.conf"
55+
56+
if [ -f "$FILE" ]; then
57+
58+
rm /etc/modprobe.d/sonido.blacklist.conf
59+
60+
fi
61+
62+
echo "# Audio Intel habilitado. Tendrás que reiniciar para aplicar los cambios."; sleep 1s
63+
64+
)|
65+
66+
zenity --progress --pulsate
67+
68+
title="Quirinux"
69+
percentage=0
70+
71+
;;
72+
73+
74+
"3")
75+
76+
exit 0
77+
;;
78+
79+
esac
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[Desktop Entry]
2+
Type=Application
3+
Name=Audio-Config
4+
5+
Comment=Enable or disable Intel Integrated Audio.
6+
Comment[es]=Habilitar o deshabilitar el audio Intel integrado.
7+
Comment[gl]=Activar ou desactivar o son integrado Intel.
8+
Comment[fr]=Modifier l'apparence et les raccourcis clavier
9+
Comment[it]=Abilita o disabilita Intel Integrated Audio.
10+
Comment[de]=Aktivieren oder deaktivieren Sie Intel Integrated Audio.
11+
Comment[ru]=Включение или отключение встроенного звука Intel.
12+
Comment[pt]=Ative ou desative o Intel Integrated Audio.
13+
Icon=debian
14+
Exec=sudo audio-config
15+
Keywords=AUDIO
16+
Categories=Multimedia;Audio;Other;GNOME;KDE;GTK;
17+
Terminal=true
18+
NoDisplay=false
19+
StartupNotify=true
20+
Encoding=UTF-8

0 commit comments

Comments
 (0)