Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am uzantonomon on github.
  • I am uzantonomon (https://keybase.io/uzantonomon) on keybase.
  • I have a public key whose fingerprint is 86C2 5CFE 16F8 A534 EC0B 6354 CF37 8DBE 8CFF 935F

To claim this, I am signing this object:

#!/bin/bash
DEVICE='alsa_output.pci-0000_00_1b.0.analog-stereo'
FIRSTDEVICE=analog-output-lineout
SECONDDEVICE=analog-output-headphones
ACTIVE_SINK=$(pacmd list-sinks | grep 'active port' | awk '{ print $3 }')
ID=1
if [ "$ACTIVE_SINK" = "<analog-output-headphones>" ]; then
echo "[*] Enabling all analog output on $DEVICE."
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
active port: <analog-output-lineout>
alsa_output.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo
/usr/share/atom/atom: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
sudo tee -a /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Stable Repository
baseurl=https://repo.pritunl.com/stable/yum/centos/7/
gpgcheck=1
enabled=1
EOF
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
cd ~
wget https://roy.marples.name/downloads/openresolv/openresolv-3.9.0.tar.xz
tar xf openresolv-3.9.0.tar.xz
cd openresolv-3.9.0
./configure
sudo dnf install gnome-icon-theme-symbolic gnome-icon-theme-extras gnome-icon-theme-legacy gnome-icon-theme
sudo dnf config-manager --add-repo=https://repo.skype.com/data/skype-stable.repo
sudo dnf install skypeforlinux
sudo dnf upgrade --refresh