Keyboard Utilities including GXKB,XkbSS etc.

Moderator: Forum moderators

Post Reply
User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by stemsee »

xvkbd x64 (if not on x64 just install your arch of the xvkbd binary)
with xvkbdconf.

Provides desktop file and positions and it sizes xvkbd at the bottom middle screen. Yad tray icon toggles keyboard on and off. kbdl script provides floating international keyboard layouts.
Screenshot.gif
Screenshot.gif (94.19 KiB) Viewed 978 times
xvkdbconf.sfs.gz
(76 KiB) Downloaded 59 times
Last edited by stemsee on Wed Aug 26, 2020 9:02 am, edited 1 time in total.
darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by darry19662018 »

Thanks Stemsee very much.
darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Country keyboard indicator (fbxkb-0.4)

Post by darry19662018 »

User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by stemsee »

This is an update to xvkbdconf which positions xvkbd keyboard at the bottom middle of your screen relative to screen size. This update lets user resize and position the onscreen keyboard with persistence. i.e. position and size will be remembered on reopening.

Code: Select all

#!/bin/bash
#august 2016 stemsee lhpup.org license: GPL version 3 or any later version
#additions by DryFalls
#edit: geometryfn added in 2021 by stemsee
[ "`whoami`" != "root" ] && exec sudo -E -S ${0} "$@" 
APPTITLE="xvkbd launcher"
APPNAME="xvkbdconf" # for Xdialog taskbar icon
SCRIPTNAME="script"
APPVERSION="0.2"
ICON="/usr/share/pixmaps/keyboard.png"
export camino=/root/.config/geometry
[ ! -d "$camino" ] && mkdir -p $camino
export res=`xwininfo -root | grep 'geometry' | awk '{print $2}' | cut -f1 -d'+'`
export XX=`echo $res | cut -f1 -d'x'`
export YY=`echo $res | cut -f2 -d'x'`
export pos="$((XX / 4))+$(((YY / 2) + XX / 16))"
# Determine the path to this application.
APPDIR=`dirname "$0"`
cd "$APPDIR"
APPDIR="`pwd`"
function geometryfn (){
	nought=`xwininfo -stats -name "$1" | grep "$1"`
   XWININFO=`xwininfo -stats -name "$1"`
   if [[ ! -z "$nought" ]]; then
	   ARRAY=(${XWININFO#* X: })
	   AX=${ARRAY[0]}
	   AY=${ARRAY[4]}
	   RX=${ARRAY[8]}
	   RY=${ARRAY[12]}
	   W=${ARRAY[14]}
	   H=${ARRAY[16]}
	   X=$((AX-RX))
	   Y=$((AY-RY))
	   echo "$W"x"$H"+"$X"+"$Y" > "$camino"/`echo "$1" | awk '{print $1}'`
	else
	return 1
	exit 1
   fi
}
export -f geometryfn

running=`ps -e | grep xvkbd | wc -l` 
if [[ "$running" -gt 2 ]]; then
	geometryfn 'xvkbd - Virtual Keyboard'
	killall xvkbd #check if running, one instance only
else
	if [ -f $camino/xvkbd ]; then
		xvkbd -geometry `cat $camino/xvkbd` -no-keypad -always-on-top &
	else
		xvkbd -geometry $((XX / 2))x$((XX / 5))+"$pos" -no-keypad -always-on-top &
	fi
fi
User avatar
takenp
Posts: 42
Joined: Tue Aug 25, 2020 10:38 am
Has thanked: 72 times
Been thanked: 12 times

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by takenp »

I compiled gxkb lightweight keyboard switcher and put it into gxkb-0.8.0-x86_64.pet for 64bit Puppies.
I checked it out with Fossapup and Bionicpup. Everything works out of the box in JWM ;)

Find it attached. Cheerz!

Attachments
gxkb-0.8.0-x86_64.pet
(162.74 KiB) Downloaded 25 times

=~=~=~=~
I'm running online-radio called Melodymaker
Listen it here https://radio.melodymaker.org

User avatar
Sofiya
Posts: 1809
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by Sofiya »

sbxkb

Attachments
sbxkb-0.7.6-6-x86_64.pet
(51.62 KiB) Downloaded 14 times
Screenshot.png
Screenshot.png (10.3 KiB) Viewed 347 times
Screenshot(1).png
Screenshot(1).png (10.83 KiB) Viewed 347 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
takenp
Posts: 42
Joined: Tue Aug 25, 2020 10:38 am
Has thanked: 72 times
Been thanked: 12 times

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by takenp »

Sofiya wrote: Mon Dec 25, 2023 2:46 am

sbxkb

what's the difference? I just see in a package size )

=~=~=~=~
I'm running online-radio called Melodymaker
Listen it here https://radio.melodymaker.org

User avatar
Sofiya
Posts: 1809
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: Keyboard Utilities including GXKB,XkbSS etc.

Post by Sofiya »

takenp wrote: Sat Jan 06, 2024 10:38 am
Sofiya wrote: Mon Dec 25, 2023 2:46 am

sbxkb

what's the difference? I just see in a package size )

The difference is that there is no white background around the flag on dark themes

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

Post Reply

Return to “Utilities”