Closed aleemont closed 3 years ago
Probably your kterm was built without --enable-kindle
option. See building instructions.
I downloaded the .zip file and unzipped it in my extensions folder in kindle. So i need to remove it and build the bin myself in order to be able to rotate screen?
Please post download link. If it is my build, I will try to fix it.
This build should be fine. Maybe the lower part of the menu is cropped by the screen and you can't see it? Could you post screenshot?
Tried to build package, now kterm is not starting at all on Kindle. This is exactly what i did:
Removed old kterm folder from extensions dir.
yay -S vte
sudo pacman -S dbus
git clone https://github.com/bfabiszewski/kterm
cd kterm
./autogen.sh
./configure --enable-kindle --sysconfdir=/mnt/us/extensions/kterm
sudo make dist-kindle
Mounted Kindle Uploaded .zip file in extensions dir, unzipped it Unmounted Kindle
ssh into kindle
I navigated to /mnt/us/extensions/kterm/bin
Tried to launch ./kterm
or ./kterm -h
and got the error: ./kterm: line 11: syntax error: unexpected "("
then that's what I tried:
nano kterm.sh
but there is no "(" in kterm.sh at line 11.
This is kterm.sh
:
1 #!/bin/sh 2 EXTENSION=/mnt/us/extensions/kterm 3 DPI=`cat /var/log/Xorg.0.log | grep DPI | sed -n 's/.(([0-9]+), [0-9]+)./\1/p' ` 4 #use different layouts for high resolution devices 5 if [ ${DPI} -gt 290 ]; then 6 PARAM="-l ${EXTENSION}/layouts/keyboard-300dpi.xml" 7 elif [ ${DPI} -gt 200 ]; then 8 PARAM="-l ${EXTENSION}/layouts/keyboard-200dpi.xml" 9 fi 10 export TERM=xterm TERMINFO=${EXTENSION}/vte/terminfo 11 ${EXTENSION}/bin/kterm ${PARAM} "@$"
[SOLVED] Downloaded package again, I may have pick a wrong version last time. Now It is working. Sorry for bothering you. You should also check my last comment, cuz that didn't work
Nice. Regarding your problems there must be something wrong with the package you created. Compare it with original working one. Regarding compilation, it can be tricky. Remember you should cross compile for proper arm architecture.
Can't see the option to rotate screen in the Menu (activated with 2 fingers tap in kterm)?