Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written a script:

for FILE in *.svg
  inkscape --file=$FILE --export-area-page --without-gui --export-pdf=${FILE%.*}.pdf

which converts all SVG files in a directory to PDF. Whenever I run it from Nautilus (after making it executable), the latter asks me if I want the script to be run or displayed. I always want it run, not displayed. Can I achieve this?

share|improve this question
up vote 5 down vote accepted

Launch nautilus and go to Preferences->Behavior, you will find your choices.

Equivalentely, launch gconf-editor and set the value of the key


to launch.

Alternatively, create a launcher pointing to your script, and make it executable. This option is better, because involve the single script and not all executable text files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.