Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: creating menus for text based prgrams, like freeciv's civserver< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 01 2004,19:39 QUOTE

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?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 01 2004,20:35 QUOTE

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}
Back to top
Profile PM WEB 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 01 2004,21:20 QUOTE

Thanks!  That was just what I needed.  It was very helpful to see multiple examples of what's required to make this happen.
Back to top
Profile PM 
2 replies since Aug. 01 2004,19:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: creating menus for text based prgrams

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code