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?


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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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