LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using a launcher to run a file (https://www.linuxquestions.org/questions/linux-newbie-8/using-a-launcher-to-run-a-file-709202/)

baldurpet 03-04-2009 03:29 PM

Using a launcher to run a file
 
I want to either make a launcher in the panel or an icon in the main menu which opens this folder /usr/local/bin/bash/words.

The file words is run by writing ./words in a terminal where the pwd is /usr/local/bin/bash, so I tried something like cd /usr/local/bin/bash; ./words but it didn't work.

What should I do?

digerati1338 03-04-2009 03:42 PM

When it asks for command, enter /usr/local/bin/bash/words

If that doesn't work, make sure it's executable with chmod +x.

baldurpet 03-04-2009 04:46 PM

Quote:

Originally Posted by digerati1338 (Post 3465041)
When it asks for command, enter /usr/local/bin/bash/words

If that doesn't work, make sure it's executable with chmod +x.

I chmod 700'd everything so that's not the problem. I'll just tell you exactly what I did:
  1. I right click the main menu and chose to change it.
  2. I select "New Item" and select "Program in terminal"
  3. I write /usr/local/bin/bash/words as a command like you said
  4. But when I run it I get the problem
    Code:

    Warning: Could not find '/usr/local/bin/bash/words', starting '/bin/bash' instead.  Please check your profile settings.
  5. Also! It opens in Konsole, the KDE terminal while I'm using GNOME. What's up with that? I'd rather want it open the gnome-terminal.


All times are GMT -5. The time now is 06:09 PM.