Make synaptic package manager use gtk theme
When I open synaptic (or nautilus as root) the windows resemble the top class “win95″ design.
Some people might prefer that, but I’m not one of them.
It’s pretty easy to make synaptic use the theme you are using.
Edit: Take a look in the comments to “bredan’s 2nd comment”, it’s easier and also includes the icon set.
1. Open nautilus as root
gksudo nautilus
Navigate to /home/username/.themes and copy all of them to /usr/share/themes
(.themes is a hidden folder, press “ctrl+h” to view them)
2. Change the gdm behaviour
In a terminal copy/paste this
sudo gedit /etc/gdm/gdm.conf
Look for [gui] and make sure these lines look like this:
GtkTheme=all
GtkThemesToAllow=all
If there is a # before them, delete it.
Now synaptic and other root applications should use the gtk theme you are using on your desktop.
Funny you should have posted this just when I noticed this behaviour..
So I tried this out, and it is not quite complete; it solves the problem of root initiated applications not having the same theme, but they still have the old icons. I guess you need to copy the /username/.icons files to somewhere in /usr/share… I’ll have to try to work it out! It’s all new territory for me!
Cheers, for the tip anyway, I am half way there!
You’re right.
I didn’t notice it doesn’t uses icon set you normally use.
Let me know how you did it, if you succeed.
Hi, for both I copied /home/username/.icons and /home/username/.themes to /root/.icons and /root/.themes respectively and it did the trick!
Thanks Brendan for mentioning it.
So, you could
ln -s /home//.themes /root/.themesandln -s /home//.icons /root/.iconsinstead. This is a cooler, because any time you may install new themes and/or icons asyou don’t have to sync contents to match. These symbolic links should do the job. Great tip btw, I always hated the way Synaptic looked like, but never thought this might be the solution. Until now I believed that Synaptic was using old GTK libs… Thanks!+1 for that solution.
I were many hours looking for the way to do this…
Now… I only wanna say you…Thank you very much!!!!!!
Ali Servet Dönmez’s solution is the best here.
It is.
What if I want new users to use my themes? Thanks
[i](Sorry about my bad english…)[/i]
I can’t believe how easy was that!!
Thanks to all you, folks!
I used the Ali Servet Dönmez metod!
Thanks from Argentina!
Great tip!!
Im designing a new theme, and i was thinking that this program was using gtk 1.x
Thanks from Argentina too!!
TO CHANGE ICONS IN ROOT PROGRAMS FOR INTREPID:
Copy everything from /home/username/.icons TO /usr/share/icons PLUS STEP TWO of this post.
Hope this helps.
I found this set of commands not only changed Synaptic’s theme, but kept it consistent with any theme the rest of my destkop used (key in each one in an opened Terminal):
sudo ln -s /home/[username]/.themes /root/.themes
sudo ln -s /home/[username]/.icons /root/.icons
sudo ln -s /home/[username]/.fonts /root/.fonts
Install gtk-chtheme application using synaptic. Once installed, then run it as root with gksu and set the theme. You can leave the synaptic window open an watch the window change as you change themes. This was the best solution for me (Ubuntu 11.04).