Skip to content

Commit 40bfc9c

Browse files
committed
#255 #258 added recomendation to install qdbus package when using plasma
1 parent f9a7249 commit 40bfc9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ LOGS_INSTALL_LOG_FILE_PATH="$LOGS_DIR_PATH/$LOGS_INSTALL_LOG_FILE_NAME"
9696
echo "Not detected package manager. Driver may not work properly because required packages have not been installed. Please create an issue (https://github.com/asus-linux-drivers/asus-numberpad-driver/issues)."
9797
fi
9898

99+
# https://github.com/asus-linux-drivers/asus-numberpad-driver/pull/255
100+
[ "$DESKTOP_SESSION" == "plasma" ] && ! command -v qdbus >/dev/null 2>&1 && {
101+
echo
102+
echo "You are using plasma desktop environment. It is recommended to install manually 'qt6-tools' (Plasma 6), 'qt5-tools' (Plasma 5) or similar package adequate for your plasma desktop environment version to have 'qdbus' command available for proper work of the driver." >&2
103+
read -n1 -r -p "Press any key to continue..."
104+
echo
105+
}
106+
99107
if [[ $? != 0 ]]; then
100108
echo "Something went wrong when installing packages"
101109
source install_begin_send_anonymous_report.sh

0 commit comments

Comments
 (0)