I have an issue with the Gedit text editor. I downloaded and installed a set of plugins using the Synaptic and apt package managers, and I activated them without encountering any errors. The problem arises when I access the system directory with root privileges (sudo nautilus), navigate to the themes folder, and open any gtk.css file. The plugins do not load; for example, the color picker does not work, and none of the other plugins function. However, when I open any gtk.css file in the home directory without root privileges, all plugins load successfully. Additionally, when I run Gedit in the terminal in root mode (sudo gedit) and only open the application window, the plugins do not load. But when I simply type gedit in the terminal and open the application window, all plugins load and work correctly. What is the problem?
Gedit is a Gnome application and it uses Dconf to store information such as active plugins internally. I guess that it knows that root is not supposed to access this.
Last reply in this thread has a possible workaround:
Everything that wasn't working for me in Zorin OS 17.2 actually worked in Linux Mint 22.
Do both distributions use the same Ubuntu version?
What could be the reason for the difference?