← Back to team overview

lubuntu-desktop team mailing list archive

Re: new menu item in lubuntu

 

On Wed, 24 Mar 2010 16:54:52 +0100
Zoltan Matlak <matlakzoli@xxxxxxxxx> wrote:

> I know it is an LXDE related question, but did not know where to post
> it. I installed mc, then I would like to create a menu item in the
> Main Menu, to launch mc in a terminal windw, without going to
> lxterminal and type mc. Unfortunately could not make it work. Got
> stuck. Does anybody have an idea how to do it (if it can be done)?
> 
> I created a new file, called mc.desktop under /usr/share/applications,
> whick looks like:
> 
> [Desktop Entry]
> Name=Midnight Commander filemanager
> GenericName=mc filemanager
> _X-GNOME-FullName=MidnightCommander
> Comment=blabla
> Exec=lxterminal mc
> Icon=mc
> Terminal=true
> Type=Application
> Categories=Development;
> StartupNotify=false
> X-Ubuntu-Gettext-Domain=mc
> 
> Tried different variation for Exec, just to put "mc", or "lxterminal
> mc", also Terminal true/false, but all variations I could think of
> failed..
> 
> Thanks
> Zoltan
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to     : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp

Hi,

if xterm is installed xterm -e mc should work as command. 



References