creating menus for text based prgrams


Forum: myDSL Extensions (deprecated)
Topic: creating menus for text based prgrams
started by: clacker

Posted by clacker on Aug. 01 2004,19:39
I'm trying to make a dsl file for the FreeCiv program.  So far it's been going well, since cbagger01's excellent deb2dsl script has done all the work.  It works that way fine, but you need to start the civserver and the civclient-gtk from bash shells.  I made a menu item for each of them, but civclient opens and displays it's output on the screen that you see when you open DSL and shut down.

Can anyone tell me how create a menu item in a DSL file that runs a non-X program so that it opens it's own window to display its output and allow input?

Posted by roberts on Aug. 01 2004,20:35
Sure, use rxvt. There are alot of examples inside your .fluxbox/menu

To have a look see do this:

grep rxvt .fluxbox/menu

You will see many examples


So try something like this:

[exec] (FreeCIV) {rxvt -rv -T "FreeCIV Server" -e sudo /path_to_your/civserver}

Posted by clacker on Aug. 01 2004,21:20
Thanks!  That was just what I needed.  It was very helpful to see multiple examples of what's required to make this happen.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.