In the meantime I did some researches, probably it's all trivial stuff for you, but I'll share the same (worst case I lost some time).Sorgelig wrote:i will implement key injection
I managed to run a script in a second agetty terminal temporarily stopping the main one with:
Code: Select all
kill -n 19 $(ps -A | grep "[a]getty --nohostname -L tty0 xterm$" | grep -oE "^[0-9]+") && /sbin/agetty --autologin root --login-program /media/fat/Scripts/ini_settings.sh --nohostname -L tty0 xterm && kill -n 18 $(ps -A | grep "[a]getty --nohostname -L tty0 xterm$" | grep -oE "^[0-9]+")
[EDIT]--skip-login instead of --autologin root works the same[/EDIT]
For input injecting you can grab some code here if you like it https://github.com/Locutus73/uinput-injector
It's pretty basic and simple...
What do you think about a scripts_gui_old=0 ini option for people needing to use a low res video analog output?
Thank you in advance.