Category: Chrome

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.