Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.