0

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?

4
  • Does this problem persist if you restart the PC?
    – 8128
    Apr 9, 2012 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, 2012 at 10:28
  • @fluteflute, yes, this is happening since some time ago.
    – GUI Junkie
    Apr 9, 2012 at 13:15
  • @fossfreedom, /usr/bin/gedit. I don't have any custom gedit file there.
    – GUI Junkie
    Apr 9, 2012 at 13:16

1 Answer 1

1

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.

1
  • Tried and it works!
    – GUI Junkie
    Apr 10, 2012 at 8:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .