Creating desktop icon shortcut using gnome
Running Redhat 4.2.1 with gnome environment
I have created a desktop icon using create launcher. I wrote a stand alone software application that does not have a GUI. During development it was run in a terminal window from the command line, using an alias named "runit". Which points to /home/yada_yada/bin/executable. No matter how I configure the launcher this will not run. There is a checkbox for "run in a terminal". I expected that checking that would bring up a terminal and run the executable in that terminal just as if I had done it from a command line. Not so. A terminal window (that doesn't look at all like my normal terminal window) flashes momentarily on the screen then disappears, my process never appears when doing a 'ps -elf'. Any ideas about what is going on. Thanks emp |
try having puting either "terminal" or "xterm" before having the options of WHAT needs to be run. so if you want to run something called "test" in terminal located in /usr/bin, you'd type
Code:
terminal /usr/bin/test |
system doesn't recognize terminal
My linus O.S. does not recognize terminal at the command line.
I should just be able to do this at the command line to check if it works, right? > terminal /path/executable the error says that terminal is not recognized. Are there any other suggestions? Someone must have successfully implemented something like this before. Thanks emp |
it could be:
>gnome-terminal /path/to/executable or just try: >xterm /path/to/executable |
Have you tried 'sh /path/to/executable' as the launcher command? I know that, back in the day, when I was using gnome and trying to have certain programs run at startup, I sometimes had to use the 'sh'.
Then again, sometimes I didn't, and I was never able to figure out when I had to, and when I didn't have to.... |
with red hat and fedora the " sh" should work
but why not use chmod to make the file executable su - cd /to/file chmod +x file name |
File is executable already
Quote:
I need the process to come up in a terminal window, there are outputs that must be visible to the user. I just wanted the implement an icon so the user wouldn't have to navigate around a directory structure in a terminal window then manually input the executable name. |
All times are GMT -5. The time now is 09:43 AM. |