Category: Chrome

Canary Alternative for Ubuntu

A while back, I came across a tech-talk about Batarang.  According to the video, I had to have Canary because the tool depended on features that were not available in the stable release of Chrome.  To spoil the story, Batarang is now available via the Chrome Store and works fine on Chrome.  But, this is my story on searching for Canary for Linux.

What I found was that Canary was not feasible on Linux.  The best alternative was to install the “daily” release of Chromium.  Because I use Chrome as my day-to-day browser, Chromium works great as a development browser.  They can exist side by side without conflicting.

The Chromium-Daily Repository

My first attempt was to use this chromium-daily repository.  I’ll save you some time: it’s out of date.  Skip on down to the next section.  The only reason that I included this is to point out that it would be great if someone could pick it up to make it active again.

Here’s the install instructions to add the repository and install the browser:

 sudo add-apt-repository ppa:chromium-daily
sudo apt-get update
sudo apt-get install chromium-browser

I get these error messages:


W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

To remove the PPA, I used this:

sudo rm /etc/apt/sources.list.d/*chromium*

Chromium Continuous Build Website

So, I found this website:  Chromium Continuous Build.  It apparently keeps a daily build out there.  I just had to download it and unzip it on my drive.

I created a directory to put it in (~/bin/chromium).  Then, I wrote this script to download the latest version:


#!/bin/sh

wget http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux_x64/LAST_CHANGE
LAST_BUILD_ID=`cat LAST_CHANGE`
echo "Last Update ID: $LAST_BUILD_ID"
wget http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux_x64/$LAST_BUILD_ID/chrome-linux.zip
unzip chrome-linux.zip

Then, I ran the chrome binary.  This is the version it downloaded:

The cool part is that it is separate from my main chrome browser because it is chromium, and my main browser is chrome.

Batarang

To download the Batarang extension, I ran this:

git clone git://github.com/angular/angularjs-batarang

After it was downloaded, I went to Chrome Extensions:

chrome://chrome/extensions/

Then, I checked the Developer Mode:

Selection_582

Next, I clicked Load Unpacked Extension:

I chose the directory:

That installed the extension.  I went to my site with Angular installed.  I used Ctrl+Shift+J to open the console.  And, there it was:

Resources

TamperMonkey Fixed!

I recently had an issue with Tamper Monkey, jQuery, subdomains.  You can view the issue here:

tampermonkey.net: subdomain + jQuery issue

Basically, my page would load jQuery plugins when I hit the page directly from my site.  But, if I hit the page via a subdomain off the website, the plugin would not load.  Any javascript that used that plugin would err as if the plugin did not exist.  When I disabled TamperMonkey and reloaded the page, everything would work through the subdomain again.

You can try it with this tech test.  This is without the subdomain:

http://example.digitaleagle.net/subdomain.php

This is through the subdomain:

http://example.digitaleagle.net/subdomain.php

You should get alert dialogs when the page loads and when you click the button.

The fix is to use the Beta version of Tamper Monkey.  This latest version fixes the bug.  You can download it from here.

Also, just FYI, here is my original thread asking for help:

jQuery Plugin won’t work on Subdomain

Great Links: Fedora 15 Quick Tips

By accident, I ran across several links that seemed very helpful for getting situated in Fedora 15:

Chrome Extensions Quick Fix

I was able to get Chromium installed, but it keeps mentioning that “Tampermonkey has crashed.” Thomas’ Blog suggested running this command to fix extensions:

restorecon -R -v -F ~

Hallelujah! My Tampermonkey works. I was hoping that it wasn’t my backing up the profile.

Flash

I went to this link as suggested:

Adobe’s Flash Page

Since, I am running the 64bit version, I opted to follow the 64bit link.

This looks a little complicated. I may save this for another day. Please comment if you have any advise here. I was hoping for an RPM I could install that would just stay up to date. Flash is something I just want to take for granted rather than tinker with. The tar bar for Flash 11 has a bunch of directories and files. I need to read up on it more.

Gnome Shell Tweak

Multiple sites recommended this tool. So, I installed it:

su -c 'yum -y install gnome-tweak-tool'

Here are some of the tweaks, I found useful:

  • Shell — Show date in clock (turned on)
  • Shell — Laptop lid close action (changed from Suspend to Blank)

More Packages and Stuff

Ok, I don’t want to go through each of these individually, so I’ll just throw them out there the same way the Chema did on his blog:

su -c 'yum -y install gnome-tweak-tool gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg audacious audacious-plugins unrar java-1.6.0-openjdk java-1.6.0-openjdk-plugin gparted vlc gimp gimp-data-extras gimp-fourier-plugin gimp-lqr-plugin gimp-resynthesizer gimpfx-foundry yum-plugin-fastestmirror'

–Thanks Chema

I also did the DVD support thing:

su -c 'yum -y install libdvdread libdvdnav'

And, I have the 64bit installed, so I ran this:

su -c 'rpm -ivh http://rpm.livna.org/repo/15/x86_64/libdvdcss-1.2.10-1.x86_64.rpm'

Check out this page for the 32bit command.

SELinux and Performance

I have been struggling with my laptop running slow. It comes to a crawl when I run my Java/Swing application and VMWare at the same time. I found this tidbit about performance on Chema’s blog: “If you are experiencing poor performance, you may want to check what the current SELinux status is”.

I edited the file /etc/selinux/config and changed it from enforcing to permissive:
Editing SELinux Status

Thankfully, it seems to have fixed my problem.

Gnome Shell Extensions

Chema’s command does a good job showing the list of extensions. It is a good start for seeing what is available already:

yum search extension | grep gnome-shell

I found a few other resources on extensions:

I like the alternative status menu. To me, it is kind of absurd to not have a shutdown option in your menu! But, this adds it back:

yum install gnome-shell-extensions-alternative-status-menu

Alternative Status Extension

Note: After installing this extension, I found on the cheat sheet that you can use the Alt key with the default menu to get a Power Off option.

The places menu is another good one:

yum install gnome-shell-extensions-places-menu

Places Menu Extension

The weather and a11y look good, too, but I may save those for another post since they look a little more in depth.

One more trick I learned is that after installing the extensions, you can restart the shell by pressing Alt-F2 and then typing r.

Gnome Do

I was able to easily install Gnome Do with Add/Remove Software, but I had several issues with getting it to work. One of the issues, I already talked about. You have to install an extra dependency: gnome-desktop-2.

Furthermore, you also have to change the Summons key. Digital Tool Company recommended Alt-F3. You can do that from the preferences menu option once you start Gnome-Do.

Launching Gnome-Do Preferences

Or, when you first open Gnome do, you can use the menu there:

Opening Gnome Do Preferences

Then, you can change the summons key here:

GNOME Do Preferences -- Summons Key

Stay tuned as I continue to get used to Fedora!

NetFlix on Chromebooks — Almost here?

Netflix has caught my interest here recently. We were on vacation, and a relative wanted to use my laptop with his Netflix account. I was forced to reboot into Windows to make it work.

Here recently, I have heard some buzz about how that may change. Netflix appears to be pushing to move from Silverlight to HTML5. The big deal is that Silverlight will never work on Linux at least with respect to the DRM required by NetFlix. HTML5 is already built into Chrome already on Linux.

The latest update I have heard is that a plugin exists right now on some of the Chromebooks, but it doesn’t seem active, yet. So, it’s not here yet, but it seems close.

You can read my sources here:

The cool part about Google’s technology is that even if you don’t use it, it sends ripples through the industry. I think that is the case here. I don’t think Chromebooks will meet my needs as a developer any time soon, but the technology they are bringing to my laptop is very nice.

NetFlix on Linux? Thank you Chrome?

Okay, it hasn’t happened yet, but this article sounds promising.  I think the Chrome OS has put its first mark of influence on the world.  From what I read, there is a push to get Netflix working ChromeOS.  As a by product, it should allow it to work on Ubuntu or any Linux running the Chrome browser.

OMG!Ubuntu! Netflix Chrome plugin will bring on-demand video to Linux

The Chrome Source: Netflix Plug-in for Chrome and Chrome OS is on the Way

From Netflix:

HTML5 and Video Streaming

Update: I see people asking, but still nothing to report: Google Groups: Chrome OS Netflix Plugin release date

Chrome and Gnome, Unity Integrating?

I read about a feature on the about:flags screen entitled “Experimental GNOME menu bar support”, and it caught my attention.  Apparently, I don’t have a late enough installation of Chrome to get this feature, so I can’t play with it, but I wanted to keep my eye out.

So, I found reference to the “Experimental GNOME menu bar support” in a bug report, and it referred me to an 81170 revision.  That led me to the corresponding Code Review.  Now, it looks to me like this revision changed it.

Now, this bug is labeled part of Milestone-13, so does that mean that I won’t see it until I get Chrome 13.  Right now I have version 11.0.696.68, and 13 is a ways off unless I go to the unstable release.

Please comment if you can point out anything else.  Otherwise, it just waiting…

WebGL

I just noticed in the release notes for Chrome the mention of Web GL .  So, I looked up some instructions to enable it.

I am running Ubuntu Linux, and I installed Chrome from the Deb package.  It created a shortcut in my Applications Menu.  So, I went to the menu editor, and edited the shortcut for Chrome.  I changed the shortcut from this:

/opt/google/chrome/google-chrome %U

to this:

/opt/google/chrome/google-chrome –enable-webgl %U

When I first started this post, the examples that I found didn’t work.  But, when I tried tonight, this example actually worked.

Resources

Google Chrome on Linux!

I got Google Chrome for Linux!  From one of those ad links at the top of GMail, I clicked through to Chrome, and found out that they have a version that works for Linux.  I am actually using it now for this post.

First, they have a place you can enter your email address for notification when the full version comes out.  Currently, it is under development.

http://www.google.com/chrome/intl/en/linux.html

From, that page, you will find a link to the Early Access Release Channels, which has the links to downloading Chrome.  If you scroll down to the bottom of the page, you will find the link to the deb package that you can install.