Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'm curious to find out what's going on here.

  1. Push the [windows] key --> Dash pops up.
  2. Type 'ge' --> 'Text editor' appears.
  3. [Enter] --> Nothing happens.

With any other program, it launches the program.

Repeat the steps and gedit launches.

From terminal, gedit doesn't start. In the system monitor, it's 'sleeping'.

This happens in my session, in my wife's session on the same computer, gedit runs.

Any idea why gedit sleeps at the first launch?

share|improve this question
Does this problem persist if you restart the PC? – 8128 Apr 9 '12 at 10:03
possibly you have another script launching gedit? what is the output of which gedit ? Do you have a custom gedit desktop file in ~/.local/share/applications ? – fossfreedom Apr 9 '12 at 10:28
@fluteflute, yes, this is happening since some time ago. – GUI Junkie Apr 9 '12 at 13:15
@fossfreedom, /usr/bin/gedit. I don't have any custom gedit file there. – GUI Junkie Apr 9 '12 at 13:16
up vote 1 down vote accepted

I can confirm it, it's very annoying.

This was reported as bug #827414 several month ago and is fixed in 12.04 (Precise), don't know if there will be backport to 11.10 (Oneiric).

You can use very simple workaround: run gedit always with command line switch --standalone. Here is my script for that, it's slightly adapted from comment:

$ sudo mv /usr/bin/gedit /usr/bin/gedit.bin
$ sudo bash -c 'echo -e "#"\!"/bin/bash\n/usr/bin/gedit.bin --standalone \"\$@\"" >/usr/bin/gedit'
$ sudo chmod 755 /usr/bin/gedit

Hope this helps.

share|improve this answer
Tried and it works! – GUI Junkie Apr 10 '12 at 8:00

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.