Re: How to launch user's preferred application for a file



On Sun, Sep 07, 2003 at 02:01:12PM +0200, Christophe Fergeau wrote:
> > > gnome_url_show should do what you want (this is defined in libgnome) :)
> > > Alternatively, if you are using gnome 2.3, libgnome ships a gnome-open
> > > binary which can be useful in scripts
> > 
> > This is not how I read the documentation for gnome_url_show():
> > [...]
> > In neither case will I get gnumeric started for a .gnumeric file, at
> > least not immediately.   A gnome-open program will solve the problem,
> > because it can be set up as a handler for unknown or application urls.
> > 
> > I have tried out a program that uses gnome_url_show to show a gnumeric
> > file or an image, and in both cases I get a nautilus window showing the
> > file, not my preferred application as I get when double clicking on the
> > file in nautilus.
> > 
> 
> This should do what you want with libgnome and gnome-vfs 2.3. 
> Which version of gnome are you using ?

In that case I just have to be patient.  I'm still with 2.2 installed
from Debian testing/unstable.

-- 
René Seindal (rene seindal dk)			http://sights.seindal.dk/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]