profile-image

Tharrrk

Barbor Komeranc
kmando human computer interface

System Software 163 comments

Score 88%
88 Likes
12 Dislikes
Jun 29 2009
Hi! This forum/project seems dead for years but I'd have 2 questions in case someone still comes here:
[1] What was the progress with v4l2 support? Any PoC, anything someone could take over?
[2] Is there any working replacement for the same use case? i.e. an interactive whiteboard?
Cheers! - Apr 11 2018
KGtk (Use KDE Dialogs in Gtk Apps)

KDE 1.-4. Improvements 453 comments

Score 85%
85 Likes
15 Dislikes
Nov 03 2011
YES! Now it works perfectly, great job !!!
:)
Thanks !!!


It required one more change @ line 1014 (origOverwrite was not defined):


openKdeDialog(GTK_WIDGET(dialog), title ? title : "", current ? current : (data->folder ? data->folder : ""),filter && filter->len ? filter->str : kgtkFileFilter ? kgtkFileFilter : "", OP_FILE_SAVE, &res, &selFilter, 1 ); /* origOverwrite ); */ - Apr 24 2006
Hi once again,
that really helped, now i have kdialogd running, but after trying gimp open dialog it dies with ...

KGTK::gtk_init_check
KGTK::APP gimp
KGTK::gtk_window_present GimpToolbox 0

(gimp:10154): Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://freedesktop.org/Software/icon-theme/releases
KGTK::gtk_window_present GimpFileDialog 1
KGTK::gtk_dialog_run
KGTK::lookupHash 8CD9D50
gimp: symbol lookup error: /opt/kde/lib/libkgtk.so: undefined symbol: gtk_file_chooser_get_do_overwrite_confirmation

(script-fu:10156): LibGimpBase-WARNING **: script-fu: wire_read(): error - Apr 21 2006
Nothing like that :(
It seems this the basic problem to solve. But I have no idea how to get it work, since I haven't kdialog in /opt/kde/share/services/kded and no slackware package seems to contain that. Manual compilation of kde on my celeron 900 looks like ever-lasting task ;)
Thanks anyway :) - Apr 21 2006
Well I've reinstalled all packages that Gimp was missing, and still receiving errors, such as ...

KGTK::gtk_init_check
Could not access socket, /tmp/ksocket-root/kdialogd-1
KGTK::gtk_window_present GimpToolbox 0

(gimp:29215): Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://freedesktop.org/Software/icon-theme/releases
KGTK::gtk_window_present GimpFileDialog 1
KGTK::gtk_dialog_run
KGTK::gtk_file_chooser_get_uris
KGTK::lookupHash 8CC62F8
KGTK::gtk_file_chooser_get_filenames 12345
KGTK::gtk_file_chooser_get_filenames END
KGTK::gtk_file_chooser_get_uris
KGTK::lookupHash 8CC62F8
KGTK::gtk_file_chooser_get_filenames 12345
KGTK::gtk_file_chooser_get_filenames END
KGTK::gtk_widget_hide GimpFileDialog 1

(gimp:29215): Gtk-CRITICAL **: gtk_widget_send_expose: assertion `GTK_WIDGET_REALIZED (widget)' failed

(gimp:29215): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

...
It seems there is a problem with that kdialogd-1 socker, but i don't know what it is created be, or if i have to create it manually ? - Apr 21 2006
Hi again,

I'm using glibc 2.3.6

Well, I modified the sources and... make uninstall; make clean; make; make install; killall -9 kded; kded ... all went ok.

Gimp open file dialog appeared in ugly gtk style, open and cancel buttons disappeared and konsole got fullfilled with errors :( ...

------------
/usr/local/bin/kgtk-wrapper.sh /usr/bin/gimp
KGTK::gtk_init_check
Could not access socket, /tmp/ksocket-root/kdialogd-1
/usr/lib/gimp/2.0/plug-ins/helpbrowser: error while loading shared libraries: libgtkhtml-2.so.0: cannot open shared object file: No such file or directory

(gimp:26949): LibGimpBase-WARNING **: gimp: wire_read(): error
/usr/lib/gimp/2.0/plug-ins/svg: error while loading shared libraries: librsvg-2.so.2: cannot open shared object file: No such file or directory

(gimp:26949): LibGimpBase-WARNING **: gimp: wire_read(): error
KGTK::gtk_window_present GimpToolbox 0

(gimp:26949): Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://freedesktop.org/Software/icon-theme/releases
KGTK::gtk_window_present GimpFileDialog 1
KGTK::gtk_dialog_run
KGTK::gtk_file_chooser_get_uris
KGTK::lookupHash 8CCE4F8
KGTK::gtk_file_chooser_get_filenames 12345
KGTK::gtk_file_chooser_get_filenames END
KGTK::gtk_file_chooser_get_uris
KGTK::lookupHash 8CCE4F8
KGTK::gtk_file_chooser_get_filenames 12345
KGTK::gtk_file_chooser_get_filenames END
KGTK::gtk_widget_hide GimpFileDialog 1

(gimp:26949): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gimp:26949): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gimp:26949): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gimp:26949): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gimp:26949): Gtk-CRITICAL **: gtk_widget_send_expose: assertion `GTK_WIDGET_REALIZED (widget)' failed
-----------

Maybe it is not kgtk's fault, it seems there are some libs missing, but there were none of these errors before.

Another good thing is, that sodipodi is now KDEized ! :)) COOOOL !

I use Firefox 1.0.7 with the Noia skin and it is already in a KDE-look, so i haven't tried to run it under kgtk. - Apr 21 2006
Hi,
I'd like to try it out, but i receive this error on 0.4 :

dl-open.c:438: dl_open_worker: Assertion `imap->l_type == lt_loaded' failed.
/usr/local/bin/kgtk-wrapper.sh: line 17: 22656 Aborted LD_PRELOAD=/opt/kde/lib/libkgtk.so:$LD_PRELOAD $*

tried also 0.3, but compilation failed with :

kdialogd.cpp: In function `void urls2Local(KURL::List&, QStringList&, QWidget*)':
kdialogd.cpp:105: error: `mostLocalURL' is not a member of `KIO::NetAccess'
make[2]: *** [kdialogd.lo] Error 1
make[2]: Leaving directory `/data/install/kgtk-0.3/kdialogd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/install/kgtk-0.3'
make: *** [all] Error 2

Running Slackware, KDE 3.4.2, Qt 3.3.4, GTK 2.6.10,
Tested on Gimp 2.2.8, SodiPodi, etc. - Apr 21 2006