This is an extension for Ubuntu that enables kiosk mode with several features such as disabling gestures, onscreen keyboard, and the top bar. It also includes event capture and a custom configuration menu generated by custom.json.
custom.json
)To install this extension, follow these steps:
gnome-extensions install --force ubuntu-kiosk-mode-extension.zip
to install.gnome-extensions enable srleohung@gmail.com
to enable.Once the extension is installed, it will automatically enable kiosk mode with the specified features. To access the custom configuration menu, follow these steps:
The custom configuration menu is generated by custom.json
, which contains a list of buttons with labels and commands. The buttons can also have submenus containing additional buttons. Here’s an example of the custom.json
file:
[
{
"label": "Button 1",
"command": "echo 'Button 1 clicked'"
},
{
"label": "Button 2",
"command": "echo 'Button 2 clicked'"
},
{
"label": "Button 3",
"command": "echo 'Button 3 clicked'"
},
{
"label": "Button 4",
"command": "echo 'Button 4 clicked'"
},
{
"label": "Button 5",
"command": "echo 'Button 5 clicked'"
},
{
"label": "Button 6",
"items": [
{
"label": "Button 1",
"command": "echo 'Button 1 clicked'"
},
{
"label": "Button 2",
"command": "echo 'Button 2 clicked'"
},
{
"label": "Button 3",
"command": "echo 'Button 3 clicked'"
},
{
"label": "Button 4",
"command": "echo 'Button 4 clicked'"
},
{
"label": "Button 5",
"command": "echo 'Button 5 clicked'"
}
]
}
]