Godot long running app

Question

Does Godot support long running apps on phones/tablets? The app will be always active and running on the screen. Something similar to a photo viewer that The display shouldn’t dim or lock. Can I achieve that on Android/iOS devices?

Another option I thought of is to have a Raspberry Pi without X11 and start the app when the device boots up. Not sure if Godot can render without X11, or there might be another solution I’m unaware of. Appreciate your help!

indeed godot does support creating “long running apps”

and whats even better it should be turned on by default.

You can find the setting for it as shown in the picture

2 Likes

Godot supports Wayland and X11, but won’t run without one of those display servers. You could install a minimal one like LXDE or Openbox just to run the Godot app.

1 Like

Awesome, will try it out tonight.

I wanted to have a sort of a kiosk where the user can’t really fiddle with the OS. The device would boot the app and lock the system. Not sure if this is even possible.

I am gonna answer this as my answer, so its purely just a theory from me.

But if you would want to do that, you certainly can do that.

For example, you can set the godot project to run always on top
Godot_v4.3-stable_mono_win64_Wb7SKW3wax

And also set the window mode to Exclusive fulscreen, which does this as said in documentation:
Godot_v4.3-stable_mono_win64_nKoQGshk3i

And as a final step you could also handle quit requests on your own so noone can “accidentaly” quit the app.

If i am understanding right, on what youre trying to achieve, I just interpereted the word KIOSK and thought of this aproach

1 Like

Could install a locked-down window manager, Cage (wayland) for example. Of course hardware access is hard to secure.

1 Like

Thank you both for the great suggestions. That’s exactly what I meant by kiosk. I wanted to lock the whole device and run the app. I’m not too concerned about the phone/tablet app as long as it is long running. I’ll test your suggestions on the rasp pi and see how it goes.
One last question which might not be suited for this forum. How do people usually productionize something like that? Building a standalone app and releasing it on a dedicated device.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.