wait on error when started via desktop file

This commit is contained in:
Unrud 2018-07-31 20:18:58 +02:00
parent f9ab379abc
commit 5fe430b3f2
3 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
remote-touchpad "$@"
if [ $? -eq 1 ]; then
echo
read -n 1 -s -r -p "Press any key to close"
echo
fi

View file

@ -4,6 +4,6 @@ Type=Application
Name=Remote Touchpad
Comment=Control mouse and keyboard from a smartphone
Terminal=true
Exec=remote-touchpad
Exec=remote-touchpad-wait-on-error
Icon=remote-touchpad
Categories=Network;RemoteAccess;ConsoleOnly;