a standard for the user's default terminal

Kevin Krammer kevin.krammer at gmx.at
Mon Oct 23 21:14:00 EEST 2006


On Monday 23 October 2006 14:27, Kevin Krammer wrote:
> On Monday 23 October 2006 14:18, Hongli Lai wrote:
> > Kevin Krammer wrote:
> > > Valid use case, I have to admit I didn't think about non-DE
> > > filemanagers.
> > >
> > > Maybe, as a intermediate solution, start whatever $TERM points to if it
> > > is set and/or offer a setting for the preferred terminal. Users wanting
> > > a terminal should be able to configure this.
> > >
> > > Cheers,
> > > Kevin
> >
> > Starting $TERM will often not work correctly. Both gnome-terminal and
> > Konsole set $TERM to xterm.
>
> That's why I called it an intermediate solution.
> An admin or distribution caring about this can set the $TERM in the desktop
> startup, for example for KDE by adding a sourceable file to $KDEDIR/env
>
> But since this seems to be such an important problem I'll try to find out
> how to get KDE's terminal setting later today.

In KDE it could be done like this

terminal=$(kreadconfig --file kdeglobals --group General \
	--key TerminalApplication --default konsole)

If somebody can find a way to GNOME and XFCE I'll write the xdg-utils wrapper 
script

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20061023/30320935/attachment.pgp 


More information about the xdg mailing list