Matthias Clasen mclasen at redhat.com
Fri Nov 8 16:48:56 UTC 2013

On Fri, 2013-11-08 at 14:06 +0200, Joonas Sarajärvi wrote:
> 2013/11/7 Christian Schaller <cschalle at redhat.com>:
> > Ok, so I guess the solution would be for the launcher to do something like this:
> >
> > gnome-terminal --geometry 80x37 --disable-factory --role=bitchx --class=bitchx --name "bitchX IRC" --title "BitchX IRC"
> >
> Isn't the Terminal attribute of desktop files[1] supposed to tell the
> launcher program that it should start the application inside a
> terminal? My impression is that Gnome at least used to support it, and
> I know that KDE does support it. It should quite easily allow
> specifying launchers for terminal-based programs that do not usually
> need command line arguments.
> [1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

GNOME supports the Terminal key just fine. But just having your commandd
run in a terminal is not quite enough to give it an identity as a
separate application - to the rest of the system it will appear just as
a terminal. The extra arguments that Christian shows there help to
overcome this problem.

More information about the devel mailing list