pacman -S --noconfirm pamixer
2.
Create a file was call pamixer.deskto will autoload at startup.
vim ~/.config/autostart/pamixer.desktop
[Desktop Entry]
Type=Application
Exec=pamixer --set-volume 0
Exec=pamixer --mute
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[C]=pamixer
Name=pamixer
Comment[C]=pamixer start
Comment=pamixer start
X-GNOME-Autostart-Delay=0
explanation
pamixer –set-volume 0 # set the volume = 0
pamixer –mute # set the volume = mute
Reference:
0 意見:
張貼留言