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: 7197
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
Posts: 1
Joined: Mon Jan 10, 2022 5:43 pm

Re: Customisation with chromium-autostart

Post by MadBanana »

Okay. I'm dumb. Can't get this to work. Maybe I am putting the scripts in the wrong place. Or wrong permissions.

Talk to me like a noob. I am missing something obvious when trying to edit a default PI setup.

My aim: To have a Chromium Kiosk mode running on a DietPI with a keyboard in a table tennis club to show scores and book games. So I need to lock out as many of the CTRL+T \ F1 key combos as possible but still allow people to type on a keyboard.

I want to only display only our selection of pages from a scoreboard.

Auto-Starting Chromium - looked good, but keyboard shortcuts live and teens can jump out to live internet. (This is a preferred option without desktop)

Auto-starting a desktop - can't get these scripts to start Chromium and it still has F1 \ CTRL+T live anyway. Where do I put them?

Open to any ideas? I guess I am doing something daft. Thanks in advance.
Post Reply