ezkur / yad

Automatically exported from code.google.com/p/yad
GNU General Public License v3.0
0 stars 0 forks source link

gtk theme problem #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
With openbox+lxappearance (no session manager) yad does not take the gtk theme

I'm using Yad 0.16.3 on Ubuntu 11.10

Original issue reported on code.google.com by franco.massimiliano on 28 Dec 2011 at 5:09

GoogleCodeExporter commented 8 years ago
what version of gtk used by yad?

Original comment by ananasik on 30 Dec 2011 at 9:18

GoogleCodeExporter commented 8 years ago
libgtk2.0-0, version 2.24.6-0ubuntu5.
As stated previously, i'm running X from command line, without DM and Session 
Manager

Original comment by franco.massimiliano on 30 Dec 2011 at 9:38

GoogleCodeExporter commented 8 years ago
can you post ~/.gtkrc-2.0 here?

Original comment by ananasik on 30 Dec 2011 at 9:44

GoogleCodeExporter commented 8 years ago
this is my .gtkrc-2.0, created by lxappearance:

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

gtk-theme-name="Clearlooks"
gtk-icon-theme-name="Humanity"
gtk-font-name="DejaVu Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="none"
include "/home/max/.gtkrc-2.0.mine"

Original comment by franco.massimiliano on 30 Dec 2011 at 9:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
what say `ldd /usr/bin/yad | grep gtk'?

Original comment by ananasik on 30 Dec 2011 at 10:41

GoogleCodeExporter commented 8 years ago
ok it seems that yad is working only with gtk3 theme.
on another pc with xubuntu 11.10 yad takes the gkt theme only if there is a 
gtk-3.0 folder inside the theme folder.
so i installed a gtk3 theme on the first pc with openbox, and this not worked.
in xfce there is no .gtkrc-2.0 file nor a gtk-3.0 folder, all settings are 
managed by xfce4.

if I can do more debugging please let me know how can i help :)

Original comment by franco.massimiliano on 30 Dec 2011 at 10:42

GoogleCodeExporter commented 8 years ago
max@mini:~$ ldd /usr/bin/yad | grep gtk
    libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00889000)

Original comment by franco.massimiliano on 30 Dec 2011 at 10:43

GoogleCodeExporter commented 8 years ago
your build of yad use gtk3. as i see, last versions of lxappearance (0.5 and 
0.5.1) supports creating settings for gtk3. so possible solution is update 
lxappearance to the latest version

Original comment by ananasik on 30 Dec 2011 at 11:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i already have lxappearance 0.5.1:

max@mini:~$ apt-cache policy lxappearance
lxappearance:
  Installato: 0.5.1-1
  Candidato:  0.5.1-1
  Tabella versione:
 *** 0.5.1-1 0
        500 http://nl.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

this is my ~/gtk-3.0/settings.ini :

[Settings] 
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

gtk-theme-name="Ambiance"
gtk-icon-theme-name="Humanity"
gtk-font-name="DejaVu Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="none"
include "/home/max/.gtkrc-2.0.mine"

Original comment by franco.massimiliano on 30 Dec 2011 at 11:50

GoogleCodeExporter commented 8 years ago
ps... in gtkrc-2.0 and in gtk-3.0 gtk-theme-name doesn't match because i 
changed the theme between the two posts :)

Original comment by franco.massimiliano on 30 Dec 2011 at 12:04