I run sudo gedit but it looks exactly like another gedit I have open with normal user...
Any way to make it look diferent? but I dont mean tweaking each application preferences like background color of text; I mean the window decorations; I am unable to find a good way to work around that.
I dont want just the background because I like it dark, and at least on gedit there is not much options; anyway other applications may not have such option.
PS.: I actually run sudo -i gedit because without -i it overwrites and messes my normal user recent files history...
Folowing @Jobin gksudo tip, I got this result with kate:
The image below the other is from gksudo kate, the above one is normal user; so basically, the window decoration of title bar did not change, both remained "radiance", but the buttons and the background are completely different themes! Unfortunately it seems kate has specific settings for at least the background color :(, I am looking for a generic solution.
gksudo geditinstead ofsudo gedit. – jobin Jun 22 '14 at 08:43gksudois not installed by default in Ubuntu 14.04. According to http://askubuntu.com/questions/313828/why-is-pkexec-preferred-over-gksudo-for-graphical-applications, we have to makepkexecwork for GUI applications, individually. So perhaps the user should installgksu(which providesgksudo). – muru Jun 22 '14 at 08:52gksudoseems better thanpkexecbecause it prevents loosing password prompt focus! – Aquarius Power Jun 22 '14 at 19:50katelooks a huge lot different when usinggksudo! but gedit did not look too much different, but I think that may lead to something! :) – Aquarius Power Jun 22 '14 at 19:57pkexecseems safer at here, butpkexec katecant connect to X :/ – Aquarius Power Jun 22 '14 at 20:39pkexecrun properly look at http://askubuntu.com/a/332847/46437 – Aquarius Power Jun 22 '14 at 20:49pkexecorgksudofinally? Did theming work? Usually, my own GTK is themed, so distinguishing apps running as root is easy for me. – muru Jun 23 '14 at 23:26