Update setup-linux.sh
This commit is contained in:
@@ -139,7 +139,7 @@ function install_distro_specific_packages() {
|
|||||||
# Network
|
# Network
|
||||||
sudo pacman -S --needed --noconfirm networkmanager networkmanager-openvpn networkmanager-pptp networkmanager-vpnc wireless_tools wpa_supplicant ifplugd dialog bluez bluez-utils
|
sudo pacman -S --needed --noconfirm networkmanager networkmanager-openvpn networkmanager-pptp networkmanager-vpnc wireless_tools wpa_supplicant ifplugd dialog bluez bluez-utils
|
||||||
# Sound
|
# Sound
|
||||||
sudo pacman -S --needed --noconfirm alsa-utils pipewire pipewire-pulse pipewire-jack wireplumber pavucontrol-qt
|
sudo pacman -S --needed --noconfirm alsa-utils pipewire pipewire-pulse pipewire-jack lib32-pipewire-jack wireplumber pavucontrol-qt
|
||||||
# Apps
|
# Apps
|
||||||
sudo pacman -S --needed --noconfirm moonlight-qt stremio onlyoffice-bin qbittorrent stacer
|
sudo pacman -S --needed --noconfirm moonlight-qt stremio onlyoffice-bin qbittorrent stacer
|
||||||
yay -S --needed --noconfirm miru-bin
|
yay -S --needed --noconfirm miru-bin
|
||||||
@@ -253,6 +253,19 @@ function install_openrazer() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_openrgb() {
|
||||||
|
if (whiptail --title "OpenRazer" --yesno "Should we install OpenRazer?" 8 78); then
|
||||||
|
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
|
||||||
|
sudo apt install openrgb -y
|
||||||
|
elif [[ $DISTRO == "fedora" ]]; then
|
||||||
|
sudo dnf in openrgb i2c-tools libi2c libi2c-devel libi2cd python3-i2c-tools -y
|
||||||
|
elif [[ $DISTRO == "arch" ]]; then
|
||||||
|
sudo pacman -S --needed openrgb --noconfirm
|
||||||
|
fi
|
||||||
|
sudo gpasswd -a "$USER" plugdev
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function install_terminal() {
|
function install_terminal() {
|
||||||
if (whiptail --title "Terminal/shell" --yesno "Should we install terminal and shell packages?" 8 78); then
|
if (whiptail --title "Terminal/shell" --yesno "Should we install terminal and shell packages?" 8 78); then
|
||||||
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
|
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
|
||||||
@@ -297,8 +310,8 @@ function install_gpu_drivers() {
|
|||||||
elif pacman -Qs xf86-video-nouveau > /dev/null; then
|
elif pacman -Qs xf86-video-nouveau > /dev/null; then
|
||||||
sudo pacman -R --noconfirm xf86-video-nouveau
|
sudo pacman -R --noconfirm xf86-video-nouveau
|
||||||
fi
|
fi
|
||||||
sudo pacman -S --needed --noconfirm nvidia-open-dkms nvidia-settings nvidia-utils lib32-nvidia-utils libvdpau lib32-libvdpau gst-libav gst-plugins-good lib32-gst-plugins-good
|
sudo pacman -S --needed --noconfirm nvidia-open-dkms nvidia-settings nvidia-utils lib32-nvidia-utils libvdpau lib32-libvdpau gst-libav gst-plugins-good lib32-gst-plugins-good sdl2 lib32-sdl2
|
||||||
yay -S --needed --noconfirm libva-nvidia-driver
|
yay -S --needed --noconfirm libva-nvidia-driver-git
|
||||||
if [ -d "/sys/class/power_supply/BAT0" ]; then
|
if [ -d "/sys/class/power_supply/BAT0" ]; then
|
||||||
sudo pacman -S --needed --noconfirm supergfxctl
|
sudo pacman -S --needed --noconfirm supergfxctl
|
||||||
fi
|
fi
|
||||||
@@ -311,7 +324,7 @@ function install_gpu_drivers() {
|
|||||||
elif [[ $DISTRO == "fedora" ]]; then
|
elif [[ $DISTRO == "fedora" ]]; then
|
||||||
sudo dnf in xorg-x11-drv-amdgpu mesa-vdpau-drivers mesa-va-drivers libavcodec-freeworld -y
|
sudo dnf in xorg-x11-drv-amdgpu mesa-vdpau-drivers mesa-va-drivers libavcodec-freeworld -y
|
||||||
elif [[ $DISTRO == "arch" ]]; then
|
elif [[ $DISTRO == "arch" ]]; then
|
||||||
sudo pacman -S --needed --noconfirm xf86-video-amdgpu libva-mesa-driver lib32-libva-mesa-driver vulkan-radeon lib32-vulkan-radeon mesa-vdpau lib32-mesa-vdpau gst-libav gst-plugins-good lib32-gst-plugins-good
|
sudo pacman -S --needed --noconfirm xf86-video-amdgpu libva-mesa-driver lib32-libva-mesa-driver vulkan-radeon lib32-vulkan-radeon mesa-vdpau lib32-mesa-vdpau gst-libav gst-plugins-good lib32-gst-plugins-good sdl2 lib32-sdl2
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# INTEL
|
# INTEL
|
||||||
@@ -321,7 +334,7 @@ function install_gpu_drivers() {
|
|||||||
elif [[ $DISTRO == "fedora" ]]; then
|
elif [[ $DISTRO == "fedora" ]]; then
|
||||||
sudo dnf in xorg-x11-drv-intel intel-media-driver ffmpeg libavcodec-freeworld -y
|
sudo dnf in xorg-x11-drv-intel intel-media-driver ffmpeg libavcodec-freeworld -y
|
||||||
elif [[ $DISTRO == "arch" ]]; then
|
elif [[ $DISTRO == "arch" ]]; then
|
||||||
sudo pacman -S --needed --noconfirm intel-media-driver linux-firmware vulkan-intel gst-libav gst-plugins-good lib32-gst-plugins-good
|
sudo pacman -S --needed --noconfirm intel-media-driver linux-firmware vulkan-intel gst-libav gst-plugins-good lib32-gst-plugins-good sdl2 lib32-sdl2
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user