You are not logged in.

#1 2010-08-26 03:40:41

noodles
Member
Registered: 2010-07-18
Posts: 23

Starting BRL-CAD from OpenBox menu problem [SOLVED]

Hello,
I have this in ~/.config/openbox/menu.xml to run the GUI mged for BRL-CAD.

   <item label="BRL Cad">
    <action name="Execute">
      <command>mged</command>
      <startupnotify>
        <enabled>no</enabled>
      </startupnotify>
    </action>
  </item>

I get no response. But if I open a Gnome-terminal and type 'mged' then it runs.
I can't figure out how to get the output from the failed menu call.
Any ideas?

Last edited by noodles (2010-08-28 04:55:56)

Offline

#2 2010-08-26 16:30:50

brlcad
Member
Registered: 2009-08-24
Posts: 3

Re: Starting BRL-CAD from OpenBox menu problem [SOLVED]

First comment is regarding the project name.  The label should be "BRL-CAD".  There is a section about proper use of the project name documented here.

Second, what version are you trying to run?  Versions prior to 7.14 invoked without a controlling terminal will not invoke correctly without a wrapper script.  If you're using the latest 7.16.10 release, then it's likely that you've found a bug.

Cheers!
Sean

Offline

#3 2010-08-27 07:26:53

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: Starting BRL-CAD from OpenBox menu problem [SOLVED]

Thanks and point taken, Sean.
Version is BRL-CAD Release 7.16.10 running on Arch x86_64.
Any idea of how I can capture more info to be able to help regarding a bug?
Jim

Last edited by noodles (2010-08-27 10:36:04)

Offline

#4 2010-08-27 12:01:30

brlcad
Member
Registered: 2009-08-24
Posts: 3

Re: Starting BRL-CAD from OpenBox menu problem [SOLVED]

You can try to add some arguments to the menu invocation (or run mged from within a simple shell script).  Try "mged -c -a X" or can try running within an xterm like "xterm -e /usr/brlcad/bin/mged".

Offline

#5 2010-08-28 04:55:27

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: Starting BRL-CAD from OpenBox menu problem [SOLVED]

Thanks Sean, "xterm -e /opt/brlcad/bin/mged" in the menu works.
"mged -c -a X" does nothing that I can see.
And "mged file.g" in the menu creates file.g and then seems to abort.

Offline

Board footer

Powered by FluxBB