View previous topic :: View next topic |
Author |
Message |
thurnax Tux's lil' helper
Joined: 17 Apr 2014 Posts: 90
|
Posted: Thu Aug 04, 2016 10:27 pm Post subject: How to build firefox with other libs than GTK |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Thu Aug 04, 2016 11:07 pm Post subject: |
|
|
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 |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Mon Aug 08, 2016 6:17 pm Post subject: |
|
|
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 |
|
|
Barbieken Tux's lil' helper
Joined: 22 Mar 2014 Posts: 82
|
Posted: Mon Aug 08, 2016 8:58 pm Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Aug 09, 2016 12:00 am Post subject: |
|
|
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 |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1249
|
Posted: Tue Aug 09, 2016 1:29 am Post subject: |
|
|
firefox in pg_overlay with opensuse-kde patches |
|
Back to top |
|
|
|