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

Re: how to execute a data-file's preferred app from the cmd-line?

Il giorno gio, 29/06/2006 alle 16.44 -0500, Gunnar Wolf ha scritto:
> Török Edvin dijo [Thu, Jun 22, 2006 at 09:23:32AM +0300]:
> > >kfmclient exec foobar.odt
> > What if I am using gnome? Should I use gnome-open then?
> > Ah, and how do I determine if I am running gnome or kde?
> > (look in the output of `ps x'?)
> Don't. The machine might be multiuser (i.e. LTSP). Its users will
> have different sessions.

Or you may use the environment variable DESKTOP_SESSION.

Reply to: