virtual keyboard in autostart and with thumbnail

This commit is contained in:
vollstock
2019-05-24 15:48:50 +00:00
parent 09375c2383
commit 1c324d24f0
3 changed files with 20 additions and 4 deletions
+5 -2
View File
@@ -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
+3 -2
View File
@@ -1,11 +1,12 @@
#!/bin/bash
set -e
cat <<EOT >>
cat <<EOT >> /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
exit 0
+12
View File
@@ -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