LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-12-2017, 09:31 PM   #1
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Rep: Reputation: 179Reputation: 179
QupZilla and BLFS


I'm still trying out web browsers, and this is one I wanted to post something about. I like it. QupZilla is a light-ish-weight browser, but it has really good looks and considerable customizations via menu options. It has a built-in ad blocker and a little collection of extensions. Bookmarks can be imported from other browsers or an HTML file. QupZilla renders web pages the way they should look and has not crashed on me yet. All the AV codecs and formats are working. QupZilla is in the BLFS book and is easy to compile and install.

QupZilla is actively maintained, and the developer recently announced that QupZilla will be moving to KDE and changing its name to Falkon. He also said the project will remain basically the same and not have hard KDE dependencies. I hope to continue on with it as Falkon by itself.

QupZilla runs in front of QtWebEngine which is now also in the BLFS book and easy to compile and install. QtWebEngine is also part of the big qt-everywhere package, but the BLFS book suppresses it from being built in the Qt instructions and deals with QtWebEngine separately. This is probably a good idea since building Qt with QtWebEngine takes a very long time (I did that once). People who aren't interested in QtWebEngine can be spared that agony while QtWebEngine by itself can be added to an existing system with Qt in a reasonable amount of time for a big thing like that. I had to configure QtWebEngine to use its proprietary codecs to get all the AV formats playing. A flash player seems to be built in.

Last edited by stoat; 12-14-2017 at 10:11 PM.
 
Old 12-13-2017, 10:05 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,618

Rep: Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659
Nice to know, I try a new browser every so often as chromium is really resource hungry and liable to crashing.
 
1 members found this post helpful.
Old 12-14-2017, 04:31 PM   #3
bryan_S
LQ Newbie
 
Registered: Aug 2014
Location: Florida US
Distribution: Linux-from-Scratch, Kaos/Arch
Posts: 11

Rep: Reputation: Disabled
I'm still using the webkit based version of Qupzilla (v. 1.8.9) on my recent LFS 8.1 installation. It works great - love it for browsing web pages stored locally on my system. Don't really use it much for the 'Web' at large. For that I use Seamonkey or Chromium. Someday I'll upgrade it - but not today.
 
1 members found this post helpful.
Old 12-14-2017, 10:10 PM   #4
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
Documenting and passing along some things I've learned or figured out...

1. Printing web pages: The "File -> Print" menu option did nothing. Upgrading to Qt-5.9.3, QtWebEngine-5.9.3, and QupZilla-2.2.2 fixed that.

2. Bookmark icons missing: Newly visited sites could be bookmarked and have their icon appear in the bookmarks menu. But my existing bookmarks that were imported did not have their icons in the bookmarks menus (just the default one which is a globe in QupZilla). Visiting the site might or might not make the icon appear in the bookmark menu.

Turns out that many of my imported bookmarks are old. They might still work, but nowadays they might not match exactly what appears in the URL navigation box when visiting the site. In the "Organize Bookmarks" applet, I edited stored URLs to match the ones being shown in the URL navigation box. Then the icon diplayed up in the URL navigation box appeared in the organize applet and in the bookmarks menu.

Also, when exporting QupZilla bookmarks, the file ~/.config/qupzilla/profiles/default/browsedata.db should be backed up because that is where all that bookmark icon business is stored. If QupZilla is reinstalled or moved, then import the saved bookmarks as usual and copy browsedata.db to the new profile and everything will be right.

Last edited by stoat; 12-16-2017 at 08:35 PM.
 
Old 12-15-2017, 06:45 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,618

Rep: Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659
Well I installed Qupzilla and though it seemed to work fine, imported bookmarks etc, qt5's menu handling is still bloody awful! I use a dual head system with the second smaller monitor above the main one, and qt insists on popping menus up instead of down so the menu is on the top monitor even though the browser is on the bottom, making any menus with more than a handful of entries virtually impossible to use, also it's visually disconcerting to have menus pop up on a different monitor, so though the browser seems fine and quite snappy, uninistalling it cos of qt5.

Thanks for the info though.
 
1 members found this post helpful.
Old 12-15-2017, 09:12 AM   #6
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
Too bad QupZilla didn't work out for you. Anyway thank you for trying it and at least exposing a defect. Overall and so far, I like QupZilla the best of all those "light-weight" browsers I have compiled and tried. But when I think about it, I guess, QupZilla can't really be called light-weight when it requires a backend monster like QtWebEngine that nothing else in the BLFS book needs. I always install Qt anyway and adding QtWebEngine wasn't a deal breaker for me if the browser lived up to expections. I still like the browser enough to continue working with it for a while.

I guess I shouldn't set expections too high when trying out small projects. I still use Vivaldi in the meantime and think it's the best browser I have ever used of any size, but I can't compile it myself. And the project devs don't seem to be too confident about keeping the 32-bit binaries (which I need) available for long.

Last edited by stoat; 12-15-2017 at 10:09 PM.
 
Old 12-15-2017, 10:16 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,618

Rep: Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659
It's a shame really as I would like to switch all my apps to qt from gtk but the whole menu thing and lack of any really good way of running a single instance app, means I'll have to wait, I always install qt anyway just hoping it will improve as the years go by
 
Old 12-22-2017, 01:51 PM   #8
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
3. Spel chekker werks: Just a little joke there. Anyway the QupZilla wiki explains how to get that going.

P.S.: I've upgraded Qt, QtWebEngine, and QupZilla to their latest versions. Things are getting better. A few small annoyances remain mostly related to printing. Crashes can still happen but not often. Overall, I still like this browser.
 
Old 12-25-2017, 10:41 AM   #9
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
4. WEBENGINE_CONFIG was discontinued: It was a way to pass configure options for things such as "use_proprietary_codecs" via the qmake command when building QtWebEngine alone. I discovered in the Qt changelog (and the harder way) that the newest versions of Qt have dropped that. However, when building QtWebEngine with Qt, configure options for QtWebEngine can be passed in the usual way via the configure command for Qt.
 
Old 01-04-2018, 05:07 PM   #10
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Linux From Scratch, Bedrock, Gentoo
Posts: 287
Blog Entries: 41

Rep: Reputation: 12
This looks of interest. I did some research and it appears that one would need to have PulseAudio in order for it to build?
 
Old 01-04-2018, 08:32 PM   #11
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by jr_bob_dobbs

I did some research and it appears that one would need to have PulseAudio in order for it to build?
PulseAudio is listed in configure help as "auto". I installed and use QupZilla without having PulseAudio installed.

__________________________

I will use this post to give an update and kind of a wrap-up to my QupZilla experience. Recapping first, I started all this looking for a simple browser that I could compile myself on a 32-bit system that I need for specific purposes. I installed and tried many of them. Something was always wrong with each one. To be fair, I never tried hard to fix those and just moved on. QupZilla was the first one that I tried that looked really good and worked well (IMO, of course). A few issues and problems have been discussed already above. Of those, they either didn't affect me or I worked them out. Except for one: crashing and locking up when things got busy. With several apps running alongside QupZilla and/or opening one of QupZilla's widgets such as "Organize Bookmarks", it could lock up. It bugged me enough to abandon it for a while.

That 32-bit BLFS system was running on hardware with an Intel dual core CPU and 4 GB RAM. I liked QupZilla enough to try it in a 64-bit BLFS system once again on hardware with a dual core CPU but 8 GB RAM. The difference was noticeable. I have been using that QupZilla build every day for about a week, and I don't remember it ever crashing.

So in closing, I still haven't got the simple browser for my 32-bit system, but I like QupZilla in the 64-bit system. And it should be remembered that even though QupZilla is called a "light-weight" browser, it requires QtWebEngine behind it. Compiling Qt with QtWebEngine takes a long, long time. For me, it was about 11 hours. I don't use parallel build, and I have only two cores anyway. I usually start big things like that going (usually scripts) and leave until they’re done, often the next day.
__________________________

P.S.: I'm currently using Qt-5.10.0 and QupZilla-2.2.3. An important thing to remember about all this is that new versions of Qt no longer allow WEBENGINE_CONFIG for configuring QtWebEngine when it is built separate from Qt (like the BLFS book does). See post #9 above about this. Maybe it is possible to edit something manually in the build directory of the new version of QtWebEngine and accomplish that; but I don't know how. So to get HTML5/H.264/MP4 video to play in QupZilla, I had to build QtWebEngine while building Qt in order to pass the "use-proprietary-codecs" config option. In other words, remove the "skip qtwebengine" option for Qt in the BLFS book and add the config options for QtWebEngine (see Qt configure help for the options and syntax). And that is what takes a long time. I didn't do that arbitrarily.

Last edited by stoat; 01-05-2018 at 08:59 AM.
 
1 members found this post helpful.
Old 03-16-2018, 10:06 AM   #12
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Linux From Scratch, Bedrock, Gentoo
Posts: 287
Blog Entries: 41

Rep: Reputation: 12
Quote:
Originally Posted by stoat View Post
PulseAudio is listed in configure help as "auto". I installed and use QupZilla without having PulseAudio installed.
Confirmed. Verified. I was able to install it without Pulseaudio in my BLFS 8.1 system. It runs fine. Yay! Thank you.

note: for those doing a destdir install, you'll need to use install_root instead:
Code:
make INSTALL_ROOT=<whereever you're packing it up from> install

Last edited by jr_bob_dobbs; 03-16-2018 at 10:07 AM.
 
Old 08-10-2018, 07:03 AM   #13
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,618

Rep: Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659
As I'm building a new system thought I would give qupzilla another try, the menu problems seem to be fixed so the pop down on the correct monitor, don't know if this is a qupzilla or qt5 fix but at least qupzilla is now usable, first showing of dialog boxes still pop up on the wrong monitor but susequent times appear in the right place.

Using versions:
qt5-5.10.1
QupZilla-2.2.5
qtwebengine-5.10.1

All add blockers are broken on chromium-64.0.3282.186 ( BLFS version ) but are working on Qupzilla so will stick with it for a while and see how it goes.
 
Old 08-14-2018, 10:10 AM   #14
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 614

Original Poster
Rep: Reputation: 179Reputation: 179
You convinced me to build QupZilla again. I sort of drifted away from it mostly because of the crashes-when-busy issue that I mentioned before. I like everything about QupZilla except for that. I first tried to build and install the latest Falkon version of it, but ran into some KDE requirements that I didn't want to spend time on.

I already had Qt-5.10.1 installed, so I only had to install QtWebEngine first. For anybody following or interested, for QupZilla to have access to the codecs for HTML5/MP4/H.264 video, it has to be built with -webengine-proprietary-codecs enabled. That's easy to do if Qt5 and QtWebEngine are built together. It's less clear how to do that if QtWebEngine is built separately as the BLFS book does it. Here is how I installed QtWebEngine after Qt5 had already been installed...
Code:
mkdir build
cd    build

qmake  ../ -- -webengine-ffmpeg \
              -webengine-opus   \
              -webengine-webp   \
              -webengine-proprietary-codecs
make
sudo make install

sudo find $QT5DIR/ -name \*.prl -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
Also worth knowing about is that QupZilla expects XDG_RUNTIME_DIR to be set when it starts, otherwise it emits an error message and uses a default. Create a file for /etc/profile.d to set XDG_RUNTIME_DIR and avoid the message.
Code:
sudo tee /etc/profile.d/qupzilla.sh << "EOF"
# Begin /etc/profile.d/qupzilla.sh

XDG_RUNTIME_DIR=/tmp/runtime-boo
mkdir -m 700 -p $XDG_RUNTIME_DIR
export XDG_RUNTIME_DIR

# End /etc/profile.d/qupzilla.sh
EOF
And spell checking is available in QupZilla, but dictionaries need to be in the format that Chromium uses (with file extension .bdic). QtWebEngine comes with a utility to convert Hunspell dictionaries (.dic) to that format. The created .bdic dictionary file needs to be in one of the directories shown in the Preferences widget of QupZilla. Here is how I setup the spell checker for QupZilla...
Code:
sudo mkdir -pv /opt/qt5/qtwebengine_dictionaries
sudo /opt/qt5/bin/qwebengine_convert_dict                    \
     /usr/lib/libreoffice/share/extensions/dict-en/en_US.dic \
     /opt/qt5/qtwebengine_dictionaries/en-US.bdic
sudo chmod 644 /opt/qt5/qtwebengine_dictionaries/en-US.bdic
So now let's see how this goes this time.

P.S.: I've been using Vivaldi as my web browser. It's a Chromium-based Opera-ish browser. Virtually perfect IMO. But now that Google, et.al., have nominated and elected themselves to be the Internet Thought Police Gestapo, I'm looking for ways to purge my life of all their stuff. I deleted my Gmail account immediately. I never had a smartphone. I had a Facebook account for about ten minutes a long time ago. No Twitter. No Instagram. No Google searches. I don't want an image of a Google or Apple or Twitter logo to form on my retinas ever again if I can possibly make it so.

Last edited by stoat; 08-14-2018 at 10:21 AM.
 
1 members found this post helpful.
Old 08-14-2018, 10:41 AM   #15
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,618

Rep: Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659Reputation: 659
thanks for this again! I didn't realize about the codec's I had noticed that falkon wasn't playing h264 vids, I will have a look at my webengine build again ( it takes about 15 hours to build! so I don't like to change it to often.so far Falkon has been pretty stable, set as my default browser for a couple of days now.
also the password auto fill seems to work MUCH better in falkon than in qupzilla, which is a bonus!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qupzilla-1.8.8 - many build errors debguy Linux - Software 1 12-03-2015 02:34 AM
[SOLVED] how to configure qupzilla? rubankumars Linux - Software 4 10-21-2015 01:13 AM
[SOLVED] how to save html with images in qupzilla? rubankumars Linux - Software 3 10-20-2015 04:36 PM
Try Qupzilla future_computer Linux - Software 2 03-23-2013 08:40 AM
LXer: Qupzilla ‚?? the Best Browser You‚??ve Never Heard of? LXer Syndicated Linux News 0 12-24-2011 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration