A Makefile => Makefile +7 -0
@@ 0,0 1,7 @@
+install:
+ cp osk0-wvkbd-wrapper.sh /usr/bin/
+ cp osk0-wvkbd-wrapper.desktop /usr/share/applications/
+
+link:
+ test -L /etc/alternatives/Phosh-OSK && ln -fs /usr/share/applications/osk0-wvkbd-wrapper.desktop /etc/alternatives/Phosh-OSK
+ test /etc/alternatives/Phosh-OSK -ef /usr/share/applications/sm.puri.OSK0.desktop || ln -fs /usr/share/applications/osk0-wvkbd-wrapper.desktop /usr/share/applications/sm.puri.OSK0.desktop
A osk0-wvkbd-wrapper.desktop => osk0-wvkbd-wrapper.desktop +13 -0
@@ 0,0 1,13 @@
+[Desktop Entry]
+Type=Application
+Name=osk0 Wayland Virtual Keyboard wrapper
+Comment=Launches wvkbd when needed
+Exec=/usr/bin/osk0-wvkbd-wrapper --allow-replacement
+Categories=System;GNOME;Core;
+OnlyShowIn=Phosh;
+Icon=input-keyboard-symbolic
+NoDisplay=true
+X-GNOME-Autostart-Phase=Panel
+X-GNOME-Provides=inputmethod
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true