Re: Launching the user's preferred terminal

2011-07-01 Thread Steve Meyers
On 7/1/11 1:24 PM, Richard Esplin wrote: > I confirmed it exists on Ubuntu and CentOS, so I figured it would be > pretty common. However, I can't find anything in 10 seconds of > Google-ing to support the idea that it is a standard. There's no harm in using it if it exists. I'd use that, then che

Re: Launching the user's preferred terminal

2011-07-01 Thread Richard Esplin
That is essentially what /etc/alternatives is supposed to provide in a standard way: a symlink to the default application on that system. I confirmed it exists on Ubuntu and CentOS, so I figured it would be pretty common. However, I can't find anything in 10 seconds of Google-ing to support the

Re: Launching the user's preferred terminal

2011-07-01 Thread Spencer Gibb
Why not have an rc file or environment var with path to the preferred terminal with a sane default? Spencer /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */

Re: Launching the user's preferred terminal

2011-07-01 Thread Andrew McNabb
On Fri, Jul 01, 2011 at 10:15:32AM -0600, Richard Esplin wrote: > I think the best way is to launch: > /etc/alternatives/x-terminal-emulator My machine doesn't have this /etc/alternatives/x-terminal-emulator. I think there's really just not a standard notion of a preferred terminal program. -- A

Re: Launching the user's preferred terminal

2011-07-01 Thread Richard Esplin
I think the best way is to launch: /etc/alternatives/x-terminal-emulator Richard On Thursday June 30 2011 22:29:52 Dave Smith wrote: > I am writing a Linux desktop application (written in Qt) in which I'd > like to launch the user's preferred terminal. I am at a loss for a way > to do this tha

Re: Launching the user's preferred terminal

2011-07-01 Thread Andy Bradford
Thus said Dave Smith on Thu, 30 Jun 2011 22:29:52 MDT: > I am writing a Linux desktop application (written in Qt) in which I'd > like to launch the user's preferred terminal. You're making the assumption that the user has defined his preference somewhere in a location that is accessible. What

Re: Launching the user's preferred terminal

2011-07-01 Thread Gabriel Gunderson
On Thu, Jun 30, 2011 at 10:29 PM, Dave Smith wrote: > I am writing a Linux desktop application (written in Qt) in which I'd > like to launch the user's preferred terminal. I am at a loss for a way > to do this that would work across multiple distros: RHEL5, RHEL6, Fedora > 13+, Ubuntu. I have used

Re: Launching the user's preferred terminal

2011-06-30 Thread Charles Curley
On Thu, 30 Jun 2011 22:29:52 -0600 Dave Smith wrote: > I am writing a Linux desktop application (written in Qt) in which I'd > like to launch the user's preferred terminal. I am at a loss for a > way to do this that would work across multiple distros: RHEL5, RHEL6, > Fedora 13+, Ubuntu. Long sh

Launching the user's preferred terminal

2011-06-30 Thread Dave Smith
I am writing a Linux desktop application (written in Qt) in which I'd like to launch the user's preferred terminal. I am at a loss for a way to do this that would work across multiple distros: RHEL5, RHEL6, Fedora 13+, Ubuntu. I have used xdg-open, for example, to launch the user's file browser