#!/bin/bash

#     ***********************************************************************
#     ******************************* WARNING *******************************
#     ***********************************************************************
#
#         DO NOT RUN THIS SCRIPT BY DOUBLE-CLICKING ON IT IN ROX-FILER!
#
#
# 09:23:59 05/10/2018.  The purpose of this script is to make it so the "Home Menu"
# command I put in some of the example menus would go back to the main menu
# without opening a new, separate terminal window.
#
#
# But somehow, in Lighthouse 64 Puppy Linux 6.02 Beta 2 - http://lhpup.org/ -
# running this script by double-clicking on it in Rox-Filer crashes Rox-Filer.
#
# It also makes the lxpanel taskbar vanish - but that can be brought back just by typing
# "lxpanel" (without quotes) in a console.
#
# To get Rox-Filer back to normal, I had to restart X Windows.
#
#
# Surprisingly, this script seems to cause no problems when run from a command line
# or from within a umenu.



Fillepath____UMENU="/root/apbin/UMENU/Default-Version/program/umenu.pl"

UMENU_CONFIG="/root/apbin/Example Menus and Launchers for Perl Version of UMENU/Default-Version/Example Umenu Set 1/umenu.cnf" \
perl "$Fillepath____UMENU" --banneroff "m$1"