Ask Your Question

How do I execute shell scripts in nautilus?

asked 2013-01-19 07:00:22 -0500

Lars Stokholm gravatar image

updated 2013-06-02 23:58:58 -0500

FranciscoD_ gravatar image

How the h.... do I execute shell scripts in Fedora 18?

  • I don't want to do it from Terminal.
  • The script is an .sh file and is executable (mode -rwxrwxr-x.)
  • I did try double clicking it, it just opens up in gedit.
  • I did try right clicking it; no other options.

I can't believe I'm asking this question...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-19 07:30:43 -0500

domg472 gravatar image

updated 2013-01-19 07:34:12 -0500

I have not actually tested this but you could try the following (at your own risk):

mkdir /etc/dconf/db/local.d
cat > /etc/dconf/db/local.d/00-mysettings <<EOF

dconf update

"What to do with executable text files when they are activated (single or double clicked) Possible values are "launch" to launch them as programs, "ask" to ask what to do via a dialog, and "display" to display them as text files."

The default is to display.

edit flag offensive delete link more

Question Tools


Asked: 2013-01-19 07:00:22 -0500

Seen: 7,319 times

Last updated: Jun 02 '13