site  contact  subhomenews

XVkbd virtual keyboard

October 26, 2015 — BarryK
I have compiled XVkbd in T2.

Project page:

Discussion about xvkbd in Puppy Forum:

XVkbd will be in the next Quirky.

I have created a wrapper script, to start it with correct layout for the country/language.
It can be started from the menu, in Desktop category, also from the tray.

It occurred to me that this might be useful as we move toward supporting touch screens.


More discussion is here:

However, jamesbond has gone one better by using dejavu fonts. He created a patch for the source code:

I haven't modified the source, instead have modified my FIXUPHACK file to use the dejavu fonts, based on Jame's work:
XVKBDfiles="$(find etc/X11/app-defaults -maxdepth 1 -type f -name 'XVkbd-*' 2>/dev/null)"

[ ! "$XVKBDfiles" ] && XVKBDfiles="$(find usr/share/X11/app-defaults -maxdepth 1 -type f -name 'XVkbd-*')"

for AFILE in ${XVKBDfiles}
[ "$AFILE" == "" ] && continue
sed -i -e 's%\-helvetica\-%-dejavu sans-%' ${AFILE}
sed -i -e 's%\-lucidatypewriter\-%-dejavu sans-%' ${AFILE}
sed -i -e 's%\-lucida\-%-dejavu sans-%' ${AFILE}
sed -i -e 's%\-\*\-\*\-\*\-\*\-\*\-iso8859\-.%-*-*-*-p-*-*-*%' ${AFILE}
sed -i -e 's%\-\*\-\*\-\*\-\*\-\*\-koi8\-r%-*-*-*-p-*-*-*%' ${AFILE}
sed -i -e 's%\-i\-%-r-%' ${AFILE}

Tags: linux