2015年3月24日 星期二

[volume][Archlinux] How to control volume

1. Install package
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:

Related Posts:

0 意見:

張貼留言