LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-23-2010, 01:29 PM   #1
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
Texmaker don't work on Xfce with no installation of KDE (Slackware 13.1)


I don't know why this happen. In Slackware 13 it worked fine.

This is the output:

Code:
QGtkStyle was unable to detect the current GTK+ theme.

(process:4870): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:4870): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:4870): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:4870): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:4870): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:4870): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:4870): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:4870): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:4870): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

Last edited by Laodiceans; 06-23-2010 at 02:55 PM.
 
Old 06-23-2010, 05:35 PM   #2
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
Try creating a .gtkrc-2.0 config file in your home directory containing the following:
Code:
gtk-theme-name="Simple"
gtk-icon-theme-name="Tango"
gtk-font-name="Verdana 9"
gtk-toolbar-style=2
If it still doesn't work after that, you may have a similar issue to the one I had in Fluxbox when I had to add this to my .bashrc:
Code:
export GTK2_RC_FILES=${HOME}/.gtkrc-2.0
You can just paste that export statement in an xterm or XFCE terminal or source your .bashrc to test it.
 
Old 06-23-2010, 08:49 PM   #3
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 18
Didn't work.

More ideas?

Last edited by Laodiceans; 07-04-2010 at 06:59 AM.
 
Old 07-05-2010, 01:16 AM   #4
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 18
Maybe is a bug.

Or it needs something from KDE.

Last edited by Laodiceans; 07-05-2010 at 06:37 AM.
 
Old 07-17-2010, 05:26 AM   #5
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 926

Rep: Reputation: 96
Any progress on this one? I ran into something similar with djview4. This is what happens when I try to open the preferences window:

Code:
bash-4.1$ djview4

(process:7410): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7410): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:7410): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7410): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7410): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7410): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:7410): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7410): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:7410): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
I get a blank preferences window and the application hangs. However, if I run djview4 with

Code:
djview4 -style [stylename]
where stylename is any one of cde, motif, plastique, platinum or windows, all works fine (these are Qt styles). If stylename is gtk I get this problem. Maybe I should try changing the default style to something else?
 
Old 07-17-2010, 05:34 AM   #6
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 926

Rep: Reputation: 96
So yes, changing the default Qt style to something else (via qtconfig) solves the problem. However, qtconfig itself locked up, since the default style was set to be that of the desktop's and I was running XFCE (--> gtk). On console it said

Code:
QGtkStyle was unable to detect the current GTK+ theme.
I ran qtconfig with the -style option as above, then changed the default.
 
Old 07-18-2010, 07:11 PM   #7
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 18
I try to set QT Style to GTK+ and I had the same problem.
 
Old 07-18-2010, 07:31 PM   #8
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 18
Upgraded to qt-4.6.3_ef2e850-x86_64-1.txz on current and QT already don't lock up when choose GTK+ style and texmaker already works.

 
Old 07-19-2010, 01:26 AM   #9
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 926

Rep: Reputation: 96
Cool, but in general it's not a good idea to mix -current with the stable branch. Is there a way to fix this on the Qt version of 13.1?
 
Old 07-19-2010, 12:22 PM   #10
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.1
Posts: 231
Blog Entries: 1

Rep: Reputation: 34
Try the solution in post #29 of this thread.
 
Old 07-21-2010, 04:08 AM   #11
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by jimX86 View Post
Try the solution in post #29 of this thread.
That did't work for me.
 
Old 08-15-2010, 10:24 AM   #12
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Arch Linux/Fedora
Posts: 95

Rep: Reputation: 18
Try installing the rpm package and converting it with:

Code:
rpm2tgz -d -s -n texmaker-2.0-xm1.i586.rpm
Install it and it should work.

Not only you won't need KDE installed, I don't think you'll even need QT! I ldd'ed /usr/bin/texmaker and this was the output:

Code:
linux-gate.so.1 =>  (0xffffe000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb77b8000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb777e000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb7776000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb775f000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7755000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7726000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb76a1000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7693000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7578000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7574000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb756f000)
	librt.so.1 => /lib/librt.so.1 (0xb7566000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7496000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb747d000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb738d000)
	libm.so.6 => /lib/libm.so.6 (0xb7367000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7349000)
	libc.so.6 => /lib/libc.so.6 (0xb71e6000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb71e2000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb71ce000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb71ae000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7195000)
	/lib/ld-linux.so.2 (0xb77f7000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7192000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb718d000)
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] down arrow & end keys don't work in kde or xfce rbees Linux - Desktop 2 11-26-2009 03:50 PM
xfce on slackware installation netpumber Slackware 1 09-20-2009 01:38 PM
Slackware/Xfce vs. Slackware/KDE Woodsman Slackware 31 08-19-2009 12:16 AM
kde or xfce better for slackware laptop? andrew.46 Slackware 9 05-02-2008 09:26 AM
KDE programs will not stop booting in XFCE 4 (Slackware 12) Archoniam Linux - Desktop 1 10-15-2007 04:55 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration