You are not logged in.

#1 2015-09-24 18:55:52

aa13q
Member
Registered: 2015-09-24
Posts: 5

Build google-chrome or chromium without gtk [SOLVED]

Is it possible to build google-chrome or chromium without gtk dependency? (Qt or Google Aura probably?)

Last edited by aa13q (2015-09-25 15:34:17)

Offline

#2 2015-09-25 07:44:25

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: Build google-chrome or chromium without gtk [SOLVED]

What do you want to achieve?

Offline

#3 2015-09-25 08:20:26

aa13q
Member
Registered: 2015-09-24
Posts: 5

Re: Build google-chrome or chromium without gtk [SOLVED]

I'm using kde desktop enviroment and my machine resources are limited. Web browser (firefox or chromium) is the only app that uses gtk in my system. It would be great to find an option to lauch modern browser (gecko or blink-based) without installing gtk in my system.

Offline

#4 2015-09-25 08:27:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Build google-chrome or chromium without gtk [SOLVED]

Limited resources and running kde??

Offline

#5 2015-09-25 09:03:35

aa13q
Member
Registered: 2015-09-24
Posts: 5

Re: Build google-chrome or chromium without gtk [SOLVED]

KDE is fine for me personally, I have no problems with resources while using just regular KDE applications (kate, konsole, kwrite, kwin) and I'm using Qt Creator as main IDE.
Modern web browsers memory consumption is huge. Also it would be great to have a modern web browser that is kind of native for my system (without qt-curve or something).

Offline

#6 2015-09-25 09:48:39

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Build google-chrome or chromium without gtk [SOLVED]

See this post from a Chrome engineer: https://www.reddit.com/r/linux/comments … in_chrome/

Key quote:

Note that Chrome still uses GTK+ for theme support, for things like file dialogs, and other desktop integration. It's just that the main browser window is now rendered using Aura rather than being made up of GTK+ widgets.

Offline

#7 2015-09-25 09:52:31

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Build google-chrome or chromium without gtk [SOLVED]

I really doubt that gtk is responsible for chrome's high memory usage. It's chrome's sandboxing and running every tab as a separate process that is to blame.

Offline

#8 2015-09-25 10:06:57

aa13q
Member
Registered: 2015-09-24
Posts: 5

Re: Build google-chrome or chromium without gtk [SOLVED]

Thank you, Chazza! As I undrestood, no way to build without gtk yet.
ugjka, I just don't want to load additional GUI libraty to my memory when literally any other application in my system uses Qt. (Do not want to discuss gui frameworks, gtk is nice, just wanted to configure my system as Qt-only with unified interface).

Offline

#9 2015-09-25 11:06:43

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: Build google-chrome or chromium without gtk [SOLVED]

I don't understand. Do you want only qt apps or is it a resource issue? There are plenty of qt and webkit based browsers. Opensuse even has a firefox port (https://aur.archlinux.org/packages/firefox-kde-opensuse). If it's a resource issue, you sound like someone who bought a GMC Yukon and are pissed that you're only getting 12mpg. KDE is a very resource heavy desktop. If you're limited on your resources and insist on qt, you can try lxqt and konqueror.


An old man, trying to stay sane

Offline

#10 2015-09-25 11:56:56

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: Build google-chrome or chromium without gtk [SOLVED]

Buddlespit wrote:

KDE is a very resource heavy desktop

Only if you make it one, by running baloo and akonadi, mostly. Sure, it still uses more memory compared to the likes of lxde/openbox, but it can be configured to not be a monster.
For example like this. That's a very sane RAM amount used in my eyes. Especially compared to chromium using 900MB+ for me regularly.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#11 2015-09-25 12:51:30

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Build google-chrome or chromium without gtk [SOLVED]

> Also it would be great to have a modern web browser that is kind of native for my system

QupZilla [community]
Otter Browser (AUR)


1000

Offline

#12 2015-09-25 13:50:33

aa13q
Member
Registered: 2015-09-24
Posts: 5

Re: Build google-chrome or chromium without gtk [SOLVED]

Buddlespit, both (qt-only and resource issue). KDE is not heavy at all without baloo and akonadi (as Soukyuu already said) and more handy for me (I'm using Qt Creator IDE for development). And I can save the disk space (I also have constrained ssd drive) if I will use qt and kdelibs without additional separated gtk- or pure-c-libaries for similar tasks.
OpenSuse firefox port have gtk-dependency. Konqueror is outdated. I've asked for blink or gecko-based browsers.
byte, thank you for QupZilla and Otter browser, I've tried both and many others (arora and qutebrowser, for example). QupZilla is nice, but current WebEngine-based-build eats a lot of RAM, buggy and has limited features in current implementation.

Probably I should try to build something for me with [qtmozembed](https://github.com/tmeshkova/qtmozembed)

Ok, thank you, I don't wanted to create holywars or something, I guess I should close the question.

Last edited by aa13q (2015-09-25 13:57:56)

Offline

#13 2015-09-25 14:28:30

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Build google-chrome or chromium without gtk [SOLVED]

aa13q wrote:

I guess I should close the question.

If you edit your first post, you can change the thread title, adding [SOLVED] if you think the problem has been solved to your satisfaction - in this case, I think the original question of whether Chrome can be built without GTK+ has been answered.

Offline

Board footer

Powered by FluxBB