Results 1 to 9 of 9
Hi all, I got a problem trying to add a luncher in my application menu. I installed netgen and it works fine. If I try to launch it from the ...
- 09-18-2010 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 25
[SOLVED] Launcher problem
Hi all, I got a problem trying to add a luncher in my application menu. I installed netgen and it works fine. If I try to launch it from the terminal like "$ netgen", it does work. It also works if I double click on the program icon in its folder. But when I try to make a launcher in the menu, it doesn't. I tried both Application (nothing happens) and Application in Terminal (I see a window flash for a second and then it disappears).
Any idea of where is the problem?
- 09-18-2010 #2
Hmmm... Maybe instead of just inputting "netgen," in the launcher, you may need to include the full path to where the executable is.
- 09-18-2010 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 25
Already tried. Doesn't work.
- 09-18-2010 #4
Did you try right clicking on the executable and doing "Make Link" and dragging the link to your desktop?
- 09-18-2010 #5Just Joined!
- Join Date
- Jan 2007
- Posts
- 25
Uh, I didn't think to that. Let's see...
...nope, doesn't work. It works only if the link is in the same folder of the program.
- 09-18-2010 #6
You might have to create a little shell script to initiate it. Open a new file with your favourite editor and do something along the lines of:
Save it as something like "start_netgen" and make it executable:Code:#!/bin/bash #This here's my little script to start netgen cd path/to/netgen/directory && ./netgen_executable
...and use start_netgen in the launcher. Hard to really know as I'm unfamiliar with netgen and don't know how it is started. There may be a better way... just trying to come up with ideas...Code:chmod +x start_netgen
- 09-18-2010 #7Just Joined!
- Join Date
- Jan 2007
- Posts
- 25
This is a good idea and it works. It's not the cleanest solution ever, but when you don't know where the problem is, there's not that much you can do...

Thanks for you help!!
- 09-18-2010 #8
A cleaner way might be to symlink the executable to /usr/bin if there isn't one there already. Something like...
Then you could use just "netgen" in the launcher...Code:ln -s /path/to/netgen/netgen.sh /usr/bin/netgen
- 09-18-2010 #9Just Joined!
- Join Date
- Jan 2007
- Posts
- 25
True, that's cleaner. Sold! ^_^


