View Single Post
Old 12-07-2017, 08:54 PM   #3
kdusr
Enthusiast
kdusr began at the beginning.
 
kdusr's Avatar
 
Posts: 45
Karma: 10
Join Date: Oct 2016
Location: Mars
Device: K3, KV, KOA2
copy my kv extensions folder to KOA2
kterm path is : /mnt/us/extensions/kterm
create a RUNME.sh file as follow:
#-----------------------------------------
#!/bin/sh
EXTENSION=/mnt/us/extensions/kterm
#WIDTH=`xwininfo -root|grep Width|cut -d ':' -f 2`
# use wider keyboard layout for screen width greater than 600 px
#if [ ${WIDTH} -gt 600 ]; then
#PARAM="-l ${EXTENSION}/layouts/keyboard-wide.xml"
#fi
${EXTENSION}/bin/kterm ${PARAM}
#----------------------------------------
execute command ;log runme but can not launch kterm...


then tried to change RUNME.sh file :
#--------------------------------------------
chmod 777 /mnt/us/extensions/kterm/bin/kterm
/mnt/us/extensions/kterm/bin/kterm -l /mnt/us/extensions/kterm/layouts/keyboard.xml
#--------------------------------------------
still can not launch kterm...

edited RUNME.sh file again:
#-------------------------------------------
chmod +x /mnt/us/extensions/kterm/bin/kterm.sh
./mnt/us/extensions/kterm/bin/kterm.sh
#-------------------------------------------
still can not launch kterm

finally tried this in RUNME.sh
#-------------------------------------------
cat /proc/cpuinfo > /mnt/us/extensions/cpuinfo.txt
#-------------------------------------------
then I found the cupinfo.txt file, cpu model is
ARMv7 Processor rev 5 (v7l) 32bit same as Raspberry Pi 2B

but why kterm does not work?
kdusr is offline   Reply With Quote