Toughbook CF-31 Configurations for Arch Linux
Audio Output
https://forums.linuxmint.com/viewtopic.php?p=1791086#p1791086
Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
and when the file opens find this section:
; This profile path is intended to control the speaker, let's mute headphones
; else there will be a spike when plugging in headphones
[Element Headphone]
switch = off
volume = off
Change it to this:
; This profile path is intended to control the speaker, let's mute headphones
; else there will be a spike when plugging in headphones
[Element Headphone]
switch = mute
volume = merge
Save and reboot.
Audio Function Keys
Add the following lines to ~/.xbindkeysrc
# Increase volume
"pactl set-sink-volume @DEFAULT_SINK@ +1000"
XF86AudioRaiseVolume
# Decrease volume
"pactl set-sink-volume @DEFAULT_SINK@ -1000"
XF86AudioLowerVolume
# Mute volume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
XF86AudioMute
# Mute microphone
"pactl set-source-mute @DEFAULT_SOURCE@ toggle"
XF86AudioMicMute
Screen Brightness Keys
Install the following packages:
xf86-video-intel
xbindkeys
xorg-xbacklight
Update /etc/X11/xorg-conf.d/20-video.conf
:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight"
Option "TearFree" "true"
EndSection
Create a file in in your home directory called .xbindkeysrc
and add to it:
"xbacklight -dec 5%"
m:0x0 + c:232
XF86MonBrightnessDown
"xbacklight -inc 5%"
m:0x0 + c:233
XF86MonBrightnessUp
Start xbindkeys when you start your window manager (e.g. add ‘xbindkeys’ to .xinitrc)