Customisation with chromium-autostart Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Posts: 6
Joined: Wed Aug 12, 2020 2:06 pm

Re: Customisation with chromium-autostart

Post by xihepa8923 »

So this is the final solution that I am using and works for me.

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, run startx and then run my scripts. This doesn't work as startx doesn't finish. If I make it

Code: Select all

startx &
then X-server fails to start.

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
User avatar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: Customisation with chromium-autostart

Post by Joulinar »

yes basically it's an actual behavior that user dietpi is not able to start an xsession. Same like this

as well a proposes workaround.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply