You are not logged in.
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
What do you want to achieve?
Offline
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
Limited resources and running kde??
Offline
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
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
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
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
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
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
> 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
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
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