https://bugs.kde.org/show_bug.cgi?id=401029

            Bug ID: 401029
           Summary: Task manager shows Hangouts with generic Chrome icon
           Product: plasmashell
           Version: 5.14.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager
          Assignee: h...@kde.org
          Reporter: u.ra...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Task manager (as well as Icon only task manager) always shows Hangouts with the
generic Chrome icon. I tried adding the following rule for Chrome in
/etc/xdg/taskmanagerrulesrc:

[Rewrite Rules][Google-chrome][1]
Property=ClassName
Identifier=StartupWMClass
Match=(?<=crx_)(?'match'[a-z]+)
Target=chrome-%1-default

I also have the following desktop file in .local/share/applications/, named
chrome-nckgahadagoaajjgafhacjanaoiihapd-default.desktop:
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Google Hangouts
Icon=chrome-nckgahadagoaajjgafhacjanaoiihapd-default
NoDisplay=true
Exec=/opt/google/chrome/chrome
StartupWMClass=crx_nckgahadagoaajjgafhacjanaoiihapd

The icons are in:
.local/share/icons/hicolor/128x128/apps/chrome-nckgahadagoaajjgafhacjanaoiihapd-default.png
.local/share/icons/hicolor/48x48/apps/chrome-nckgahadagoaajjgafhacjanaoiihapd-default.png

And yet, both task managers always show the generic Chrome icon. If I set the
NoDisplay property to false, I can see the launcher in the application menu
(under the Lost&Found section) with the correct Hangouts icon.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to