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.
- Disable gestures
- Disable onscreen keyboard
- Disable top bar
- Event capture (default False)
- Custom configuration (custom settings menu generated by
custom.json
)
To install this extension, follow these steps:
- Download ubuntu-kiosk-mode-extension.zip.
- Open a terminal.
- Run the following command:
gnome-extensions install --force ubuntu-kiosk-mode-extension.zip
to install. - Run the following command:
gnome-extensions enable [email protected]
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:
- Open Extensions
- Select Ubuntu Kiosk Mode and press Enable.
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'"
}
]
}
]