site  contact  subhomenews

XVkbd virtual keyboard

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

Project page:
http://homepage3.nifty.com/tsato/xvkbd/

Discussion about xvkbd in Puppy Forum:
http://murga-linux.com/puppy/viewtopic.php?t=54534

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.

Comments

More discussion is here:

http://www.murga-linux.com/puppy/viewtopic.php?t=84617

However, jamesbond has gone one better by using dejavu fonts. He created a patch for the source code:
http://ftp.cc.uoc.gr/mirrors/linux/fatdog/source/700/patches/xvkbd-3.5-fonts.patch

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}
do
[ "$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}
done
<

Tags: linux