You are not logged in.
Pages: 1
You would have seen the warnings in recent pacman updates:
WARNING: WebKitGTK+ 2.4 is known to have many security vulnerabilities that will NOT be fixed. Avoid browsing with it.
...and the discussion on arch-dev-public: Phasing out webkitgtk{,2}
So, for those that have happily used minimalist browsers over the years (think Uzbl, Vimprobable, Vimb, Xombrero)* what are you currently looking at, or using, that is built against webkit2gtk? Lariza? What else fills the, increasingly urgent, gap?
* That end of the alphabet seems to have proved quite attractive to browser devs...
Offline
as for uzbl there is a next branch with webkit2gtk as default renderer... [1] is time to be blending edge aparently.
for xombrero... [2] well to aur
[1] https://github.com/uzbl/uzbl/tree/next
[2] https://github.com/conformal/xombrero/issues/142
I use more links and firefox for browsing
Well, I suppose that this is somekind of signature, no?
Offline
There's also dwb, which has not seen active development in 1.5 years, and thus sparked the development of qutebrowser (I imagine).
Yet I assume that some people (me included) have still been using it¹ because of... muh features, I guess? For some reason, an almost 3 years old version of dwb (with a half-a-year old build) is still in [community]. I've switched to qutebrowser last week.
___
¹ I was only scarried away from it by that very announcement (even though I already knew before that it's probably not a good idea browsing with it anymore).
Last edited by ayekat (2017-01-30 10:52:21)
Offline
http://git.suckless.org/surf/log/?h=surf-webkit2
however note that surf accepts invalid certificates by default: http://git.suckless.org/surf/tree/confi … ebkit2#n33
Last edited by Alad (2017-01-30 11:39:13)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
So I looked at Lariza, no hinting. Scratched. The new port of surf didn't make it for the certificate issue. qute means QT, so that won't work for me.
Might have to go (back) to Uzbl for a look.
Offline
FWIW, I loathe toolkits in general, but I've found QT to be quite light. Not so long ago GTK was the lighter one, and to install anything linked against QT I felt like I had to install almost the entire KDE setup - now the tables have completely turned. Not many qt packages are needed for qutebrowser, and qt does not spawn *any* additional processes simply because some program is using qt widgets (in contrast to gtk3 which spawns countless background processes as soon as any gtk3 program launches ... and those process hang around after the program exits).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I have used surf-webkit2 since late 2015 and found it to be a flexible browser relatively devoid of feature creep. The certificate issue can be resolved by setting StrictSSL to 1. Though I have recently settled on Lariza for its minimalism (the PIE is less than 31K on disk), I am always on the lookout for alternatives with the caveat being that it not rely on Qt5. That may change in the future as I begin to adopt additional Qt5 packages (e.g. KeePass 2.1x). But to introduce an additional toolkit just to support a browser means this:
# pacman -S qutebrowser
resolving dependencies...
looking for conflicting packages...
Packages (58) avahi-0.6.32-3 cdparanoia-10.2-5 desktop-file-utils-0.23-1 gst-plugins-base-1.10.2-1 gst-plugins-base-libs-1.10.2-1
gstreamer-1.10.2-1 hicolor-icon-theme-0.15-1 keyutils-1.5.9-1 krb5-1.13.7-1 libcups-2.2.2-2 libdaemon-0.14-3
libgudev-230-1 libinput-1.6.0-1 libldap-2.4.44-3 libogg-1.3.2-1 libproxy-0.4.13-2 libsasl-2.1.26-8
libtheora-1.1.1-3 libtiff-4.0.7-2 libunwind-1.1-3 libusb-1.0.21-1 libvisual-0.4.0-6 libvorbis-1.3.5-1
libwacom-0.22-1 libxkbcommon-0.7.1-1 libxkbcommon-x11-0.7.1-1 libxv-1.0.11-1 libyaml-0.1.7-1 opus-1.1.4-1
orc-0.4.26-1 pyqt5-common-5.7.1-3 python-3.6.0-2 python-appdirs-1.4.0-5 python-jinja-2.9.5-1
python-markupsafe-0.23-4 python-packaging-16.8-2 python-pygments-2.2.0-1 python-pyparsing-2.1.10-2
python-pypeg2-2.15.2-2 python-pyqt5-5.7.1-3 python-setuptools-1:34.1.0-1 python-sip-4.19-1 python-six-1.10.0-3
python-yaml-3.12-2 qt5-base-5.8.0-2 qt5-declarative-5.8.0-1 qt5-location-5.8.0-1 qt5-sensors-5.8.0-1
qt5-webchannel-5.8.0-1 qt5-webkit-5.8.0-1 qt5-xmlpatterns-5.8.0-1 sip-4.19-1 tslib-1.3-1 videoproto-2.3.3-1
xcb-util-image-0.4.0-1 xcb-util-renderutil-0.3.9-1 xdg-utils-1.1.1-5 qutebrowser-0.9.1-3
Total Download Size: 59.01 MiB
Total Installed Size: 351.10 MiB
:: Proceed with installation? [Y/n] n
Note: YMMV as the above only applies to the workstation I am currently working on and may not constitute fair representation...
Last edited by adamlau (2017-02-02 07:15:26)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
As Trilby said, that is a huge improvement. I was fully expecting it to weigh in closer to half a gig just for the download...
qutebrowser is quite nice. More that what I am used to, but perhaps that is inevitable.
Offline
So I looked at Lariza, no hinting. Scratched. The new port of surf didn't make it for the certificate issue. qute means QT, so that won't work for me.
Might have to go (back) to Uzbl for a look.
What do you mean by "no hinting"? Is that related with fonts??
I am using lariza as my main browser quite happily, without much issue. If you are not aware git version of lariza includes ability to forward links ( open-link-with external-program). It is like "alt+x" - opens current url with script "lariza-external-handler", or url can be selected with right click and opened with "lariza-external-handler". You need to create that script in your path, and you can open url with another_browser/curl/wget/mpv/youtube-dl/transmission/bookmarkmanager/passwordmanager or anything else you can thinkof.
Arch is home!
https://github.com/Docbroke
Offline
No, hinting is mouseless selection of links. That's a non-negotiable for me.
Offline
@adamlau, that is quite a bit indeed. I have a very light and otherwise toolkit free system other than for qutebrowser - but to be fair a vast majority of those dependencies that you'd pull in for qutebrowser would also be pulled in for any gtk browser (or even for ghostscript which requires libcups el al - I have most of those listed already installed because I do use gs). Given this thread is looking for replacements for webkitgtk claiming that all those dependencies would need to be installed for qutebrowser is a bit disingenous. Id wager quite a bit that if the webbrowser is the only thing requiring toolkit dependencies replacing all the webkitgtk2 with qtwebengine would be a substantial reduction in the number and total size of dependencies. I'd wager a great bit more if one was comparing webkitgtk (which is the subject of this thread) as that depends on gtk3 which is an enormous beast.
So yes, qutebrowser in X11 requires a lot of dependencies over using w3m in a tty - but that's just not a real comparison. Qutebrowser in X11 requires far fewer dependencies that any webkitgtk(3) browser.
EDIT: actually, looking at what else requires those packages in your list, I find it very hard to believe that that was even an honest test as 1/3 of those are required by webkitgtk as well.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Fair enough. No GTK2/GTK3/Qt5 toolkits installed:
# pacman -U lariza-16.12-1-x86_64.pkg.tar.xz; pacman -S webkit2gtk
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (62) adwaita-icon-theme-3.22.0+1+g58cd459e-1 aspell-0.60.6.1-5 at-spi2-atk-2.22.0-1
at-spi2-core-2.22.0-1 atk-2.22+1+gd57f97d-1 avahi-0.6.32-3 cairo-1.14.8-1 damageproto-1.2.1-3
dbus-glib-0.108-1 dconf-0.26.0-2 desktop-file-utils-0.23-1 enchant-1.6.0-10 gdk-pixbuf2-2.36.4-1
geoclue2-2.4.5-1 giflib-5.1.4-1 glib-networking-2.50.0-1
gsettings-desktop-schemas-3.22.0+1+g6f52ab5-1 gst-plugins-base-libs-1.10.2-1 gstreamer-1.10.2-1
gtk-update-icon-cache-3.22.7-2 gtk3-3.22.7-2 harfbuzz-icu-1.4.2-1 hicolor-icon-theme-0.15-1
hspell-1.3-1 hunspell-1.5.4-1 hyphen-2.8.8-1 icu-58.2-1 jasper-2.0.10-1 keyutils-1.5.9-1
krb5-1.13.7-1 libcroco-0.6.11-1 libdaemon-0.14-3 libdatrie-0.2.10-1 libldap-2.4.44-3
libmm-glib-1.6.4-1 libnotify-0.7.7-1 libproxy-0.4.13-2 librsvg-2:2.40.16-1 libsasl-2.1.26-8
libsecret-0.18.5-1 libsoup-2.56.0-1 libthai-0.1.26-1 libtiff-4.0.7-2 libunwind-1.1-3
libvoikko-4.0.2-2 libwebp-0.5.2-1 libxdamage-1.1.4-2 libxinerama-1.1.3-2 libxkbcommon-0.7.1-1
libxslt-1.1.29+23+geb1030d-1 libxtst-1.2.3-1 libxv-1.0.11-1 lzo-2.09-1 orc-0.4.26-1
pango-1.40.3-2 recordproto-1.14.2-2 videoproto-2.3.3-1 wayland-1.12.0-1 wayland-protocols-1.7-1
webkit2gtk-2.14.3-1 xineramaproto-1.2.1-3 lariza-16.12-1
Total Download Size: 63.54 MiB
Total Installed Size: 320.46 MiB
:: Proceed with installation? [Y/n] n
# pacman -S qutebrowser
resolving dependencies...
looking for conflicting packages...
Packages (66) avahi-0.6.32-3 cairo-1.14.8-1 cdparanoia-10.2-5 desktop-file-utils-0.23-1 giflib-5.1.4-1
gst-plugins-base-1.10.2-1 gst-plugins-base-libs-1.10.2-1 gstreamer-1.10.2-1
hicolor-icon-theme-0.15-1 icu-58.2-1 keyutils-1.5.9-1 krb5-1.13.7-1 libcups-2.2.2-2
libdaemon-0.14-3 libdatrie-0.2.10-1 libgudev-230-1 libinput-1.6.0-1 libldap-2.4.44-3
libogg-1.3.2-1 libproxy-0.4.13-2 libsasl-2.1.26-8 libthai-0.1.26-1 libtheora-1.1.1-3
libtiff-4.0.7-2 libunwind-1.1-3 libusb-1.0.21-1 libvisual-0.4.0-6 libvorbis-1.3.5-1
libwacom-0.22-1 libwebp-0.5.2-1 libxkbcommon-0.7.1-1 libxkbcommon-x11-0.7.1-1
libxslt-1.1.29+23+geb1030d-1 libxv-1.0.11-1 lzo-2.09-1 opus-1.1.4-1 orc-0.4.26-1 pango-1.40.3-2
pyqt5-common-5.7.1-3 python-3.6.0-2 python-appdirs-1.4.0-5 python-jinja-2.9.5-1
python-markupsafe-0.23-4 python-packaging-16.8-2 python-pygments-2.2.0-1 python-pyparsing-2.1.10-2
python-pypeg2-2.15.2-2 python-pyqt5-5.7.1-3 python-setuptools-1:34.1.0-1 python-sip-4.19-1
python-six-1.10.0-3 python-yaml-3.12-2 qt5-base-5.8.0-2 qt5-declarative-5.8.0-1
qt5-location-5.8.0-1 qt5-sensors-5.8.0-1 qt5-webchannel-5.8.0-1 qt5-webkit-5.8.0-1
qt5-xmlpatterns-5.8.0-1 sip-4.19-1 tslib-1.3-1 videoproto-2.3.3-1 xcb-util-image-0.4.0-1
xcb-util-renderutil-0.3.9-1 xdg-utils-1.1.1-5 qutebrowser-0.9.1-3
Total Download Size: 69.13 MiB
Total Installed Size: 396.70 MiB
:: Proceed with installation? [Y/n] n
But let not this thread devolve into GTK vs. Qt. FWIW, I have both toolkits installed on most of my boxes.
No, hinting is mouseless selection of links. That's a non-negotiable for me.
You can always tab through and hit Enter to follow links in Lariza . In terms of minimalism, what is interesting is qupzilla...
# pacman -S qupzilla
resolving dependencies...
looking for conflicting packages...
Packages (37) avahi-0.6.32-3 hunspell-1.5.4-1 icu-58.2-1 keyutils-1.5.9-1 krb5-1.13.7-1 libcups-2.2.2-2
libdaemon-0.14-3 libgudev-230-1 libinput-1.6.0-1 libldap-2.4.44-3 libproxy-0.4.13-2
libsasl-2.1.26-8 libsrtp-1:1.5.4-1 libtiff-4.0.7-2 libusb-1.0.21-1 libvpx-1.6.1-1
libwacom-0.22-1 libxkbcommon-0.7.1-1 libxkbcommon-x11-0.7.1-1 libxslt-1.1.29+23+geb1030d-1
minizip-1:1.2.11-1 nspr-4.13.1-1 nss-3.28.1-1 pciutils-3.5.2-1 protobuf-3.1.0-1 qt5-base-5.8.0-2
qt5-declarative-5.8.0-1 qt5-location-5.8.0-1 qt5-webchannel-5.8.0-1 qt5-webengine-5.8.0-1
qt5-x11extras-5.8.0-1 qt5-xmlpatterns-5.8.0-1 snappy-1.1.3-2 tslib-1.3-1 xcb-util-image-0.4.0-1
xcb-util-renderutil-0.3.9-1 qupzilla-2.0.2-1
Total Download Size: 48.96 MiB
Total Installed Size: 280.47 MiB
:: Proceed with installation? [Y/n] n
Last edited by adamlau (2017-02-02 07:22:53)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Thanks for the side by side comparison adamlau. That is much clearer evidence that qutebrowser is a bit heavier in terms of on-disk size of dependencies. But not by a whole lot. It may still be lighter in terms of resource use - and for me much lighter in terms of annoyance as it doesn't spawn the gtk3-related daemons that don't exit with the program that triggered their start.
I certainly didn't mean to send this in a gtk vs qt direction. But a reasonable comparision is definitely relevant in the search for alternatives to webkitgtk if qtwebengine is one of the possible alternatives.
---
mod note: I've just split a misunderstanding related tangent to here:
https://bbs.archlinux.org/viewtopic.php?id=222660
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
There is always the roll your own option.
I started on that a while back, then I decided I liked QtWebkit better.
Simple example for Gtk3 WebKit2
#! /usr/bin/env python
import sys, gi
gi.require_version('Gtk', '3.0')
gi.require_version('WebKit2', '4.0')
from gi.repository import Gtk, WebKit2
agent = 'Mozilla/5.0 (Windows NT 6.2; x86_64; rv:48.0) Gecko/20100101 Firefox/51.0'
class Browser(Gtk.Window):
def __init__(self, url):
super(Browser, self).__init__()
self.set_title('Gtk3 WebKit2 Browser')
self.view = WebKit2.WebView()
self.view.load_uri(url)
self.view.set_size_request(800, 800)
self.view.settings = self.view.get_settings()
self.view.settings.set_property("enable-developer-extras", True)
self.view.settings.set_property('user-agent', (agent))
self.view.settings.set_property("auto-load-images", True)
self.view.settings.set_property("enable-javascript", True)
self.view.settings.set_property("default-font-size",20)
self.view.settings.set_property("default-monospace-font-size", 20)
self.view.settings.set_property("minimum-font-size", 18)
self.inspector = self.view.get_inspector()
self.add(self.view)
self.inspector.show()
self.show_all()
if __name__ == "__main__":
Gtk.init(sys.argv)
if len(sys.argv) > 1:
url = (sys.argv[1])
else:
url = input('Enter url: ')
win = Browser(url)
win.connect("destroy", Gtk.main_quit)
Gtk.main()
Offline
If you do try out qutebrowser there are two things to note.
1) There is a migration of qtwekbit -> qtwebengine backend. Most features that were available in qtwebkit are not fully available in qtwebengine. Hence, #2 below.
2) Use qutebrowser-git from AUR as this is a very active project.
Offline
Pages: 1