[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with menu (Was: Bug#389932: wish: gnumed --debug should open terminal window)



On Thu, Sep 28, 2006 at 04:37:58PM +0200, Alexander Schmehl wrote:
> Hi!
> 
> * Andreas Tille <tillea@rki.de> [060928 16:09]:
> 
> > is there any relieable way to force opening a terminal from a menu
> > entry and call a programm from this terminal to make sure that
> > console output will be visible?
> > 
> > I never succeeded to find this out. :-(
> 
> Regarding Debians menu system:  Yes, there is.
> According to file:///usr/share/doc/menu/html/ch3.html#s3.4 (from package
> menu) you just need to needs-field to the value "text".

Don't do that! that will break text mode menu managers like pdmenu.

needs="x11" command="x-terminal-emulator -e foo" should do the trick.

Maybe Andreas is looking for xterm -hold ?

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.



Reply to: