Re: how to execute a data-file's preferred app from the cmd-line?
- To: debian-devel@lists.debian.org
- Subject: Re: how to execute a data-file's preferred app from the cmd-line?
- From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
- Date: Mon, 03 Jul 2006 11:13:02 +0200
- Message-id: <[🔎] 1151917982.19891.42.camel@localhost>
- In-reply-to: <20060629214407.GE13999@gwolf.org>
- References: <1150953839.606033.311100@c74g2000cwc.googlegroups.com> <slrne9kd8f.5b7.nospam@sshway.ssh.pusling.com> <4354d3270606212323g7dafcaa7pd41ace2f25b4fb40@mail.gmail.com> <20060629214407.GE13999@gwolf.org>
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: