[SOLVED] Kate start with terminal with specific script/commands

Hi.

Can I start Kate and it’s terminal can start some script/commands? But of course normal terminal in system not only that in Kate.

Radek Glebicki

OK. I found solution. If Kate is starting I’m checking if bash var KATE_PID exist and then checking java version for buildozer and preparing python in different/lower version using venv activate

in .bashrc:

if [[ -v KATE_PID ]]; then
alternatives --display java | grep --color=never “currently”
. .venv/bin/activate
fi

Thanks for help ;-D

Radek Glebicki