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 am running leafpad on the terminal but it opens gedit instead. Any Ideas why this happens? I am using Openbox btw.

share|improve this question
What distribution are you using? What does type leafpad show? Can you run Leafpad from the GUI? – Gilles Oct 30 '12 at 23:41
centos 6.2 - desktop environments installed (gnome - kde - openbox) – tux_drummer Oct 31 '12 at 14:06

Your Answer


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

Browse other questions tagged or ask your own question.