Nautilus + ps2pdf script

Recently i was producing many funkload's bench results. Firefox lets you easily create files in PostScript format by printing page to file. I wanted easy way to convert produced ps files to pdf from Nautilus without going to terminal. Thanks to Nautilus, it supports custom scripts(more info here), that after putting to ~./gnome2/nautilus-scripts directory, appear in popup context menu.

  #!/bin/bash
cd $NAUTILUS_SCRIPT_CURRENT_URI for arg in $@ do     ps2pdf $arg done


After saving that in ps2pdf.sh and making script executable you can convert one or multiple selected ps files to pdf by right clicking on selected file(s) -> Scripts -> ps2pdf
Very nice :)

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/ruslan_spivak/2005_11_20_nautilus-ps2pdf-script/tbping
Posted by Ruslan Spivak @ 11/20/2005 06:20 PM. - Categories: linux -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.