Google Search

Custom Search

Powered by...

Find us on Facebook

Thursday, 4 October 2012

Add a Google Chrome icon in to Windows Media Center

I previously wrote about a method of adding an Internet Explorer icon in to Windows Media Center here using a utility called Media Center Launcher Configurator. There is a newer utility called Relaunch which I think is a better tool for this job. You can use Relaunch to add any icon you wish in to Media Center to launch your desktop applications.  When using Relaunch to create an icon also know as a tile, when you select this icon from the Media Center menu, Media Center is automatically minimized and your desktop application launched, when you then close the launched desktop application, Media Center is automatically maximized.

Download the latest version of Relaunch from here currently version 202. The utility is a standalone .exe file that requires no installation so you can save it and run it from any folder on your PC, I created a folder for it under C:\Program Files (x86)\Relaunch an saved the .exe in to here.
Right click the .exe and run as Administrator

image

Now there are some predefined tiles you can select and add in to Media Center

image

We are going to create our own new custom tile.

Under App to Launch select Custom

With: Chrome

Trigger: Change this to Close App (The GreenButton) trigger seems to be problematic and kept crashing Chrome on my PC.)

Uncheck Fullsceen unless you want Chrome to be launched in to fullscreen?

URL: You can add any URL in to the URL field this is the webpage that will be loaded when Google Chrome is launched.

Name: Google Chrome (Name that appears under the tile in Media Center)

Image: Browse to the path of your .PNG icon image for this custom tile. I just found one from a Google image search, if you are too lazy you can download my icon below from my SkyDrive.

image

Once all the fields have been populated correctly click the Add button.
Note: I recommend you close down Media Center whilst doing this.
After clicking add your new custom tile called Google Chrome will be listed under Current Tiles. You can select these current tiles and click the Remove button to remove the tile from Media Center.

image

Now open Media Center and navigate to the Extra’s Library your new Google Chrome icon will be in there.

image

You can then use a program like Media Center Studio if you wish to move the icon on to one of the menu strips in Media Center, I moved it to the Extra’s menu strip.

image

image

How Relaunch works is it creates an MCL file under:
C:\Users\YourUsername\AppData\Roaming\Media Center Programs

Below you can see the code within the MCL file:

<application run="C:\Users\Stuart\AppData\Local\Relaunch\googlechrome.exe"
Name = "Google Chrome"
bgcolor="RGB(0,0,0)"
startimage="C:\Users\Stuart\AppData\Local\Relaunch\googlechrome.png"
thumbnailImage=""
sharedviewport="false" >
</application>

You can download my Google Chrome .PNG icon from here
Now because we selected Close App as the trigger when we setup the tile in Relaunch you need some method of exiting Google Chrome on the TV screen to be returned to Media Center. If you are using a wireless keyboard/mouse or a smart phone mouse cursor app you can just click the Red X in the top right hand corner to exit Chrome and Media Center will be restored.

I have previously programmed my Logitech Harmony universal remote control with a custom button that sends a Ctrl+F4 command to close applications down.

Following on from Ian’s post the other day, my next blog post will be about the new www.youtube.com/tv user interface for YouTube on your big screen, I will also be using Relaunch to create an icon in Media Center to launch this YouTube TV interface in to Chrome. I will also cover some of the setup and how to connect your Android and iOS device for remote control of the YouTube TV UI.

UPDATE: The below is from the developer of Relaunch:

Here is some clarification:
Close App works by waiting for chrome.exe to close and then it relaunches Media Center. Green button waits for ehome.exe (AKA Media Center) to come back into focus.  As soon as Media Center comes back into focus it will close Chrome. This later option is what you were running into.

Close App is intended to work exactly as you are now using it.

Green button is intended to work by launching Chrome. When the green button is pressed, Media Center will come back into focus and Chrome will be closed. By using the full screen (or kiosk mode) you can link to youtube.com/tv and have it launch without all the window trimmings and then close it and launch Media Center with the green button when you are done.


www.phaze1digital.com

6 comments:

Brian said...

Hi Stuart,

One problem... when the relauncher app closes Chrome, it doesn't do it gracefully. When I start Chrome the next time, it displays a ribbon at the top that says that Chrome didn't close correctly. Any way around this?

Thanks.

Stuart Harrison said...

I think I had that problem when the trigger was set to GreenButton change this to Close App instead, this stopped Chrome from crashing for me.

Matt D. said...

Hi Stuart,

I just found your blog and I love it!

I am having a problem with Relaunch: Internet Explorer and "Program" are my only two "with" options. Do I need to set something up to get Chrome to show up?

Thanks!

Sport07-Blog said...

Hi,
i have problems bei installing it.
I can run the app and run add, but nothing apears under the Relaunch-folder.

Any idea?
Regards
Michael

Anonymous said...

Hi Stuart, great blog! i can get the youtube and chrome tiles working in MC on my PC but not on my TV? thanks Robert

Anonymous said...

hi, also having the problem with chrome not showing up in the "with" drop down menu (yes it is installed). any thoughts?