Score:2

Why did launching gedit suddenly get slow?

us flag
setup:

ubuntu 20.04.3, updated daily

background:

For years, I have launched gedit from the terminal. Frequently. Without issue.

problem:

As of a few weeks ago, on a laptop and two desktops of varying horsepower (all running 20.04.3 and all updated roughly daily), gedit started taking around a minute to load. Sometimes minutes.

Ummmm... Anyone know what is going on? Fix?

FedKad avatar
cn flag
Can you try with a newly created user on the same system?
user2901351 avatar
us flag
@FedonKadifeli Thank you for the suggestion. Just did this. gedit loaded real snappy-like on that account. Know something about this?
Score:3
cn flag

Sometimes, application configuration data may get messed up and this may have adverse effects on application startup. For example, they may contain some references to network resources that are no longer available.

The gedit application seems to have three places that keep some configuration and application data:

  1. The $HOME/.config/gedit directory contains some application configuration data files, like accelerator keys, page and print setup info, and tools (scripts) called by gedit.

  2. The $HOME/.local/share/gedit/ directory contains the gedit-metadata.xml file which keeps information about files opened by gedit.

  3. dconf database” that can accessed by running dconf-editor.

I presume, the culprit is the gedit-metadata.xml file. Close all open gedit windows and rename this file. Then try to restart gedit. If this does not work, please look for other files under the $HOME/.local/share/gedit/ directory and try to rename them one by one. Some files in this directory seem to have been deprecated, so the file modification date may be a clue here.

If this doesn’t solve your problem, you may similarly try to rename the contents of the $HOME/.config/gedit directory.

If this still doesn’t solve your problem, you can start dconf-editor, navigate to branch “ / org / gnome / gedit ” and try to reset configuration values to their defaults.

Another place that I would look at would be to disable (again one by one) the gedit plugins: Select Preferences in gedit and go to the Plugins tab. From there, you can disable all the plugins and then enable them one by one by quitting gedit and restarting it each time.

__

Please, comment on what you have done and what solved your problem.

benbotto avatar
jp flag
Disabling the File Browser Panel plugin did the trick for me.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.