From 55fe8cdc5578627e00897ae6683c5f57e4fdacf0 Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Fri, 21 May 2021 20:53:30 +0200 Subject: [PATCH] Install the command line tool "xdotool" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 🇬🇧 --- scripts/fusion360-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/fusion360-install.sh b/scripts/fusion360-install.sh index abf6f01..3c40859 100644 --- a/scripts/fusion360-install.sh +++ b/scripts/fusion360-install.sh @@ -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