summaryrefslogtreecommitdiffstats
path: root/virtualization/templates/xdialog.sh
blob: 031921a48428ce74d0c056296474caf6ce51397e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

$($(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 \
    "/var/X11R6/bin/xdialog.sh" "No Image - Don't press return too fast" "" \