Page 2 of 3
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 18. Oct 2010, 20:52
by zAchAry
Packages that
are not from the official Salix OS repository:
Code: Select all
Agender-1.1.7.1-i486-1rl
b43-firmware-4.178.10.4-fw-1pw
fspy-0.1.1-i686-3cf
fuseiso-20070708-i486-1cp
gtk-recordmydesktop-0.3.8-i4
httplib2-0.6.0-i486-1rl
jeex-12.0-i486-1_SBo
libevent-1.4.14b-i686-1cf
libgringotts-1.2.1-i486-1
libgtkhtml-2.11.1-i486-1pm
moc-2.5.0_alpha4-i486-1_SBo
nethogs-0.7.0-i686-1cf
osmo-0.2.10-i486-1pm
peg-e-1.1.0-i486-3sl
privoxy-3.0.14_beta-i686-1cf
swfdec-gnome-2.30.0-i486-1sl
swfdec8-0.8.4-i486-5sl
tor-0.2.1.26-i686-1cf
torrent-search-0.9.1.1-i486-1rl
totem-2.28.6-i486-3sl
totem-pl-parser-2.28.3-i486-1sl
tubularix-0.5.1.5-i486-1sl
vnstat-1.10-i686-1cf
xfce4-taskmanager-1.0.0-i486-1_SBo
yapet-0.7-i686-1cf
libsigc++-2.2.3-i486-1gv
Note: libsigc++-2.2.3-i486-1gv is actually libsigc++-2.2.7-i486-1_SBo, I renamed the installation package so I won't get update alerts.
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 18. Oct 2010, 21:16
by gapan
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 18. Oct 2010, 22:14
by thenktor
Don't run as root and check if you have a
.gtkrc-2.0
file in your home dir.
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 06:49
by zAchAry
gapan wrote:#? Why?
Sorry, my bad. No change:
Code: Select all
etf[~]$ qtconfig
QGtkStyle was unable to detect the current GTK+ theme.
(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
etf[~]$
thenktor wrote:Don't run as root and check if you have a .gtkrc-2.0 file in your home dir.
Code: Select all
etf[~]$ ls -a | grep gtk
.gtk-bookmarks
.gtk-recordmydesktop
.gtklp
.gtkrc-2.0
.mp3splt-gtk
etf[~]$
.gtkrc-2.0 wrote:# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine
gtk-theme-name="Murrina Haikuish"
gtk-icon-theme-name="Humanity-XP-fc-Dark"
gtk-font-name="Sans 10"
gtk-toolbar-style=3
include "/home/etf/.gtkrc-2.0.mine"
Code: Select all
file:///home/etf/.themes/Murrina%20Haikuish
Code: Select all
file:///home/etf/.icons/Humanity-XP-fc
file:///home/etf/.icons/Humanity-XP-fc-Dark
I'm seeing these two when using
lxsession with Fluxbox.
I'm seeing
GNOME-Brave and
Murrina Redmond when I'm using
xfsettingsd with Xfce (currently, I'm running Xfce).
Code: Select all
file:///usr/share/icons/gnome-brave
Code: Select all
file:///home/etf/.themes/Murrina%20Redmond
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 07:04
by gapan
Try Clearlooks instead. There may be something wrong with that theme you're using.
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 07:13
by zAchAry
.gtkrc-2.0.mine wrote:gtk-theme-name="Clearlooks"
gtk-icon-theme-name="Humanity-XP-fc-Dark"
gtk-font-name="Sans 10"
gtk-toolbar-style=3
No change:
Code: Select all
etf[~]$ qtconfig
QGtkStyle was unable to detect the current GTK+ theme.
(process:7180): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 07:28
by gapan
Did you change it in the xfce settings too?
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 07:28
by thenktor
Perhaps this is this bug:
http://bugreports.qt.nokia.com/browse/QTBUG-9240
I'm running 64 bit and don't have any problems:
Upon closer inspection, the GNOME environment problem appears to be related to Fedora's handling of 32-on-64bit (we were probably missing some .i686 packages). We've switched to native 64-bit builds and do not see this issue. Thanks for the quick resolution!
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 19. Oct 2010, 16:21
by zAchAry
gapan wrote:Did you change it in the xfce settings too?
Yes, I did.
I'd appreciate a confirmation of this bug from 32-bit user(s), so if
you are a user of Salix 32-bit with Qt installed you're welcome to do so.
Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)
Posted: 22. Apr 2011, 22:20
by pwatk
I know this is an old thread but I've been having this problem with Qt 4.7 and I've found two solutions that I'm posting here for prosperity.
The easiest solution is to install the
libgnomeui package (and a bucket load of dependencies) but the simplest is to export the
GTK2_RC_FILES environment variable prior to launching any affected application.
Code: Select all
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"