Modify dietpi-autostart to boot into desktop. Modify /etc/xdg/lxsession/LXDE/autostart to execute my modmap script and then chromium script which serves the purpose.
A few things that I tried and failed, so putting here for reference.
In dietpi-autostart, select custom script, inside the custom.sh, run startx and then run my scripts. This doesn't work as startx doesn't finish. If I make it
then X-server fails to start.
Code: Select all
To run the script after login, I added scripts to .profile but that works only for terminal.
Now I need help to run the desktop as user. If I configure dietpi-autostart and select the dietpi user in the user selection page, startx fails, but I will post another post.
Thanks for the help @Joulinar