MineOS icon indicating copy to clipboard operation
MineOS copied to clipboard

Long Shot. Anyone simple/easy way to force/lock a player out to a specific program?

Open StoneLegion opened this issue 4 months ago • 3 comments

I like to create a few MineOS Computers at spawn with different games. Something people can have fun, be silly kind of like a mini arcade.

It would be neat/cool to somehow full screen/lockout of the rest of the os/programs and only allow a person to play with the application that is running.

Is this something possible? Would you be interested in adding such support?

Thanks

StoneLegion avatar Aug 10 '25 19:08 StoneLegion

Another phrase commonly used to describe this sort of thing is "kiosk mode"

As far as I know, no kiosk mode in MineOS at the moment

CoolCat467 avatar Aug 11 '25 03:08 CoolCat467

Thank you, and that is a perfect expression I actually heard it used on tv's and tablet demo's and such.

Maybe someday.

StoneLegion avatar Aug 11 '25 04:08 StoneLegion

This is indeed possible, but probably will require patching source code of the game you want to run. Basically, there are several situations:

  1. Some of games present in mineos store are already made to run in full screen mode. If the game does not require any keyboard interraction, then you can just remove keyboard from the screen so user will not be able to leave the game with keyboard shortcuts.

  2. If game runs in full screen mode and uses keyboard, then you can either modify its source code to remove ability to close it or launch the game in an infinite loop. You have to also consider the ctrl+alt+c which terminates active process, which can also be solved with an infinite loop, or you can set event.interruptingEnabled value to false.

  3. If game is made as windowed application, there is pretty much nothing you can do about it without modifying its code, for example remove window action buttons and ctrl+w handling. This however will require a bit of coding and understanding on how MineOS GUI works.

Anyway, there is no universal method to restrict user to specific application. Your best option is probably to find a full screen game and put in an infinite loop, should be easy enough.

Smok1e avatar Aug 11 '25 22:08 Smok1e