Difference between pages "Welcome" and "Web Browsers"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<div class="container"><div class="row"><div class="col-xs-12 col-md-8 col-lg-8">
Funtoo Linux offers a number of possibilities when it comes to Web browsers. This page is intended to give you an overview of what is available, their various trade-offs, and also provide tutorial-style instructions on how to set them up so they offer full functionality. Additionally, instructions are provided on how to set up the Oracle Java Runtime Environment for running Java applets.
{{Slideshow}}
Want to submit a screenshot? [http://forums.funtoo.org/index.php?/topic/180-screenshots/ See here.]
</div><div class="col-xs-12 col-md-4 col-lg-4">
'''Funtoo Linux''' is a Linux-based operating system that is a variant of [http://www.gentoo.org Gentoo Linux], led by [[User:Drobbins|Daniel Robbins]], the creator and former Chief Architect of [http://en.wikipedia.org/wiki/Gentoo_Linux Gentoo Linux], who serves as benevolent dictator for life (BDFL) of the project. Project priorities include focusing on developing production-ready technology, finding creative solutions to problems, and most importantly, creating a fun, user-centric community for all.


<div class="bs-callout bs-callout-warning">
==== Prerequisites ====
[[Support Funtoo]] to help us grow! '''Donate $15 per month and get a free [[Funtoo Hosting|Funtoo Virtual Container]].'''
</div>


=== News ===
Before installing a Web browser, ensure that you have a functioning X environment or desktop environment set up.
{{NewsList|1}}
</div>
</div><div class="row">
<div class="col-xs-12 col-md-4 col-lg-4">
=== Resources ===
__NOTOC__
'''View the [[Funtoo Linux FAQ]] for answers to common questions.'''


{{#ask: [[Category:People]] [[Gravatar MD5::+]]
== Google Chrome (binary) ==
| limit=22
| order=random
| format=template
| template=GravatarDisplay
| link=none
| searchlabel=
}}


Join us - {{CreateAccount}}, and then add yourself to our [[Usermap]]!
The Google Chrome (binary) ebuild is <tt>www-client/google-chrome</tt>. Google Chrome is a very good Web browser. This browser is a great option for those who want a full-featured browser up and running quickly without a lot of complication.


'''Our resources:''' -- also see the <code>Go</code> menu:
==== Advantages ====
* '''{{CreateAccount}}''' ([[Funtoo Authentication FAQ|Auth FAQ]])
* '''[http://forums.funtoo.org forums.funtoo.org]''' - our new forums!
* '''[http://bugs.funtoo.org bugs.funtoo.org]''', our bug tracker ([[Reporting Bugs|Instructions]]).
* [http://larrythecow.org larrythecow.org], Gentoo blog service.
* [http://kernel-seeds.org kernel-seeds.org], kernel build help.
* [http://git.funtoo.org git.funtoo.org], our cgit repository browser.
* '''[[Support Funtoo]]''' to help our project grow.
* '''[[Funtoo Hosting|Get a Funtoo Virtual Container]]'''.


'''Ebuild pages recently updated:''' {{#ask: [[Category:Ebuilds]]
* It's very fast to install, because it does not need to be built from source.
| order=descending
* It includes support for Adobe Flash and PDF viewing built-in, which works right away with no additional configuration.
| sort=Modification date
* It works well with [[PulseAudio]] with no additional configuration required.
| format=list
* Overall, the browser looks fantastic and is very fast.
| limit=10
| searchlabel=more...
}}
</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
=== Getting Started ===


We encourage you to '''[[Funtoo Linux Installation|install Funtoo Linux]]''', and get involved in our user community. Get to know fellow Funtoo Linux users on our '''[http://forums.funtoo.org forums]'''. If you have any improvements or find any bugs in Funtoo Linux, you are strongly encouraged to report them on our '''[http://bugs.funtoo.org bug tracker]'''. We take all bugs seriously, and all work performed on Funtoo Linux is tracked on our bug tracker, for purposes of transparency.
==== Disadvantages ====


Funtoo Linux has a very active [http://en.wikipedia.org/wiki/IRC IRC] community on Freenode, in the <code>#funtoo</code> channel, and you are encouraged to hang out online with us.
* It's based on a binary for Debian systems, and sometimes depends on outdated versions of ebuilds to run.
* The stable Google build of Google Chrome (<tt>www-client/google-chrome</tt>) has a bug where the text in the address bar "wiggles" as you type. This is fixed in later versions, but not in the reliable "stable" binary that Google is currently shipping. If you are a perfectionist, having a browser that is so close to perfect but with this one fatal flaw will gnaw on your soul until you replace it with something else (like Chromium with the classic theme.)


=== Expand the wiki! ===
=== Google Chrome Installation ===


The [[:Help:Funtoo_Editing_Guidelines | How to 'wiki']] will help get you started on wiki editing. Have a look at [[Requested-Documents]] and [[:Category:Needs_Updates | pages that need to be updated.]]
As root, you first need to accept the Google Chrome license, as follows:


See [[:Category:Ebuilds|Ebuilds]] for a list of all ebuild pages, and [[Adding an Ebuild to the Wiki]] for information on how to add one.
<console>
# ##i##emerge google-chrome --autounmask-write
</console>


</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
Now, run <tt>etc-update</tt> and accept the changes made to <tt>/etc/portage/package.license</tt>. Now, emerge:
=== Distinctives ===


Funtoo Linux packages are installed from source code, automatically, thanks to the [http://en.wikipedia.org/wiki/Portage_(software) Portage ports system], inspired by the FreeBSD ports system, but written in Python and with full advanced package management functionality. Funtoo Linux is a meta-distribution, which means it is built (fully automatically) with the functionality and optimizations that ''you'' want, not what some distro maintainer thought was best for you.
<console>
# ##i##emerge -a google-chrome
</console>


We use [http://en.wikipedia.org/wiki/Git_(software) Git] for all our development, and we also use Git to deliver our ports tree to you.
== Chromium ==


In contrast to Gentoo Linux, we offer a number of innovations, including our extensive use of git, [[Funtoo 1.0 Profile|our profile system]], [[Package:Boot-Update|boot-update]] boot management tool, our incredibly flexible [[Funtoo Linux Networking|template-based networking scripts]], [[Metro Quick Start Tutorial|Metro]] distribution build system, support of Debian, RHEL and other kernels, [[Creating_Python-related_Ebuilds|enhanced Python support]], Portage mini-manifests, user-centric distribution model, and a large number of community infrastructure improvements.
Chromium (<tt>www-client/chromium</tt>) is the from-source version of Google Chrome, and is a very good option for people who like Google Chrome but who want to build from source. Like most modern Web browsers, it does take a '''very long''' time to build -- up to ''several hours'' on a dual-core system, and about an hour on a 4-6 core system.  
</div></div></div>


__NOTITLE__
After emerging, it requires a special helper package <tt>www-plugins/chrome-binary-plugins</tt> for Adobe Flash as well as PDF viewing support.
__NOEDITSECTION__
{{#subobject:|slideIndex=0|slideCaption=
== [[User:Drobbins|drobbins]] ==


[[GNOME First Steps|GNOME 3.12]]
==== Advantages ====
([[Funtoo_Linux_FAQ#Do_you_support_systemd.3F|without systemd]], because that's how we roll.)


Note: Badgers optional.
* It is built from source, so it has fewer issues with dependencies than Google Chrome, yet it is very similar in functionality.
|slideImage=File:gnome3122.jpg|slideLink=GNOME First Steps}}
* It looks great, and works well.
{{#subobject:|slideIndex=1|slideCaption=
* With an easy emerge of <tt>www-plugins/chrome-binary-plugins</tt>, it provides identical functionality to Chrome in regards to Adobe Flash and PDF support.
== [[User:Anak1n|anak1n]] ==


flux box
==== Disadvantages ====
|slideImage=File:fluxbox-09.02.14.jpg}}
{{#subobject:|slideIndex=2|slideCaption=
== spectromas ==


[[Package:Awesome_(Window_Manager)|Awesome WM]]
* It takes a very long time to build, even on a modern system, so be prepared to wait.
|slideImage=File:awesome.jpg|slideLink=Package:Awesome (Window Manager)}}
{{#subobject:|slideIndex=3|slideCaption=
== [[User:Anak1n|anak1n]] ==


KDE
=== Installing Chromium ===
|slideImage=File:anak1n-kde.jpg}}
 
To install Chromium, you will need to enable the <tt>minizip</tt> USE flag for <tt>sys-libs/zlib</tt>, and I also recommend enabling <tt>aura</tt> for Chromium itself, which is a new GPU-accelerated architecture. Add the following lines to  <tt>/etc/portage/package.use</tt>:
 
<pre>
sys-libs/zlib minizip
www-client/chromium aura
</pre>
 
Okay, now it's time to emerge Chromium:
 
<console>
# ##i## emerge -a www-client/chromium
</console>
 
This will take a long time to complete. After you're done, emerge Chrome helper programs to enable Adobe Flash and PDF viewing support. First, review and accept the license:
 
<console>
# ##i##emerge www-plugins/chrome-binary-plugins --autounmask-write
</console>
 
Now, run <tt>etc-update</tt> and accept the changes that it made to <tt>/etc/portage/package.license</tt>. Now, emerge the plugins for real:
 
<console>
# ##i##emerge www-plugins/chrome-binary-plugins
</console>
 
=== Making Chromium Look Sexier ===
 
If you like the default "blue" look of Chrome, and want Chromium to look like that, go to the "3 bar" menu in the upper right, go to '''Settings''', and under '''Appearance''', click  '''Use Classic theme'''. Flash some gang signs to imaginary onlookers, and you are done.
 
== Firefox (binary) ==
 
The Firefox binary Web browser, <tt>www-client/firefox-bin</tt> is another good option. It is more feature-rich as opposed to the "lean and mean" Chrome/Chromium.
 
==== Advantages ====
 
* Firefox is a great, full-featured Web browser.
* It is quick to install, because it is a binary.
 
==== Disadvantages ====
 
* It works well with [[ALSA]] by default, but requires tweaks to get working with [[PulseAudio]].
* A separate merge of <tt>www-plugins/adobe-flash</tt> is required for Adobe Flash support.
 
=== Installing Firefox ===
 
First, emerge Firefox itself. This is quick:
 
<console>
# ##i## emerge www-client/firefox-bin
</console>
 
By default, Firefox does not support Adobe Flash. Let's fix this:
 
<console>
# ##i## emerge www-plugins/adobe-flash --autounmask-write
</console>
 
Now, run <tt>etc-update</tt> and accept the changes that Portage made to <tt>/etc/portage/package.license</tt>. Now, let's get Flash installed:
 
<console>
# ##i## emerge www-plugins/adobe-flash
</console>
 
Firefox is now installed!
 
=== Firefox and Audio ===
 
{{Note|This doesn't seem to be required anymore with Firefox and recent versions of PulseAudio, which can use an ALSA sink to funnel audio automagically into PulseAudio.}}
 
By default, Firefox will try to use an ALSA device for audio. To get Firefox to use PulseAudio, create an <tt>.asoundrc</tt> file in your Firefox user's home directory that looks like this:
 
<pre>
pcm.!default
{    type pulse
    hint.description "Default Audio Device"
}
ctl.!default {
    type pulse
}
</pre>
 
This will route ALSA to PulseAudio by default -- I believe you may need to restart your X session to get these changes to apply.
 
I also recommend emerging <tt>media-sound/pavucontrol</tt> -- the PulseAudio Volume Control app. Some casual tweaking in here to set the output device for Firefox should result in audio working for you.
<!--
== dwb - a webkit browser ==
 
The dwb Web browser, <tt>www-client/dwb</tt>, is one of the minimal browsers utilizing webkit-gtk and gtk+. It can be operated by vim-style keyboard shortcuts.
 
==== Advantages ====
 
* very clean interface with maxed-out screen estate for the actual website content
* plugin system for forms, userscripts, adblock, speeddial etc.
* vim-style control
* choose between gtk2 and gtk3 (useflag)
* configuration through web interface (setting: Ss; keyboard: Sk)
 
==== Disadvantages ====
 
* the webkit-gtk engine crashes occasionally
* takes long time to build webkit-gtk
* A separate merge of <tt>www-plugins/adobe-flash</tt> is required for Adobe Flash support.
 
=== Installing dwb ===
 
It is suggested to use www-client/dwb-9999 to stay ahead of development.
<console>
# ##i## echo "=www-client/dwb-9999 **" >> /etc/portage/package.keywords
# ##i## emerge www-client/dwb
</console>
 
By default, dwb does not support Adobe Flash. Let's fix this:
 
<console>
# ##i## emerge www-plugins/adobe-flash --autounmask-write
</console>
 
Now, run <tt>etc-update</tt> and accept the changes that Portage made to <tt>/etc/portage/package.license</tt>. Now, let's get Flash installed:
 
<console>
# ##i## emerge www-plugins/adobe-flash
</console>
 
dwb is now installed!
-->
 
== Oracle Java Runtime Environment ==
 
Enabling a Java Runtime Environment isn't a must-have for everyone, but it's nice to have installed in case you need it. And some of us have a need to run a Java app now and again, so let's look at getting it installed. It's quite easy to get going.
 
First, let's accept the Oracle Java SE License:
 
<console>
# ##i##emerge dev-java/oracle-jre-bin --autounmask-write
</console>
Now, run <tt>etc-update</tt> and accept the changes it made to <tt>/etc/portage/package.license</tt>. Now, let's emerge the Oracle JRE:
 
{{fancyimportant|1=
Please ensure that the <tt>nsplugin</tt> USE flag is enabled when you run <tt>emerge</tt>, below. This enables the Web browser plugin.}}
 
<console>
# ##i##emerge -a dev-java/oracle-jre-bin</console>
 
The Oracle JRE is now installed.
 
=== Running Java Applets ===
 
If your Web browser prompts you for an application to run <tt>.jnlp</tt> files, instruct it to use <tt>/opt/oracle-jre-bin-1.7.0.51/bin/javaws</tt> (also known as "Java Web Start".) You can also use <tt>javaws</tt> to run <tt>.jnlp</tt> files from an xterm.
 
=== Java and Security ===
 
Starting with Oracle JRE 1.7.0.51 and higher, Java has enhanced security settings and may refuse to run some Java applets. Normally, this is fine and good, unless you absolutely need to run an app and Java is refusing to run it. To get around this, open up an xterm as your browser user and go to the Java bin dir, and run <tt>ControlPanel</tt> as follows:
 
<console>
$ ##i##cd /opt/oracle-jre-bin-1.7.0.51/bin
$ ##i##./ControlPanel
</console>
 
Now, go to the '''Security''' tab and click the '''Edit Site List...''' button. Add a URL for the site from which you are downloading the Java Applet. Now click '''OK''' and save your changes, and try running the Java applet again. It should now be allowed to run.
 
=== "Java Not Allowed" in Chrome-Based Browsers ===
If you load a Web page with a Java applet on it, you may see a Java logo with text underneath that says "Java not allowed". To resolve this issue, visit the following URL in your browser:
 
<code>chrome://plugins</code>
 
This will display a list of all plugins enabled in Chrome. You should see a plugin called something like this:
 
<code>Java(TM) - Version: 10.45.2 </code>
 
<code>Next Generation Java Plug-in 10.45.2 for Mozilla browsers</code>
 
Check the "Always Enable" checkbox and then reload the page with the Java applet, and it should load properly.[[Category:First Steps]]
[[Category:Tutorial]]
[[Category:Desktop]]

Revision as of 06:01, October 25, 2014

Funtoo Linux offers a number of possibilities when it comes to Web browsers. This page is intended to give you an overview of what is available, their various trade-offs, and also provide tutorial-style instructions on how to set them up so they offer full functionality. Additionally, instructions are provided on how to set up the Oracle Java Runtime Environment for running Java applets.

Prerequisites

Before installing a Web browser, ensure that you have a functioning X environment or desktop environment set up.

Google Chrome (binary)

The Google Chrome (binary) ebuild is www-client/google-chrome. Google Chrome is a very good Web browser. This browser is a great option for those who want a full-featured browser up and running quickly without a lot of complication.

Advantages

  • It's very fast to install, because it does not need to be built from source.
  • It includes support for Adobe Flash and PDF viewing built-in, which works right away with no additional configuration.
  • It works well with PulseAudio with no additional configuration required.
  • Overall, the browser looks fantastic and is very fast.

Disadvantages

  • It's based on a binary for Debian systems, and sometimes depends on outdated versions of ebuilds to run.
  • The stable Google build of Google Chrome (www-client/google-chrome) has a bug where the text in the address bar "wiggles" as you type. This is fixed in later versions, but not in the reliable "stable" binary that Google is currently shipping. If you are a perfectionist, having a browser that is so close to perfect but with this one fatal flaw will gnaw on your soul until you replace it with something else (like Chromium with the classic theme.)

Google Chrome Installation

As root, you first need to accept the Google Chrome license, as follows:

root # emerge google-chrome --autounmask-write

Now, run etc-update and accept the changes made to /etc/portage/package.license. Now, emerge:

root # emerge -a google-chrome

Chromium

Chromium (www-client/chromium) is the from-source version of Google Chrome, and is a very good option for people who like Google Chrome but who want to build from source. Like most modern Web browsers, it does take a very long time to build -- up to several hours on a dual-core system, and about an hour on a 4-6 core system.

After emerging, it requires a special helper package www-plugins/chrome-binary-plugins for Adobe Flash as well as PDF viewing support.

Advantages

  • It is built from source, so it has fewer issues with dependencies than Google Chrome, yet it is very similar in functionality.
  • It looks great, and works well.
  • With an easy emerge of www-plugins/chrome-binary-plugins, it provides identical functionality to Chrome in regards to Adobe Flash and PDF support.

Disadvantages

  • It takes a very long time to build, even on a modern system, so be prepared to wait.

Installing Chromium

To install Chromium, you will need to enable the minizip USE flag for sys-libs/zlib, and I also recommend enabling aura for Chromium itself, which is a new GPU-accelerated architecture. Add the following lines to /etc/portage/package.use:

sys-libs/zlib minizip
www-client/chromium aura

Okay, now it's time to emerge Chromium:

root #  emerge -a www-client/chromium

This will take a long time to complete. After you're done, emerge Chrome helper programs to enable Adobe Flash and PDF viewing support. First, review and accept the license:

root # emerge www-plugins/chrome-binary-plugins --autounmask-write

Now, run etc-update and accept the changes that it made to /etc/portage/package.license. Now, emerge the plugins for real:

root # emerge www-plugins/chrome-binary-plugins

Making Chromium Look Sexier

If you like the default "blue" look of Chrome, and want Chromium to look like that, go to the "3 bar" menu in the upper right, go to Settings, and under Appearance, click Use Classic theme. Flash some gang signs to imaginary onlookers, and you are done.

Firefox (binary)

The Firefox binary Web browser, www-client/firefox-bin is another good option. It is more feature-rich as opposed to the "lean and mean" Chrome/Chromium.

Advantages

  • Firefox is a great, full-featured Web browser.
  • It is quick to install, because it is a binary.

Disadvantages

  • It works well with ALSA by default, but requires tweaks to get working with PulseAudio.
  • A separate merge of www-plugins/adobe-flash is required for Adobe Flash support.

Installing Firefox

First, emerge Firefox itself. This is quick:

root #  emerge www-client/firefox-bin

By default, Firefox does not support Adobe Flash. Let's fix this:

root #  emerge www-plugins/adobe-flash --autounmask-write

Now, run etc-update and accept the changes that Portage made to /etc/portage/package.license. Now, let's get Flash installed:

root #  emerge www-plugins/adobe-flash

Firefox is now installed!

Firefox and Audio

   Note

This doesn't seem to be required anymore with Firefox and recent versions of PulseAudio, which can use an ALSA sink to funnel audio automagically into PulseAudio.

By default, Firefox will try to use an ALSA device for audio. To get Firefox to use PulseAudio, create an .asoundrc file in your Firefox user's home directory that looks like this:

pcm.!default 
{    type pulse
    hint.description "Default Audio Device"
}
ctl.!default {
    type pulse
}

This will route ALSA to PulseAudio by default -- I believe you may need to restart your X session to get these changes to apply.

I also recommend emerging media-sound/pavucontrol -- the PulseAudio Volume Control app. Some casual tweaking in here to set the output device for Firefox should result in audio working for you.

Oracle Java Runtime Environment

Enabling a Java Runtime Environment isn't a must-have for everyone, but it's nice to have installed in case you need it. And some of us have a need to run a Java app now and again, so let's look at getting it installed. It's quite easy to get going.

First, let's accept the Oracle Java SE License:

root # emerge dev-java/oracle-jre-bin --autounmask-write

Now, run etc-update and accept the changes it made to /etc/portage/package.license. Now, let's emerge the Oracle JRE:

   Important

Please ensure that the nsplugin USE flag is enabled when you run emerge, below. This enables the Web browser plugin.

root # emerge -a dev-java/oracle-jre-bin

The Oracle JRE is now installed.

Running Java Applets

If your Web browser prompts you for an application to run .jnlp files, instruct it to use /opt/oracle-jre-bin-1.7.0.51/bin/javaws (also known as "Java Web Start".) You can also use javaws to run .jnlp files from an xterm.

Java and Security

Starting with Oracle JRE 1.7.0.51 and higher, Java has enhanced security settings and may refuse to run some Java applets. Normally, this is fine and good, unless you absolutely need to run an app and Java is refusing to run it. To get around this, open up an xterm as your browser user and go to the Java bin dir, and run ControlPanel as follows:

user $ cd /opt/oracle-jre-bin-1.7.0.51/bin
user $ ./ControlPanel

Now, go to the Security tab and click the Edit Site List... button. Add a URL for the site from which you are downloading the Java Applet. Now click OK and save your changes, and try running the Java applet again. It should now be allowed to run.

"Java Not Allowed" in Chrome-Based Browsers

If you load a Web page with a Java applet on it, you may see a Java logo with text underneath that says "Java not allowed". To resolve this issue, visit the following URL in your browser:

chrome://plugins

This will display a list of all plugins enabled in Chrome. You should see a plugin called something like this:

Java(TM) - Version: 10.45.2

Next Generation Java Plug-in 10.45.2 for Mozilla browsers

Check the "Always Enable" checkbox and then reload the page with the Java applet, and it should load properly.