Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to build firefox with other libs than GTK
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thurnax
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2014
Posts: 90

PostPosted: Thu Aug 04, 2016 10:27 pm    Post subject: How to build firefox with other libs than GTK Reply with quote

I'm using Gentoo with Plasma 5 environment. Something that I have noticed when I install the firefox-bin or chrome-bin packages is that the GUI layout is different from the GUI of standard KDE applications. I think by default, all the bin packages are built with GTK.

Then I saw another distro where the Firefox had the same layout as Plasma 5 so I decided to build Firefox manually myself. But when I did that, it had the same looks as the binary version.

So, how can I make Firefox build so that it has the same interface as KDE? I guess what I need to do is to swap the GTK with KDE libs, if that's the way to do it, then how do I do it?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Thu Aug 04, 2016 11:07 pm    Post subject: Reply with quote

Sure it's firefox or (insert name of variant)?

The stock firefox uses GTK and there's not much that can be done to "swap" to a different toolkit, it will require rewrite.

Arch has a writeup about it: https://wiki.archlinux.org/index.php/firefox

It looks like OpenSuSE has hacked Firefox to make it more KDE-friendly - though technically speaking they can't call it "Firefox" for legal reasons. Looks like you'll have to build that version which isn't in portage... maybe you can coax a Gentoo dev to incorporate it?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Mon Aug 08, 2016 6:17 pm    Post subject: Reply with quote

For me Firefox looks pretty decent under Pasma. It all depends on having a nice plama-gtk engine installed. Nice one is breeze for example. You can adjust the look and feel of Gtk-apps in the KDE systemsettings.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Barbieken
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2014
Posts: 82

PostPosted: Mon Aug 08, 2016 8:58 pm    Post subject: Reply with quote

The problem with firefox and in other GTK apps is that exceptionally ugly GTK "Open File" dialog. And the default Breeze theme, broken in a few recent releases because of changes in GTK 3.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Aug 09, 2016 12:00 am    Post subject: Reply with quote

You don't change the backend library. You change the gtk theme. You may be able to research what the other distro is using and use it in gentoo.

I believe there is a menu option to do this. I can't point you directly to it since I haven't used KDE in over 3 years.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Aug 09, 2016 1:29 am    Post subject: Reply with quote

firefox in pg_overlay with opensuse-kde patches
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum