On Tue, Nov 6, 2018 at 10:24 PM Christopher Sean Morrison via brlcad-devel <
[email protected]> wrote:

>
>
> > On Nov 6, 2018, at 4:21 AM, blubee blubeeme <[email protected]> wrote:
> >
> > Hi
> >
> > I am trying to create a desktop entry for brlcad, launching it from a
> shell works just fine but then I have the shell window loitering in the
> background.
> >
> > I create a desktop file that points to the mged binary and launch it,
> but that fails if
> > Terminal=false
> > is set;
>
> How does it fail exactly — do you just see nothing happen or does a window
> flash and disappear or does it crash or show some sort of error?  Also,
> what version are you trying?  That code was just recently changed (about a
> 1.5 weeks ago).

It seems to just silently fail and nothing happens.

>


> Mged has code to detect when it’s being run in a terminal and when there
> is or is not a controlling terminal, but the various possible cases need to
> be tested better.
>
> in the desktop entry below; changing Terminal=true; mged will start.


> If you can post your desktop file, I can give it a try too.
>
> > Is it possible to launch brlcad w/o the shell?
>
> That was working, so if it’s not working, it should be possible to get it
> working again.  If you get a trunk checkout and build, we can try some
> things.


> Cheers!
> Sean
>
> here's the contents of my .desktop file;

[Desktop Entry]
Encoding=UTF-8
Version=7.28.0
Name=BRL-CAD
GenericName=3D Modeling
Exec=/usr/brlcad/dev-7.28.0/bin/mged
Terminal=false
Type=Application
Categories=Modeling;3D;
Icon=/usr/brlcad/dev-7.28.0/share/icon/brlcad.ico



>
>
>
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to