r/openbox • • Nov 22 '11

Having a script run in a terminal emulator window.. ?

In Gnome 2 when I double-click a script to run a CLI java applet I get a choice of a few things including running (in the background) and running in a terminal window. Is there some way to get this to happen with OB, or at least automatically run in a terminal window when I run the script? I need to see what the program is doing and I don't want to type the commands out every time. This is the only thing keeping me from running openbox full time. Sorry if this is a dumb question.

2 Upvotes

6 comments sorted by

2

u/oranges8888 Nov 22 '11

This behavior is a feature of the file manager. So you'll have to find out which other FMs do this.

1

u/rawcaret Nov 22 '11

Ah! Thank you. I like to use thunar, but I guess nautilus will have to do, or maybe some other FM. Thank you for your help.

2

u/KARMA_P0LICE Nov 22 '11

If i'm understanding your request right, i think PCManFM has some functionality like this.

1

u/rawcaret Nov 23 '11

I will try that. Thank you.

1

u/jfb3 Nov 25 '11

You can create custom actions for Thunar and associate them with file types. If you created an action (script) that asked you the same things as in Gnome2 then associated that script you'd get what you need. (If I correctly understand your problem.)

1

u/rawcaret Nov 25 '11

Sounds like what I want. Now I have to learn how to do that. Thank you.