On Mon 13 Dec 04, 5:40 PM, David Mandelberg <[EMAIL PROTECTED]> said: > Matt Brubeck wrote: > > Justin Pryzby wrote: > > > > > >>Instead, install what is presently /usr/games/yadex to > >>/usr/lib/yadex/... and install a one-line wrapper script to > >>/usr/games/yadex: > >> > >> #!/bin/sh -e > >> exec x-terminal-emulator -e /usr/lib/yadex/... > > > > > > One small downside to this idea is that it is not the expected behavior > > for a user who already has an xterm open and types 'yadex' into it. > > > > > Maybe /usr/games/yadex could be the real binary, and that script > (s%/lib/yadex/\.\.\.$%/games/yadex%) could be /usr/games/yadex-gui. > > The menu option could execute /usr/games/yadex-gui, but someone typing > yadex<enter> in a terminal emulator would get the expected results. Hi David,
That seems like the best idea so far! But I'd like to know -- precisely piece of policy is broken by a menu command invoking "x-terminal-emulator -e application"? OK. Gotta go lecture... Thanks for all your help! Peter -- The mathematics of physics has become ever more abstract, rather than more complicated. The mind of God appears to be abstract but not complicated. He also appears to like group theory. -- Tony Zee's "Fearful Symmetry" GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]