Home > icons > How can I change the Google Chrome webapp icon?

How can I change the Google Chrome webapp icon?

April 3Hits:1
Advertisement

So I've got the AskUbuntu chatroom (I'm just using this as an example, I've got other webapps that I've got the same issue with) saved as a "Application Shortcut" in Chromium, and the icon is really (And I mean really) low resolution. Example:

How can I change the Google Chrome webapp icon?

The top one is the default icon that's used for the Application Shortcut, the bottom is the AskUbuntu lens - so my question is, how can I use the icon that's used for the AskUbuntu lens.

How can I change the Google Chrome webapp icon?

Answers

With daily chromium builds and recent BAMF you can (if you look closer to that screenshot, you can see an example with my site and high-res icon). But in the current state of chromium you need to do some hacking to make it support this easily:

  • Make chromium generate a .desktop file for the application Menu too (if you don't want you to create one by scratch).
  • Get your chromium app window WM_CLASS with xprop | grep WM_CLASS | awk '{print $4}' (if it's just "Chromium Browser" or something similar you need to update chromium).
  • Edit that .desktop file (located into ~/.local/share/applications) with gedit or any other text editor; the file should contain:
    StartupWMClass=$APP_WM_CLASS_Found_on_step_2
    Icon=~/your/icon/file/name/or/path
    
    

    i.e. (for an app pointing to http://mail.google.com with google_mail.png in ~/.local/share/icons):

    StartupWMClass=mail.google.com
    Icon=google_mail.png
    
    
  • Restart bamfdaemon or unity at all; now when you'll run an application with that WM_CLASS the settings defined in the desktop file you've just edited will be used; icon included ;)

The easiest way for me was to install Alacarte (free from the Software Center) and edit the icon from there. It looks like an application to edit regular GNOME 2/GNOME Classic icons, but it works for Unity Launcher icons as well. The Chrome webapps are under "Chrome Applications", at least in my machine.

Related Articles

  • How can I change the Google Chrome webapp icon?

    How can I change the Google Chrome webapp icon?April 3

    So I've got the AskUbuntu chatroom (I'm just using this as an example, I've got other webapps that I've got the same issue with) saved as a "Application Shortcut" in Chromium, and the icon is really (And I mean really) low resolution. Example: T

  • Do Unity webapps work in Google Chrome?

    Do Unity webapps work in Google Chrome?September 24

    I'm using the latest stable Chrome for Linux built from Google and I just installed the Unity WebApps preview. Unfortunately I can't figure out how to set it up. In tutorials I read that unity should ask me by itself to integrate a web app as soon as

  • Google Chrome no longer treats " Web Apps" speciallyJuly 30

    I'm running Google Chrome (Dev Channel), with the --enable-apps flag, in both OSX and Ubuntu. I have four or five WebApps installed, and they appear in the "New Tab" page just fine. The problem is that, before, when the feature first became avai

  • Google Chrome does not launch after some months without using it in Windows XP/SevenApril 4

    Well, I have in computers I use with Windows XP or Seven more than one browser installed on them, generally Internet Explorer 8, Firefox 4, Opera 11 and Google Chrome. I often use Firefox, but I want to use Google Chrome sometimes because I have a lo

  • Google Chrome is taking forever to set up syncMay 1

    I did a clean install of Windows 7 yesterday, and am now trying to sync my bookmarks and other preferences back to Chrome which I had prior to reinstalling Windows. Unfortunately it is taking forever to do the synchronisation and restore my data. I'v

  • Is it possible to install an app from Google Chrome Web Store like Angry Birds so that it is available to all users?September 19

    I use Google Chrome at home and recently I installed AngryBirds from the webstore but to my surprise it wasn't available on my wife's account. Is it possible to install Chrome apps such that they are available on all user accounts on the system and d

  • Is it possible to work offline in Google Chrome (as in Firefox?)

    Is it possible to work offline in Google Chrome (as in Firefox?)August 8

    I'd like to access cached copies of web pages even when I can't connect to the Internet in Google Chrome. To work offline in Firefox, I can click File -> Work Offline. Is there a similar "offline mode" in Chrome? --------------Solutions------

  • Why don't keyboard shortcuts work in Google Chrome browser?October 8

    I'm using lots of Google tools and most of them have keyboard shortcuts -- but none of them work on Google Chrome. When I press keys (in Gmail, in Google Reader, etc.) then Chrome opens the in-page search box instead of invoking the shortcut action.

  • Separate Chrome webapp shortcuts from Chrome in Gnome Shell

    Separate Chrome webapp shortcuts from Chrome in Gnome ShellOctober 27

    I created some webapps in Google Chrome that will open in their own windows, like Google Keep, for example. But whenever I open them, it will say Google Chrome in the black bar (Gnome Shell) and in overview, it will be listed as a Google Chrome windo

  • Google Chrome bookmarks or Google Bookmarks?December 12

    I'm using various Google services, one of them being Google Bookmarks. I have a lot of bookmarks saved. They were created long time ago, when I found that it was cool to have a browser-independent service to store all my bookmarks. But now I'm using

  • Google Chrome with buggy launcher

    Google Chrome with buggy launcher May 6

    Whenever I click on my chrome shortcut I get a new window (as expected) but I also get a new Unity entry with a different icon (one from an iconset I had been using before upgrading to 14.04 - don't really remember the name). The new unity entry does

  • google-chrome-unstable icons not found on Ubuntu 14.04

    google-chrome-unstable icons not found on Ubuntu 14.04April 1

    I installed Ubuntu 14.04.2 on a Toshiba Satellite C50-B-14D and I am using it with the gnome classic metacity window manager. I then added the Google repositories on the sources directory in /etc/apt following the instructions from this answer here:

  • How do I transfer my Google Chrome profile to a new PC?September 10

    Now that I have Google Chrome all set up, I got myself a new laptop. Does anyone have any idea how to transfer my settings, cookies, favorites, etc? I checked documents and settings\me\application data, and found nothing. --------------Solutions-----

  • Google Chrome: passthrough Windows authenticationJune 4

    The I.T. dept is considering allowing installation and automated deployment of Google Chrome browser to 100+ desktops. One of the requirements is for domain credentials to be passed through. The desired behaviour is the same as Internet Explorer. An

  • Google Chrome Enterprise - Any Gotchas?June 30

    Has anyone rolled out Google Chrome to a medium / large organisation? I would like to suggest it to our management (because I think it would work very nicely with some of our intranet applications), and I would like to find out what problems (if any)

  • Where is Google Chrome Crash Dump Located?July 15

    I am going Google Chrome, on Windows XP. Sometimes it crashed, and I want to know where the crash dump is located, just for fun. --------------Solutions------------- There is no longer an 'under the hood' option anymore and hence the above answer is

  • What is the "Inspect Element" feature in Google Chrome?

    What is the "Inspect Element" feature in Google Chrome?July 16

    What is the Inspect Element feature in Google chrome and how can I benefit from it? When in the Inspect Element window if I click the Resource tab it doesn't show me any load times. How can I use this feature effectively? I see the following screen w

  • What is meant by "User Profile" in Google Chrome?July 16

    Is there some way to create a new profile? Can I backup my profile? --------------Solutions------------- If you're not the only Google Chrome user on your computer - even for the same Windows user (common on PCs at home, shared among family members f

  • Google Chrome Operating System: the Facts and Fallacy

    Google Chrome Operating System: the Facts and FallacyJuly 16

    Google's recent Chrome OS announcement caused a tsunami of media speculation. Can Google create a usable OS in less than a year and take on Microsoft at their own game? The facts have been overawed by opinion, but few facts are available. Here's a su

  • Is there a NoScript alternative for Google Chrome?

    Is there a NoScript alternative for Google Chrome?July 19

    I love using Google Chrome, but I don't like visiting sites that have embedded ads/pages that could have malicious JavaScript. Is there something like the Firefox extension, NoScript, for Google Chrome? --------------Solutions------------- Check out

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.321 s.