When I start some apps as superuser (let’s say package management) theme used for window is different than the one I setup for me as regular user. How can I make apps that starts with root credentials look same as other windows? Fonts used in root’s windows are different than the one that I use for the rest of the system and in that apps (root’s) messages are displayed incorrectly. >:(
I forgot to say… im using 11.1 and kde4.
Try running
kdesu qtconfig
Adjust settings, save.
Your issue is this: your linux box is fully multi user - these apps run using the configuration for the user ‘root’ [sometimes called ‘superuser’]. Do as confuseling says or you can log in as root and change root’s config. But remember, if you then change your config, you’ll have to change root’s config too, and the config will not match if another user starts up these apps.
Most people seem to accept things the way they are - it is sometimes a useful reminder that the app is running with root privileges.
Thanks Confuseling!
> How can I make apps that starts with root credentials look same as
> other windows?
my free advice is: do NOT do that…root powered apps should look
different to constantly remind you that with that app you can kill
the entire system…
–
duo
No worries.
Avoid logging in as root where possible - more than an unnecessary risk (which it is), it’s a bad habit.
And duo’s advice to make it distinguishable as root is certainly sensible. It does sometimes need adjusting, however - there seems to be something awry with its choice of font size on certain monitors.
I would agree with avoiding logging in as root as far as possible, but when it comes to doing those tasks which prompted 7freedom7’s question, I think it is preferable to log on as root to do them and then log out once you have done them, rather than run them from the user session, because you can be much more clear about closing the apps down when you log out as root.
Similar for GNOME (if gdm is Display Manager) ?
NigmaToolin - perhaps true in this instance. You can also make a case, I suppose, that mucking about with root’s appearance should really be done in an environment in which you can see what the full impact is, so you don’t suddenly find you’ve switched everything to an undifferentiable shade of lilac later.
I don’t like leaving root terminals floating around, in case I find myself idly trying to do things in them later. Which is why kdesu or gksudo are useful - just do what needs doing and quit.
zmdmw52 - Sorry… You’ve got me there. I only found out the KDE equivalent because the muddle between KDEs 3 and 4 seems to have caused some systems, my eee included, to pick ridiculously small fonts for system tasks. Apparently the fault of monitors reporting their characteristics incorrectly, but I’m sure it will be sorted in the end. Haven’t had the problem with gnome, so haven’t had occasion to look.