This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to Use KDE Dialogs in Gtk Apps like Firefox

Tags: None
(comma "," separated)
User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
I want to use KDE file dialogs (file open, file save) in Firefox in Kubuntu 12.04.

This requires something like the ancient KGtk script, but for KDE 4.x and recent Firefox versions.

Does such a thing still exist?

Note, I'm not asking about theming/looks. I'm asking about actually using KDE file dialogs instead of XUL or GTK dialog.

And the preference ui.allow_platform_file_picker doesn't affect this. I have already tried setting it to true and false. Neither options results in using KDE dialogs.

Thanks.
User avatar
google01103
Manager
Posts
6668
Karma
25
"This is a helper application that allows Mozilla Firefox to use KDE file dialogs, file associations, protocol handlers and other KDE integration features."

http://packages.ubuntu.com/search?searc ... de-support


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
google01103 wrote:"This is a helper application that allows Mozilla Firefox to use KDE file dialogs, file associations, protocol handlers and other KDE integration features."

http://packages.ubuntu.com/search?searc ... de-support


They dropped that package for Kubuntu 12.04.

Any other ideas?
User avatar
google01103
Manager
Posts
6668
Karma
25
just so people know http://www.phoronix.com/scan.php?page=n ... px=MTA3MjI

suggest you try Kubuntu forum, or FireFox Or change browser - Opera has a file dialog setting


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
What about a FF package from a distro derived from *buntu like Mint or installing the FF .deb from Oneric


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
google01103 wrote:What about a FF package from a distro derived from *buntu like Mint or installing the FF .deb from Oneric


Looking at opensuse is probably the best bet because they still support Firefox. Afaik, my choices are either switch to OpenSuse or try to get the Firefox support package from OpenSuse to work on Kubuntu 12.04.

That second choice would involve some programming, and I'm not able to do that (unless I learn).

The first choice is not an option due to a system d bug when using NFS shares (and a few other bugs) in OpenSuse 12.1.

I'm hoping someone else has solved this problem for Kubuntu. If I was a KDE dev, I'd work on it myself...
User avatar
google01103
Manager
Posts
6668
Karma
25
Ask on the Mint forum if they have plans, it would be the easiest distro to move to

re: OpenSUSE have you posted your problems there?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
google01103 wrote:re: OpenSUSE have you posted your problems there?


Yes. I spent a lot of time trying to work with OpenSuse before I finally decided on Kubuntu 12.04.

I would prefer to stick with Kubuntu and fix the Firefox problem. But if Mint releases a KDE distro that is based on Kubuntu 12.04 and fixes this issue, I would move to Mint. But that might be many months down the road. It would be great to fix this now...
User avatar
google01103
Manager
Posts
6668
Karma
25
it has been submitted as an idea on the Mint forum http://community.linuxmint.com/idea/view/2501


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
google01103 wrote:it has been submitted as an idea on the Mint forum http://community.linuxmint.com/idea/view/2501


Wow, that's good news! I might be switching to Mint if they follow up on that idea.
User avatar
šumski
Registered Member
Posts
106
Karma
1
OS
I've uploaded KDE integration enabled packages:
http://www.kubuntuforums.net/showthread ... DE-support
User avatar
MountainX
Registered Member
Posts
56
Karma
0
OS
šumski wrote:I've uploaded KDE integration enabled packages:
http://www.kubuntuforums.net/showthread ... DE-support


Thank you!!!!!!!!!!!!!!!!!!!!!!! Awesome! I'm going to install it now. Whose work is it?
User avatar
YAFU
Registered Member
Posts
55
Karma
0
OS
Hello.
This is a PPA for Firefox on Kubuntu:
https://launchpad.net/~blue-shell/+archive/firefox-kde

For KDE developers: How difficult would be make that gtk apps always open KDE dialogs instead of gtk dialogs? I do not know, maybe a KDE process running in the background to detect when a gtk application requests for "Open/Save file" dialog.
Regards.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately, due to the different interfaces the only way to do that would be through the use of LD_PRELOAD to inject KDE libraries into a Gtk application. This is potentially unreliable and dangerous, and may destabilize the application as well.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
YAFU
Registered Member
Posts
55
Karma
0
OS
How about working together with GNOME developers?
I guess that "LD_PRELOAD" thing is as KGtk wrapper works:
http://kde-apps.org/content/show.php/KG ... tent=36077

I use the KGtk wrapper with GIMP and Inkscape and works well. But it does not work with all GTK application.
Does the KDE developers have tried to contact with KGtk developer (Craig Drummond) to incorporate to the KDE team?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed