LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Texmaker don't work on Xfce with no installation of KDE (Slackware 13.1) (https://www.linuxquestions.org/questions/slackware-14/texmaker-dont-work-on-xfce-with-no-installation-of-kde-slackware-13-1-a-815958/)

Laodiceans 06-23-2010 01:29 PM

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


fskmh 06-23-2010 05:35 PM

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.

Laodiceans 06-23-2010 08:49 PM

Didn't work.

More ideas?

Laodiceans 07-05-2010 01:16 AM

Maybe is a bug.

Or it needs something from KDE.

Ilgar 07-17-2010 05:26 AM

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?

Ilgar 07-17-2010 05:34 AM

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.

Laodiceans 07-18-2010 07:11 PM

I try to set QT Style to GTK+ and I had the same problem.

Laodiceans 07-18-2010 07:31 PM

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.

:D

Ilgar 07-19-2010 01:26 AM

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?

jimX86 07-19-2010 12:22 PM

Try the solution in post #29 of this thread.

Laodiceans 07-21-2010 04:08 AM

Quote:

Originally Posted by jimX86 (Post 4038327)
Try the solution in post #29 of this thread.

That did't work for me.

sljunkie 08-15-2010 10:24 AM

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)

:hattip:


All times are GMT -5. The time now is 06:57 PM.