Re: Running midnight commander from a menu
Dion <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 13 Mar 2010 09:37:35 -0500 Frank McCormick <[email protected]> wrote: > > Recently I have been having all sorts of problems running M-C > from a menu (as opposed to calling it up while in a terminal). > > I have tried creating a small script in my home dir and calling > it via xterm -e on the menu. > It seems no matter which way I do it..the MC screen is messed up > in various ways..sometimes the directory list is partly overwritten, > other times the left hand side of the F key prompts is missing..etc > etc. > > It also seems Icewm doesn't have this problem...the identical script > called in IceWm works without a problem. Is there some fundamental > difference between the two wm's..or is my Fluxbox config messed up > someway? > > Does anybody have a surefire way of doing it in FluxBox?? > -- > Frank<[email protected]> > Hi Frank Usually I define commands like this directly in the menuentry. Try this line in your menu: [exec] (mc) {xterm -e mc} If this works, you can start customizing size and fonts to get something more managable, e.g. for something more command-line looking: [exec] (mc) {xterm -bg black -fg gray -g 90x36 -fa "Courier" -fs 12 -e mc -bd} This has worked perfecly for me on all versions of fluxbox that I have used, up to and including version 1.1.1 If you really have to invoke a script, try starting xterm in the script and just call the script by name in the menu. Good luck Peder ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev