this script tells dingux what to do in each cycle.
everytime you shutdown gmenu2x or dmenu or whatever, dingux executes the file above (which is actually a bash script), over and over again.
So! Just comment the part which executes the dmenu or gmenu2x (putting a # before each line )
after doing this
he will no longer execute any of these menus, and stay on the terminal for you to execute your apps
Hope that helps