Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

When I open a file with root gedit I'd like to have the same setup as my normal gedit. So theme, preferences, and addons.

Can I set up some sym links in the right spot to achieve this?

share|improve this question
USe gksu instead of plain sudo gksu uses YOUR profile but with elevated privileges. – Uri Herrera Jan 4 '12 at 5:14
@Uri Herrera - Not on my computers. It uses the root profile. Ubuntu 11.10 and Ubuntu 10.04LTS. – winchendonsprings Jan 4 '12 at 5:25
Yes... Become root: sduo su - and then ln -s /home/username/.filename /root/ or cat /home/username/.filename ~/.filename – user8290 Feb 12 '12 at 0:08
@Christopher, I am familiar with creating a link, but to what files/folders are needed for gedit themes, preferences, and addons? – winchendonsprings Feb 17 '12 at 21:41

I think this is quite impossible because gedit manages its settings through gconf and to sync these it would require a gnome-settings-deamon running for root.

share|improve this answer

You normally wouldn't synchronize normal gedit settings with root gedit user settings.

Root has its own settings, and the computer user has his own settings. The two are not the same. This is by design.

When you are operating as root, you are using the root user's profile, and when you're operating as yourself, you're using your personal profile. Each has its own permissions and ownership, tied to that particular account. They're not intended to be the same.

share|improve this answer

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.