pg3Browser, Nano WEB Browser pg3Browser - Nano Web Browser for the Linux Desktop

A quick and dirty Web Browser with Gtk3, Gtk3::WebKit and WebKit.
Why ?
My Graphic Program GraphicMaiJi is using the UZBL Browser for Previews.
The next generation of Debian throws it from the repository.
I found no lightweight Browser like UZBL, so i wrote my own.
pg3Browser is a minimalistic browser without gimmicks, especially for Web Developers and Previews.
pg3Browser stands for Perl Gtk3 Browser.

Jörg Döhring


WebKit Engine like Chrome, Chromium, Opera ...
Minimalistic browser GUI, no gimmicks just browsing.
Simple application.
Quick startup.
GPU Acceleration and WebGL switchable on/off.
Back, Forward and History Buttons, URI Entry.
Storable History of the last 100 Links.
URI Entry for global and local sites or files and Google Search.
GUI or Console usage.
Some keyboard shortcuts.
Multiple instances allowed.
Depends on Perl >= 5.14 and Perl/Gtk3, recommended Perl 5.28.

Perlcritic -3 inspected.

Freeware, Open-source.


02. Dec. 2017 - Added .. Automatically storable history of the last 100 Links/URLs, saved on exit. Some improvements.
04. Dec. 2017 - Added .. Switchable GPU Acceleration and WebGL for older hardware, default both off, state saved on exit.


URL → http(s)://domain.xy → URL is starting with or without http:// e.g. '' or ''.
Local file → /data/photo.jpg → Local file or directory is starting with a Slash or file:// e.g. '/data/pics/tux.jpg' or 'file:///data/pics/tux.jpg'
Google Search → Type anything you are searching for.
Keyboard Shortcuts:
ctrl b → Go Back
ctrl f → Go Forward
ctrl r → Reload
ctrl x → Clear Entry
ctrl h → Help/About
ctrl k → Kill History
ctrl s → WebGL + GPU Acceleration ON/OFF, default OFF
Alt F4 → Quit
Type ...
pg3browser URL → http(s)://domain.xy → e.g. 'pg3browser' or 'pg3browser'
pg3browser -h → Help
pg3browser -g 800x600 URL → e.g. 'pg3browser -g 800x600'
pg3browser -g 800x600+50+40 URL → WxH+X+Y
pg3browser /data/photo.jpg → Local file or directory is starting with a Slash or file://
pg3browser Google_Searchstring → e.g. 'pg3browser jeydee'


The Easy Debian Package Way for all Debian based distributions like Debian, Ubuntu, Mint etc.

Download the file.
Unpack the .zip file.
Open a console and change to the install_pg3browser directory. → cd install_pg3browser ↵
Read the instructions of the 00_Readme_First.txt file and follow them. → less 00* ↵

On Debian/Linux become root with su
and type:

bash ./01install_deb_pg3browser.bash

or on Ubuntu/Mint etc.

sudo bash ./01install_deb_pg3browser.bash

Important: Type 'bash' and not 'sh', because 'sh' is 'dash' on Debian. Dash is a subset of Bash.

That's it.
Now, start the Browser with 'pg3browser' or under the menu section Network/Internet.
Or start the Browser with your favorite page e.g 'pg3browser',
or with a specific geometry and page e.g. 'pg3browser -g 1400x800',
or with a local file e.g. 'pg3browser -g 1024x768 /data/develop/test.html'.

The Hard Way for all other linux/unix distributions.

Install the following Distribution Packages in this Order if it is not there.
Install libautodie-perl
Install libgtk3-perl   ... this is the Perl Gtk3 Wrapper
Install libglib-object-introspection-perl
Install libtest-needsdisplay-perl
Install gir1.2-webkit-3.0
Install libgtk3-webkit-perl   ... if it is present

The Harder Way if one or more of the Perl Packages not present in your distribution.

Open a console, become root with su or type with sudo and install via CPAN.
Install with cpan -i or cpanm if there or via the Perl shell like this:
perl -MCPAN -e shell ↵
Inside the perl shell type .. for the missing Perl Modules.
install autodie ↵
install Gtk3 ↵
install Glib::Object::Introspection ↵
install Test::NeedsDisplay ↵
install Gtk3::WebKit ↵
quit ↵

Copy the downloaded file after unpacking 'pg3browser' to /usr/local/bin. → cp pg3browser /usr/local/bin ↵
and → chmod 0755 /usr/local/bin/pg3browser ↵
Or copy to /usr/local/sbin or /usr/bin
If you want a menu entry, copy pg3browser.desktop to /usr/share/applications if there.
→ cp pg3browser.desktop /usr/share/applications ↵
That's it.
Now, start the Browser with 'pg3browser'
Or start the Browser with your favorite page e.g. 'pg3browser',
or with a specific geometry and page e.g. 'pg3browser -g 1400x800'.


  Installer for Debian / Ubuntu / Mint     MD5 Checksum: 4c869d172ba53273c7d27912f9103d29 ..   4. Dec. 2017
  pg3browser for manual installation     MD5 Checksum: 2d3ed9dfb0f5231ea06178da8ce80229 ..   4. Dec. 2017

Back, Counter
since 20. Oct. 2017
Sende eine Nachricht / send an email
modified: 4. Feb. 2020