summaryrefslogtreecommitdiffstats
path: root/virtualization/templates/xdialog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'virtualization/templates/xdialog.sh')
-rw-r--r--virtualization/templates/xdialog.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/virtualization/templates/xdialog.sh b/virtualization/templates/xdialog.sh
new file mode 100644
index 00000000..520ac530
--- /dev/null
+++ b/virtualization/templates/xdialog.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# This script will run Xdialog. menulist-create will add all menu entrys
+# from the different .xdialog files
+#
+#TODO: change path_to_this_script to path of this file. needed, because
+# a return will exit Xdialog
+
+exec $($(which Xdialog) --rc-file /var/lib/openslx/themes/Xdialog/gtkrc \
+ --title "Desktop / VMware-ImageMenu" \
+ --screen-center \
+ --fill --no-wrap \
+ --stdout \
+ --no-tags \
+ --ok-label "START" \
+ --item-help \
+ --menubox "Please choose the image you would like to run:" \
+ 35 80 0 \
+ "path_to_this_script" "No Image - Don't press return too fast" "" \