From e58258e30c8f7382dd82e4a0bc181506b8740d73 Mon Sep 17 00:00:00 2001 From: Justin Travis Date: Mon, 1 Aug 2022 06:23:37 -0400 Subject: [PATCH] KASM-1991 Gamepad Utils --- dockerfile-kasm-ubuntu-focal-desktop | 4 ++++ dockerfile-kasm-ubuntu-jammy-desktop | 4 ++++ src/ubuntu/install/gamepad_utils/install_gamepad_utils.sh | 7 +++++++ 3 files changed, 15 insertions(+) create mode 100644 src/ubuntu/install/gamepad_utils/install_gamepad_utils.sh diff --git a/dockerfile-kasm-ubuntu-focal-desktop b/dockerfile-kasm-ubuntu-focal-desktop index a537a80..63ea4b3 100644 --- a/dockerfile-kasm-ubuntu-focal-desktop +++ b/dockerfile-kasm-ubuntu-focal-desktop @@ -90,6 +90,10 @@ RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/tel COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/ RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/ +# Install Gamepad Testing Utils +COPY ./src/ubuntu/install/gamepad_utils $INST_SCRIPTS/gamepad_utils/ +RUN bash $INST_SCRIPTS/gamepad_utils/install_gamepad_utils.sh && rm -rf $INST_SCRIPTS/gamepad_utils/ + #ADD ./src/common/scripts $STARTUPDIR RUN $STARTUPDIR/set_user_permission.sh $HOME diff --git a/dockerfile-kasm-ubuntu-jammy-desktop b/dockerfile-kasm-ubuntu-jammy-desktop index ae8b0c0..f1c7e50 100644 --- a/dockerfile-kasm-ubuntu-jammy-desktop +++ b/dockerfile-kasm-ubuntu-jammy-desktop @@ -90,6 +90,10 @@ RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/tel COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/ RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/ +# Install Gamepad Testing Utils +COPY ./src/ubuntu/install/gamepad_utils $INST_SCRIPTS/gamepad_utils/ +RUN bash $INST_SCRIPTS/gamepad_utils/install_gamepad_utils.sh && rm -rf $INST_SCRIPTS/gamepad_utils/ + #ADD ./src/common/scripts $STARTUPDIR RUN $STARTUPDIR/set_user_permission.sh $HOME diff --git a/src/ubuntu/install/gamepad_utils/install_gamepad_utils.sh b/src/ubuntu/install/gamepad_utils/install_gamepad_utils.sh new file mode 100644 index 0000000..c0068c8 --- /dev/null +++ b/src/ubuntu/install/gamepad_utils/install_gamepad_utils.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -ex +apt-get update + +apt-get install -y gimp +cp /usr/share/applications/gimp.desktop $HOME/Desktop/ +chmod +x $HOME/Desktop/gimp.desktop \ No newline at end of file