Click to See Complete Forum and Search --> : Unable to launch a .sh from a drawer in Ubuntu


pmrphs2002
08-31-2010, 09:38 AM
SOLVED

Hey all!

Long time no post. I have an issue that I think appeared in Ubuntu 9.10, and is no better in the Ubuntu 10.04 that I dist-upgraded to before I left work yesterday.

I'm sure there's something I'm doing incorrectly, but here's my scenario:

I have a pair of shell scripts that launch SSH sessions with different forwarded ports, and use them multiple times each day. I'd like to drag the shell script directly onto the top Ubuntu Bar where shortcuts go and be able to use it. Or, even better, put all of my frequently used shell scripts in a "drawer". I know that I used to be able to make a shortcut, and set its path to "gnome-terminal -e file://xx.sh" and the script would run in a new terminal window.

When I try to do this, a terminal opens with an error dialog that reads "There was an error creating the child process for this terminal". Permissions?

Thanks for looking!
Pete

pmrphs2002
09-28-2010, 01:39 PM
bump.

JohnT
09-28-2010, 09:59 PM
Try this line in the user /etc/fstab file.devpts /dev/pts devpts gid=5,mode=620 0 0

pmrphs2002
09-29-2010, 12:01 AM
Thanks for the interest JohnT. I actually stumbled across the answer at work today and was just getting around to marking it solved.

This was solved by changing the command used to gnome-terminal -x "/path/to/script"

I'm sure I used the -e option in a previous version of Ubuntu... scratches head....