Showing posts with label chrome. Show all posts
Showing posts with label chrome. Show all posts

Sunday, July 29, 2012

JRE for Google Chrome Browser in BT5R2

Chrome is pretty much my default browser for BT5R2. Despite the fact that it refuses to be ran as root with out some tinkering, I have found it easier to operate in BT5 than Firefox. Firefox fights me at every turn when I try to get flash player, JRE, or anything else running. Chrome comes with flash player already operational, and getting JRE going isn't too tricky either. What follows is the commands I used in the CLI to get the JRE going:

mkdir /opt/google/chrome/plugins
cd /opt/google/chrome/plugins
ln -s /usr/local/jre1.6.0_17/lib/i386/libnpjp2.so .
 --note, if you use a different version of JRE or filepath, you'll need to make sure that the last line reflects this.

Essentially, all we are doing is creating the plugins folder for the browser, and then linking JRE to that file. The "-s" switch means that we're making a symbolic link instead of a hard link. When you're finished don't forget to test your work by visiting this website:

http://www.java.com/en/download/testjava.jsp


Tuesday, July 10, 2012

Enable Chrome browser in BT5R2

I am currently deployed over seas so the posts to this blog have not come nearly as fast as I had imagined they would when I started this project. This post mostly serves as a reminder for myself on how to fix this issue next time apt-update update's my chrome browser. Anyways with out further adduce:

If you enjoy using BT5 and chrome, it probably didn't take you very long to realize that the two weren't made for each other. Chrome refuses to be ran in root, and well.... BT5 is all root all the time. This conflict can be overcame by making a small addition to the google-chrome file in you /urs/bin directory:
gedit /usr/bin google-chrome


Add: --user-data-dir
To the end of the file on the last line so that it reads like this:
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir 
Save, close, and enjoy.