Add G14 Setup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ Qogir*
|
|||||||
Qogir/*
|
Qogir/*
|
||||||
visual-studio*
|
visual-studio*
|
||||||
yay*
|
yay*
|
||||||
|
g14.sec
|
17
dotenv.sh
17
dotenv.sh
@ -93,6 +93,20 @@ flatpak install flathub \
|
|||||||
org.libreoffice.LibreOffice \
|
org.libreoffice.LibreOffice \
|
||||||
org.kde.kalk \
|
org.kde.kalk \
|
||||||
com.nextcloud.desktopclient.nextcloud \
|
com.nextcloud.desktopclient.nextcloud \
|
||||||
|
org.kde.kdenlive \
|
||||||
|
com.github.tchx84.Flatseal \
|
||||||
|
io.dbeaver.DBeaverCommunity \
|
||||||
|
io.github.mightycreak.Diffuse \
|
||||||
|
com.unity.UnityHub \
|
||||||
|
com.github.k4zmu2a.spacecadetpinball \
|
||||||
|
org.prismlauncher.PrismLauncher \
|
||||||
|
net.openra.OpenRA \
|
||||||
|
net.rpcs3.RPCS3 \
|
||||||
|
org.yuzu_emu.yuzu \
|
||||||
|
org.kde.ksudoku \
|
||||||
|
org.kde.krita \
|
||||||
|
org.inkscape.Inkscape \
|
||||||
|
org.kde.gwenview \
|
||||||
--assumeyes
|
--assumeyes
|
||||||
|
|
||||||
# PIA
|
# PIA
|
||||||
@ -175,6 +189,9 @@ sudo systemctl stop avahi-daemon
|
|||||||
sudo systemctl start avahi-daemon
|
sudo systemctl start avahi-daemon
|
||||||
sudo systemctl enable avahi-daemon
|
sudo systemctl enable avahi-daemon
|
||||||
|
|
||||||
|
# Printer
|
||||||
|
sudo systemctl enable --now cups
|
||||||
|
|
||||||
# Setup screenshot hotkeys
|
# Setup screenshot hotkeys
|
||||||
# shotgun - | xclip -t 'image/png' -selection clipboard
|
# shotgun - | xclip -t 'image/png' -selection clipboard
|
||||||
|
|
||||||
|
27
g14.sh
Executable file
27
g14.sh
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Disable running as root.
|
||||||
|
if [[ "$EUID" -eq 0 ]]; then
|
||||||
|
echo "Please do not run as root"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if grep -q 'g14' "/etc/pacman.conf"; then
|
||||||
|
echo 'Pacman already contains G14 repo, skipping'
|
||||||
|
else
|
||||||
|
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
|
||||||
|
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
|
||||||
|
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
|
||||||
|
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
|
||||||
|
|
||||||
|
wget "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8b15a6b0e9a3fa35" -O g14.sec
|
||||||
|
sudo pacman-key -a g14.sec
|
||||||
|
|
||||||
|
echo '[g14]' | sudo tee -a /etc/pacman.conf
|
||||||
|
echo 'Server = https://arch.asus-linux.org' | sudo tee -a /etc/pacman.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo pacman -Syuu
|
||||||
|
sudo pacman -S -q --noconfirm asusctl supergfxctl rog-control-center
|
||||||
|
sudo systemctl enable --now power-profiles-daemon.service
|
||||||
|
sudo systemctl enable --now supergfxd
|
Reference in New Issue
Block a user