unable to launch shortcut using terminal

Bug #132146 reported by Luca Carrogu
4
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Incomplete
Undecided
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

If I create a shortcut of an application to launch it in a gnome-terminal I get an error that says
"unable to execute child process" (I traslated it from italian, sorry for mistake)

The same error if I write in a terminale the command
gnome-terminal -x scriptthatIwanttolaunch
"unable to create child process for this terminal"

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The script have execution permission?, How are you executing the command?

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Luca Carrogu (motoplux) wrote :

Yes the script have execution permission. It was working in feisty before the upgrade to gutsy.
It's just two commands to upgrade the system

#!/bin/sh
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

and it's in the /usr/local/bin folder.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've tested the same script you have and it works fine here. made a shortcut with the command "gnome-terminal -x /usr/local/bin/script" and it launched the gnome-terminal and execute the script, the same if i running it from the command line.

Revision history for this message
Luca Carrogu (motoplux) wrote :

ok.
If I select "Application" in the box "type", in the dialog box to create a shortcut, and putting the command string "gnome-terminal -x /usr/local/bin/script" it works, but If I select "Terminal application" in the type dialog box and put just the string "/usr/local/bin/script" it gave me the error. Am I misunderstanding something?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Just wondering what is the content of your Terminal Emulator in 'System->Preferences->Preferred Applications->System' ?

Revision history for this message
Luca Carrogu (motoplux) wrote :

Resolved!
It was "personalized" with the flag -x.
I changed it in "terminal-gnome" and now all is working like before the upgrade.
thanks for help

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Ok thanks for your response this a dup of bug 133130; thanks for your report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.