Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a desktop launcher for Midnight Commander in Fedora LXDE environment but this does not work. Where did I make a mistake?

$ cat mc.desktop 

[Desktop Entry]

mc.sh is simple bash -c '/usr/bin/mc'

share|improve this question
up vote 1 down vote accepted

mc needs to run inside a terminal emulator, which is itself an application. There are various terminal emulators (xterm, aterm, eterm); generally DEs (such as lxde) have one of their own -- in lxde's case, it's lxterminal. Check what happens if you type lxterminal & on the command line ;) With regard to your launcher, change the Exec line in mc.desktop to:

Exec=/usr/bin/lxterminal -e mc

Presuming that's where the executable is (check with whereis lxterminal). Alternately, you could change mc.sh to do the same thing, but the above is more straight-forward.

See man lxterminal for an explanation of the -e option.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.