I can help you with getting the terminal window open. Then you will still need to figure out all the java staff.
1) Save the following test script as the file named "test" (no quote marks, no extension) here:
http://i.imgur.com/ICr4XWj.png
Copy the contents of the file "test" from here:
2) Hit Alt+F2 and run the following command:
To prevent the terminal window from auto-closing after executing the script change the command as follows:
I have to admit that I'm not sure if that's the smartest, most correct method to keep the terminal open, so let's wait for others to confirm this.
By modifying the command shown above you can set the size of the terminal window (--geometery=WxH) or add the title (it's optional). Later, when you have all the parameters tweaked to your liking you can save the command permanently in Alacarte (Main Menu). DO NOT place the check mark next to "Launch in Terminal", just ignore that box.
1) Save the following test script as the file named "test" (no quote marks, no extension) here:
Code:
/usr/scripts/
http://i.imgur.com/ICr4XWj.png
Copy the contents of the file "test" from here:
Code:
#!/bin/bash
bold=`tput bold`
normal=`tput sgr0`
echo "${bold}**********************"
echo "Test Script"
echo "**********************${normal}"
echo ""
echo ""
echo "Test script running ..."
echo ""
echo "Test script complete."
# sleep 5
2) Hit Alt+F2 and run the following command:
Code:
x-terminal-emulator --geometry=95x25 -t "My Custom Window Title" -e /usr/scripts/test
To prevent the terminal window from auto-closing after executing the script change the command as follows:
Code:
x-terminal-emulator --geometry=95x25 -t "My Custom Window Title" -e "bash -c /usr/scripts/test;bash"
I have to admit that I'm not sure if that's the smartest, most correct method to keep the terminal open, so let's wait for others to confirm this.
By modifying the command shown above you can set the size of the terminal window (--geometery=WxH) or add the title (it's optional). Later, when you have all the parameters tweaked to your liking you can save the command permanently in Alacarte (Main Menu). DO NOT place the check mark next to "Launch in Terminal", just ignore that box.
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro