|
From: Dion <di...@br...> - 2010-03-14 03:00:38
|
On Sat, 13 Mar 2010 09:37:35 -0500
Frank McCormick <be...@vi...> 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<be...@vi...>
>
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
|