View Single Post
Old 05-07-2023, 03:47 PM   #12
jollyblondgiant
Member
jollyblondgiant began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jun 2021
Device: Kindle Touch K5
I was able to get this to work, and have it set up so that whenever I open Kterm (in my case, in order to ssh into my raspi and use the kindle as its screen) it executes that ds.sh script. specifically in /mnt/us/extensions/kterm/bin/kterm.sh before the line
Quote:
${EXTENSION}/bin/kterm ${PARAM} -e "/mnt/us/extensions/kterm/bin/kterm -k 1" "$@"
It works like a charm, I never have to worry about the screen blanking as long as I'm working. I still have to run the command
Quote:
lipc-set-prop com.lab126.powerd preventScreenSaver 0
from the KUAL menu, because I haven't found a way to get the script to execute when I'm done with kterm. Most of the time I'd use .bash_logout or something but I haven't gotten that to work. Is there some way to implement a cleanup script in kterm? or execute a script when that above line from bin/kterm.sh to fire es.sh?
jollyblondgiant is offline   Reply With Quote