pacman -S sudo
Use sed to uncomment the wheel group from sudoers, then hijack the EDITOR variable to copy the modified version back via visudo.
sed 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers > /etc/sudoers.new
EDITOR="cp /etc/sudoers.new" visudo
rm /etc/sudoers.new
useradd -m -g users -G wheel,audio -s /bin/bash usernme
passwd username
At this point logoff and login as user
sudo pacman -S --needed base-devel
sudo pacman -S wget cmake git
git clone https://aur.archlinux.org/aurget.git && cd aurget && makepkg -si
sudo pacman -S pro-audio jack2
aurget -S reaper-bin ffmpeg-libfdk_aac mencoder
git clone https://github.com/reaper-oss/sws.git
cd sws
git checkout next
git submodule update --init
cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build
ln -s `pwd`\build\reaper_sws-x86_64.so ~/.config/REAPER/UserPlugins/
aurget -S linux-rt linux-rt-lts
sudo systemctl enable [email protected]
sudo echo "options snd_hda_intel index=1,0" >> /etc/modprobe.d/thinkpad-t450s.conf
sudo pacman -S xf86-input-synaptics
sudo cat << EOF > /etc/X11/xorg.conf.d/50-synaptic.conf
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
# Enable clickpad/multitouch support
Option "ClickPad" "true"
# Middle-button emulation is not supported
Option "EmulateMidButtonTime" "0"
# Define right soft button at the bottom
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
# Enable Vertical Edge Scroll
Option "VertEdgeScroll" "on"
Option "HorizEdgeScroll" "on"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
EndSection
EOF