Executing a shell script from the Gnome interface.

Discuss Sugar, upgrades and developer perspectives.

Executing a shell script from the Gnome interface.

Postby easthope » Fri Feb 17, 2012 11:26 am

Suppose you have an executable shell script /home/olpc/Desktop/script.sh. An icon will be visible in the Gnome interface. Double clicking on the icon will yield a dialogue with four buttons, one of which is labeled Run. How can this dialogue be avoided so that the script is executed directly after the double click?

Thanks, ... Peter E.
easthope
 
Posts: 22
Joined: Fri Feb 17, 2012 11:04 am

Re: Executing a shell script from the Gnome interface.

Postby ektoric » Fri Feb 17, 2012 8:42 pm

ektoric
Support Team
 
Posts: 470
Joined: Wed Jan 02, 2008 3:46 pm
Location: Austin, TX

Re: Executing a shell script from the Gnome interface.

Postby easthope » Sun Feb 19, 2012 11:56 pm

ektoric wrote:http://www.linuxquestions.org/questions/programming-9/executing-shell-script-in-terminal-directly-with-a-double-click-370091/


OK, thanks. That tells me how to execute a script in a terminal.

Can't a script be executed directly without opening a termnal?

... Peter E.
easthope
 
Posts: 22
Joined: Fri Feb 17, 2012 11:04 am


Return to Sugar, Linux and System Software

Who is online

Users browsing this forum: No registered users and 5 guests

cron