Make Google Chrome "Application" Windows Use High-Quality Icons in Windows 7

29

12

Whenever I use Google Chrome's "Create Application" shortcut (which I heavily use, and recommend), the icons shown on the Windows 7 taskbar are really blurry, probably the result of the 16x16 favicon being stretched out.

I'd like to be able to replace these with another, high-quality icon, but even when I replace the cached file, it doesn't update for some reason.

For reference, here's the path to the icon, for Gmail, at least. I'm also using the latest Dev channel version of Chrome.

%USERPROFILE%\AppData\Local\Google\Chrome\USERDA~1\Default\PLUGIN~1\GOOGLE~1\mail.google.com\https_443\icons#desktop\

alt text

The How-To Geek

Posted 2009-08-01T16:17:19.393

Reputation: 5 482

1This is properly an obvious suggestion, however why not right click and use change icon in properties to point it to a locally stored high quality icon? – BinaryMisfit – 2009-08-01T16:19:42.680

That doesn't seem to update the in-use icon. What's really weird is that the icon looks fine when I first create the application, and then once I close and restart it's back to looking like crap again. – The How-To Geek – 2009-08-01T16:21:55.747

Gotcha. I am assuming your using the RTM version? I can only imagine that it is overwritten every time the page load and that's why replacing it is not working. – BinaryMisfit – 2009-08-01T16:44:29.517

Are you using the Dev or Beta channel versions of Chrome? I seem to recall this happened for me when I switched to Dev. – pelms – 2009-08-01T16:47:17.123

I'm using the latest dev release. – The How-To Geek – 2009-08-01T16:47:52.923

Can you upload that background for me? :P – Alon Gubkin – 2010-07-30T20:42:19.253

I am using the beta (3.0.195.6) and I have the same problem. The icon on the shortcut has good quality though. I never noticed this problem before switching to the beta... – R. Martinho Fernandes – 2009-08-11T22:16:51.927

I was using the stable release and had the same problem. I upgraded to the dev and it also has the problem. – Kredns – 2009-08-14T05:33:38.030

A bit late, but what if you make the shortcut read-only after changing the icon? – Soumya – 2011-07-21T04:39:47.673

I am using version 24 of chrome and still have a blurry icon. Thought it had to do with the unread mail counter. But after disabling it, I still have bad icons. (using win8 pro x64) – JP Hellemons – 2013-02-15T10:47:17.993

Think I found a way if the below hasn't done it for you? – Coops – 2013-05-09T09:54:34.917

Answers

8

This might not satisfy you, but it at least explains where it comes from.

The Chrome/Gears API says the following:

desktop.createShortcut('Test Application',
                       'http://example.com/index.html',
                       {'128x128': 'http://example.com/icon128x128.png',
                          '48x48': 'http://example.com/icon48x48.png',
                          '32x32': 'http://example.com/icon32x32.png',
                          '16x16': 'http://example.com/icon16x16.png'},
                       'An application at http://example.com/index.html');

icons - An object containing one or more of these named properties: 128x128, 48x48, 32x32, 16x16. The value of each property must be the URL of a PNG-formatted image with dimensions matching the property name. A data URL containing base64-encoded PNG data can also be used.

So I guess right now it just uses something that's on the website where you link to. If they don't have a high quality version, you get the ugly one you mention. Replacing it would require you to change the link inside the shortcut.

Since this is already starting to get a tedious job, it's probably better to follow these steps:

Step 1: Save the icon on your computer - You have already done this successfully I believe :) - In your browser's addressbar, type in the domain of the website, followed by the text "favicon.ico" For example, if you want the icon for the Yahoo website, the address to type is "http://www.yahoo.com/favicon.ico". Similarly, the Google icon can be found at "://www.google.com/favicon.ico". - Once you type in the address specified above, a page will load containing only the icon for the website. - Right click the picture and choose "save picture as.." - Save all the icons in a central folder, say "My Documents\My Icons"

Now you have a permanent copy of the icon. The next step is to associate it with the shortcut.

Step 2: Associate the icon with the shortcut - Right click on the website shortcut on your desktop - From the popup menu that appears, choose "Properties" - In the dialog box that appears, switch to the "Web Document" tab. - Click the "Change Icon..." button present there. - This will popup the Change Icon dialog which will allow you to browse for and select the saved icon file. - Then click Ok a couple of times and exit all the dialogs.

This probably requires Chrome to be your standard browser to open Web Documents with though!

With special thanks to Theta-ga

Ivo Flipse

Posted 2009-08-01T16:17:19.393

Reputation: 24 054

I've already changed the shortcut on the icon, that's the first (obvious) thing I tried. It doesn't change the taskbar icon for the running app though. I'm wondering if I can use the API to create my own shortcut though... – The How-To Geek – 2009-08-01T17:32:46.450

3

It looks like a current Dev channel thing. With the current release and Beta versions you don't get a seperate taskbar icon in Windows 7 - they just stack behind the standard Chrome icon. Looks like they're half way there with the Dev.

pelms

Posted 2009-08-01T16:17:19.393

Reputation: 8 283

1Yeah, I'm really happy with the separate icons now. Just wish they didn't look so ugly! – The How-To Geek – 2009-08-01T17:31:45.143

0

This might be your best bet for sites that don't offer the correct size icons. I haven't fully confirmed that this works because I'm not on the dev channel.

Go to a dataUri Generator, upload the 128px PNG that you want as an icon. Copy the dataUri text for use below.

In Google Chrome on the page you want to create an app shortcut for press <CTRL>+<SHIFT>+J, click the second icon from the left (Show Console) and paste in the following. Make sure you replace the datauri and description below. Enter will execute it and you should see the gears application shortcut window.

window.google.gears.factory.create('beta.desktop').createShortcut(
   document.title, window.location.href, {'128x128': '**dataUri**'}
   ,'**description**');

The other option is to appeal to the web developer of the site to add these simple extra meta and link tags to their site.

Also if you really want to get fancy I guess you could create multiple dataUri's with each of icon sizes like specified in Ivo's answer above.

Aaron Wagner

Posted 2009-08-01T16:17:19.393

Reputation: 101

1damn... still doesn't work, I think it must be a bug in Chrome. – Aaron Wagner – 2009-11-25T11:25:58.240