You are not logged in.

#1 2011-08-04 03:55:39

Tux the penguin
Member
From: Tomorrow
Registered: 2010-05-25
Posts: 196

[SOLVED]some applications dont use correct gtk theme

I use E17 and I set my gtk theme with lxappearance. I t works for most apps, but not audacious or libreoffice. They just use what I think is the default gtk theme (something similar to Windows, prior to XP) which is pretty ugly imo. Also, audacious just started doing this on the update to 3.x though I'm not sure when it happened in libreoffice. I do know that it used to be fine. I get

Failed to load plugin (/usr/lib/audacious/Container/cue.so): libcue.so.1: cannot open shared object file: No such file or directory

(audacious:7186): Gdk-CRITICAL **: gdk_visual_get_red_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed

(audacious:7186): Gdk-CRITICAL **: gdk_visual_get_green_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed

(audacious:7186): Gdk-CRITICAL **: gdk_visual_get_blue_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed

when running audacious, don't know if that is relevant or not. So, does anyone know how to fix this? thanks

Last edited by Tux the penguin (2011-08-04 13:08:35)


I don't suffer from insanity. I enjoy every minute of it.
MSI CR600 / 3GB Memory / 320GB HDD / Intel Pentium Dual-Core CPU T4200 @ 2.00 GHz | Archlinux x86_64

Offline

#2 2011-08-04 04:45:28

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED]some applications dont use correct gtk theme

Maybe this answers your question:

> pacman -Si audacious | grep Depends
Depends On     : gtk3

And maybe this can help you:
https://wiki.archlinux.org/index.php/GN … ttings.ini


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2011-08-04 07:05:06

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [SOLVED]some applications dont use correct gtk theme

You need to install libreoffice-gnome to get the gtk2 theme available for LibreOffice.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#4 2011-08-04 13:05:26

Tux the penguin
Member
From: Tomorrow
Registered: 2010-05-25
Posts: 196

Re: [SOLVED]some applications dont use correct gtk theme

Rasi wrote:

Maybe this answers your question:

> pacman -Si audacious | grep Depends
Depends On     : gtk3

And maybe this can help you:
https://wiki.archlinux.org/index.php/GN … ttings.ini

thank you, that helped. I didn't think about the fact that lxappearance was only setting the gtk2 theme, or that some applications could using gtk3. I guess I always assumed that they would be compatible. though I had problems setting gtk 3 themes with lxappearance. but that is a different issue

rasi wrote:

You need to install libreoffice-gnome to get the gtk2 theme available for LibreOffice.

That worked, thanks.

Last edited by Tux the penguin (2011-08-05 00:58:30)


I don't suffer from insanity. I enjoy every minute of it.
MSI CR600 / 3GB Memory / 320GB HDD / Intel Pentium Dual-Core CPU T4200 @ 2.00 GHz | Archlinux x86_64

Offline

#5 2011-08-05 01:02:44

jkluebs
Member
Registered: 2008-11-17
Posts: 4

Re: [SOLVED]some applications dont use correct gtk theme

Just FYI, lxappearance will affect the gtk3 theme. I'm pretty sure lxappearance sets the theme via the X server facilitated XSETTINGS mechanism, and gtk3 and gtk2 will pick up the theme name from the same place. If the gtk2 theme name selected in lxappearance actually specifies a gtk3 theme installed on the system then gtk3 apps will use that theme, and will not pick up what is specified in a gtk3 settings file in $XDG_CONFIG_HOME/gtk-3.0. If the gtk2 theme selected with lxappearance doesn't correspond to any existing gtk3 theme, then you get the fallback. What's more, even naming a valid theme in the gtk-3.0 settings file will not override the invalid XSETTINGS theme name.

Offline

Board footer

Powered by FluxBB