You are not logged in.
Since not so many time ago, I have checked that some applications are changing their theme under Openbox. I have made some captures to illustrate:
http://i59.tinypic.com/1t7nnq.jpg -> This is my actual theme in Leafpad, working with compton without any option activated (no shadows), and a window running as user (grey one), and the other running as root (white one).
But, when I run, for example, gnome-screenshot, baobab, file-roller, lighstoff or gnome-tetravex, the result is this one:
http://i58.tinypic.com/2qsvrtd.jpg -> gnome-tetravex running as user (black one), and as root (white one). Without borders, and decorations in the first case, and with the Adwaita (I think) theme, and shadows...This eliminates the possibility to be acompton issue, because there is no shadows on sudo leafpad.
That, made me think about a change in the gnome aplications, because most of them, are from the gnome group, or related to gnome, but, it is not the case I think, because brasero is also a common application in gnome, but that and another programs, works perfectly.
The most strange case, is about spacefm, if I run it normally, or as root, it works perfectly, but if I open any dialog, like confirmation when I trash something, or I open the preferences window, it works like the wrong one:
http://i61.tinypic.com/2cqdwtu.jpg -> The preferences windows are the same as in the other cases. the black one opened like user, and the white one, opened like root. And the main windows, the black one, with borders and decorations, opened like user, and the other one, the red one, with decorations, opened like root.
I don't understand why it happens, and I'm getting crazy.
I have tried to remove any other package from the gnome group, and nothig. And then, I tried to install the whole gnome group, to be able to remove it entirely, but I checked that when I instll the whole group, those windows, get decorations, but only the thin light-blue colored line that is around the application, without the decoration with the title, and then, I removed the whole group again.
I have to say that the theme has been working properly before. I simply took Miren v2 Lime, from ArchBang, and changed the colors in the files.
Thanks a lot!!
Last edited by AnSnarkista (2014-05-14 01:58:47)
Offline
I have found some information:
http://www.linuxquestions.org/questions … 175501594/
http://redmine.audacious-media-player.o … 135?r=1140
Seems to be a GTK issue....
Last edited by AnSnarkista (2014-05-14 02:26:21)
Offline
When you've set up the gtk theme for user, applications that are run as root still use the default gtk theme for that application, the adwaita looking one for gtk3 and that ugly light gray one for gtk2 applications (like leafpad)
some gtk3 applications are missing window borders because they are client side decorated, no way to revert unfortunately
It also looks like your gtk3 theme isn't updated for latest gtk-3.12, as there appears to be some glitches (gray background on close button and some text for example)
don't know why spacefm is behaving that way.
usually you really shouldn't be running X applications as root anyway
Last edited by ooo (2014-05-14 16:32:46)
Offline
Yeah, I see....I hope they change that for next releases...this is so weird. Thanks a lot!
Offline
I don't see what is weird about it, unless you mean the client side decorations, which they aren't going to change.
Really you should just use a theme that works with latest gtk3, and not run applications as root (or you could just set the same gtk theme for your root user), and you should have consistent theme across all applications
Offline