
Edit: fixed, patch in this post.
Code: Select all
(gedit:2956): Gtk-WARNING **: Theme parsing error: <data>:8:15: Not using units is deprecated. Assuming 'px'.
Well, that is about none that I could find - except for the default fallback junk which looks like... *censored* *censored* *censored* What kind of upstream genius felt the urge to cause this pointless borkage?Lippy wrote: Until then, I'd use a theme that works for now.
I'm rather new to Linux Mint: what does "tracking Testing or Sid" mean? Also, what package contains GTK+ 3.4? From what I noticed before, I'd bet LibreOffice 3.5 wants that package updated.Lippy wrote:If you are tracking Testing/Sid, then it would have been the GTK+ 3.4 update that caused it. It did for me anyway. If that's the case, then the themes just need updating. Until then, I'd use a theme that works for now.
Have you tried Adwaita or Greybird? I found them to work quite acceptably even when others don't.doktornotor wrote:Well, that is about none that I could find
By default you are pointing to the Update Pack repositories which are hosted by Mint. Tracking Testing/Sid means pointing the sources directly to either the Debian Testing or Sid (aka Unstable) repositories. Some people do this in order to have more current packages, but it comes at a cost of stability. This isn't recommended to try as it is not supported in LMDE; you can end up with a few breakages, and it could wreck your install if you don't know what you are doing. The latest Mint packages for example are built for the most recent Update Pack and can soon become incompatible with Debian Testing/Sid as the packages are constantly changing.dclement wrote:I'm rather new to Linux Mint: what does "tracking Testing or Sid" mean?
This should tell you what version of GTK+ 3 you have.dclement wrote:Also, what package contains GTK+ 3.4?
Code: Select all
dpkg -l libgtk-3-0
That's exactly what I had done when I was trying to get LibreOffice 3.5. It does't seem to depend on any libgtk-3-0.Lippy wrote:Tracking Testing/Sid means pointing the sources directly to either the Debian Testing or Sid (aka Unstable) repositories. Some people do this in order to have more current packages, but it comes at a cost of stability.
mine is 3.2.3-1 so it's OK. But indeed Sid has version 3.4.2-1 in the repos.Lippy wrote:This should tell you what version of GTK+ 3 you have.
Code: Select all
dpkg -l libgtk-3-0
Hmm... this looks like a major warning regarding the future Update Pack 5 (or the process of preparing it, to be precise)dclement wrote:With LibreOffice you'd want to install libreoffice-gnome (if you're not to get an ugly Windows-looking LibreOffice).
Now this libreoffice-gnome depends on libgtk-3-0, which breaks many Mint themes when upgraded. Kind of checkmate.
I know nothing about packaging, but could it be that the LMDE package libreoffice-gnome have different dependencies (libgtk2) than its Debian Sid counterpart (libgtk3)?Monsta wrote:The current libreoffice-gnome (3.4.5) here in UP4 merely depends on libreoffice-gtk which in turn depends on libgtk2.0-0 >= 2.24.0... so it's still Gtk+2, not 3.
No, libreoffice-gtk indeed.Monsta wrote:libreoffice-gtk still depends on libgtk2.0-0 (>= 2.24.0) in Sid. Have you by any chance installed libreoffice-gtk3 instead?
Yes, that's what I believed from the pages you mentioned. Yet, there must be a tricky path of dependencies, because despite what you read on these pages, you never can install LibreOffice 3.5 and libreoffice-gnome without libgtk-3-0 ver. 3.4 (thus breaking the desktop themes).libreoffice-gnome depends only on libreoffice-gtk (without 3) in both Wheezy and Sid.
Code: Select all
--- /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css 2012-06-24 12:20:42.606634258 +0200
+++ /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css 2012-06-24 12:24:10.087168651 +0200
@@ -66,6 +66,16 @@
-unico-inner-stroke-width: 0;
}
+GtkWindow {
+ color: @fg_color;
+}
+
+* {
+ /* inherit the color from parent by default */
+ color: inherit;
+ background-color: @bg_color;
+}
+
/**********
* states *
**********/
--- /usr/share/themes/Mint-X-Metal/gtk-3.0/gtk-widgets.css 2012-06-24 12:32:34.677725260 +0200
+++ /usr/share/themes/Mint-X-Metal/gtk-3.0/gtk-widgets.css 2012-06-24 12:33:26.531077542 +0200
@@ -66,6 +66,16 @@
-unico-inner-stroke-width: 0;
}
+GtkWindow {
+ color: @fg_color;
+}
+
+* {
+ /* inherit the color from parent by default */
+ color: inherit;
+ background-color: @bg_color;
+}
+
/**********
* states *
**********/
Not for me, Xfce here...Monsta wrote: I guess Clem will apply these changes while preparing the Update Pack 5 - IIRC it will bring Gnome 3.4 to LMDE.
Clem wrote:I’ll apologize in advance for the sarcasm here.. I need to take another cheap shot at the GTKGnome developers here. GTK3 isn’t a reliable API. Maybe it should be called libgnome instead. GTK3.4 came with Gnome3.4, and wasn’t compatible with previous GTK3 themes. This means all GTK3 applications looked really ugly not only with all the GTK2 themes which don’t support GTK3 (almost all of them), but also the few which did. With this in mind we had three options:
We went for option 3 “this time”. I hope this little example was enough to convince 3rd party developers not to use GTK3. I couldn’t find any release notes or documentation explaining the regression or how to solve the issue.. I genuinely get the feeling that GTK 3.4 is developed for Gnome 3.4, that it doesn’t really matter if it breaks things and that we’re not supposed to use it outside of Gnome.
- Give you a desktop with poor integration and applications which look different based on the API they use (which is completely unacceptable)
- Ditch all GTK3 applications from Mint and replace them with earlier GTK2 versions, or GTK2 or QT applications (this includes Gnome apps, but also Gdebi, Transmission and a few others)
- Rant like mad, remove all themes, and waste countless hours in giving Mint-X and Mint-Z proper GTK “3.4″ support even though it’s likely to break again in 3.6…
Well, tracking Debian unstable, so...Monsta wrote:Gnome 3.4 goes together with GTK+ 3.4so the update affects even XFCE or LXDE - if you run any GTK+3 apps in it
clem++Monsta wrote: I can't help but post a quote from this blog post:
Clem wrote:I’ll apologize in advance for the sarcasm here.. I need to take another cheap shot at the GTKGnome developers here. GTK3 isn’t a reliable API. Maybe it should be called libgnome instead. GTK3.4 came with Gnome3.4, and wasn’t compatible with previous GTK3 themes. This means all GTK3 applications looked really ugly not only with all the GTK2 themes which don’t support GTK3 (almost all of them), but also the few which did.
...
I hope this little example was enough to convince 3rd party developers not to use GTK3. I couldn’t find any release notes or documentation explaining the regression or how to solve the issue.. I genuinely get the feeling that GTK 3.4 is developed for Gnome 3.4, that it doesn’t really matter if it breaks things and that we’re not supposed to use it outside of Gnome.