diff --git a/virtual-keyboard/package/DEBIAN/control b/virtual-keyboard/package/DEBIAN/control index b3989e6..32b52be 100644 --- a/virtual-keyboard/package/DEBIAN/control +++ b/virtual-keyboard/package/DEBIAN/control @@ -5,9 +5,12 @@ Homepage: https://www.vollstock.de Bugs: https://github.com/Tooloop/Tooloop-Packages Section: tooloop/addons Architecture: all -Depends: onboard - dbus-x11 +Depends: onboard, + dbus-x11, + libglib2.0-bin Name: Virtual Keyboard Description: Onscreen Keyboard for touchscreens It uses the onboard virtual keyboard. If you have trouble with your keyboard switching language after tapping a key, find the line in /home/tooloop/.config/openbox +Thumbnail: virtual-keyboard-thumbnail.jpg + diff --git a/virtual-keyboard/package/DEBIAN/postinst b/virtual-keyboard/package/DEBIAN/postinst index 2dd9213..d3dbe01 100755 --- a/virtual-keyboard/package/DEBIAN/postinst +++ b/virtual-keyboard/package/DEBIAN/postinst @@ -1,11 +1,12 @@ #!/bin/bash set -e -cat <> +cat <> /home/tooloop/.config/openbox/autostart # Virtual Keyboard # set keyboard layout" # https://answers.launchpad.net/onboard/+question/235265 +/home/tooloop/.config/onboard-config.sh & onboard & EOT -exit 0 \ No newline at end of file +exit 0 diff --git a/virtual-keyboard/package/DEBIAN/postrm b/virtual-keyboard/package/DEBIAN/postrm new file mode 100755 index 0000000..8d48aa8 --- /dev/null +++ b/virtual-keyboard/package/DEBIAN/postrm @@ -0,0 +1,12 @@ +#!/bin/bash +set -e + +# Kill running instance +killall onboard & + +# rmeove lines from autostart +sed -i '/onboard/d' /home/tooloop/.config/openbox/autostart +sed -i '/Keyboard/d' /home/tooloop/.config/openbox/autostart +sed -i '/keyboard/d' /home/tooloop/.config/openbox/autostart + +exit 0