Long Shot. Anyone simple/easy way to force/lock a player out to a specific program?
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
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
Thank you, and that is a perfect expression I actually heard it used on tv's and tablet demo's and such.
Maybe someday.
This is indeed possible, but probably will require patching source code of the game you want to run. Basically, there are several situations:
-
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.
-
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+cwhich terminates active process, which can also be solved with an infinite loop, or you can setevent.interruptingEnabledvalue tofalse. -
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.