Re: Running midnight commander from a menu
Frank McCormick <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 14 Mar 2010 03:42:52 +0100 Dion <[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? > > Usually I define commands like this directly in the menuentry. Try > this line in your menu: > > [exec] (mc) {xterm -e mc} > That's how I do it usually...but because lately I've been switching back and forth between Fluxbox and Icewm...I've taken to writing a small shell script and calling that from the menus. > 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} On my system this results in a terminal window larger than m-c... with the result there is black blank screen on the right hand side and below m-c. In Icewm...the black blank area is even larger...must be something to do with the way the two handles windows. I always have problems when I use xterm in these kinds of situation...I have taken to using urxvt which seems the like my system better :) Guess there is no ultimate solution....I'll continue experimenting. -- Frank<[email protected]> ------------------------------------------------------------------------------ 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