Google Chrome Flatpak tray icon issues in KDE
After installing Google Chrome from Bazaar, the tray icon for google chrome duplicates itself, with the original tray icon being able to spawn new chrome windows, but the active window not allowing for spawning of said windows.
This slightly messes up my workflow in browser and doesn't appear to effect Firefox or Brave Flatpaks.
I haven't tested Gnome, so I don't know if this is a bigger issue or not. Output of journalctl while opening Chrome is attached.
This slightly messes up my workflow in browser and doesn't appear to effect Firefox or Brave Flatpaks.
I haven't tested Gnome, so I don't know if this is a bigger issue or not. Output of journalctl while opening Chrome is attached.
flatpak_chrome.log6.34KB
Solution
I have found a fix.
First, copy the .desktop file to your local applications folder.
Then edit the .desktop file in your favorite editor
Add
You must also then update both
Then save the file.
First, copy the .desktop file to your local applications folder.
/var/lib/flatpak/app/com.google.Chrome/current/active/export/share/applications/com.google.Chrome.desktop ~/.local/share/applications/Then edit the .desktop file in your favorite editor
/var/home/chaosmaou/.local/share/applications/com.google.Chrome.desktop Add
StartupWMClass=google-chrome underneath Name=Google Chrome under the [Desktop Entry] at the top of the file.You must also then update both
Exec= lines for both normal and incognitio modes, adding --class=com.google.Chrome before com.google.Chrome near the end of both lines:Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --class=com.google.Chrome com.google.ChromeExec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --class=com.google.Chrome com.google.Chrome --incognitoThen save the file.