Install the command line tool "xdotool"

This tool we need later, when we start Autodesk Fusion 360 with my script "fusion360-start.sh".

For more information you can read more here: xdotool 🇬🇧
This commit is contained in:
Steve Zabka
2021-05-21 20:53:30 +02:00
committed by GitHub
parent 8836a6fadc
commit 55fe8cdc55

View File

@@ -45,7 +45,7 @@ elif [[ $(lsb_release -rs) == "21.04" ]]; then
elif VERB="$( which apt-get )" 2> /dev/null; then
sudo apt-get update &&
sudo apt-get upgrade &&
sudo apt-get install p7zip p7zip-full p7zip-rar curl winbind cabextract &&
sudo apt-get install p7zip p7zip-full p7zip-rar curl winbind cabextract xdotool &&
sudo apt-get install --install-recommends winehq-staging
@@ -56,20 +56,20 @@ elif VERB="$( which dnf )" 2> /dev/null; then
sudo dnf upgrade &&
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &&
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo &&
sudo dnf install p7zip p7zip-plugins curl wine cabextract
sudo dnf install p7zip p7zip-plugins curl wine cabextract xdotool
# Arch Linux, Manjaro, ... versions
elif VERB="$( which pacman )" 2> /dev/null; then
echo "Arch-based"
sudo pacman -Syu &&
pacman -S wine wine-mono wine_gecko
pacman -S wine wine-mono wine_gecko xdotool
# openSUSE Leap & Tumbleweed, SUSE Linux, ... versions
elif VERB="$( which zypper )" 2> /dev/null; then
echo "openSUSE-based"
su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wine'
su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wine xdotool'
else
echo "Non-compatible Linux distribution version was found!" >&2
exit 1