When I right click chrome icon/task in panel and select "show a launcher when not running", it creates launcher but when I try to launch application using it, it doesn't work as expected. It opens program selection dialog to select program to open that executable file. I tried few frequently used applications but chrome doesn't seem to work out of those.
Steps to Reproduce:
1. Open google chrome
2. Right click taskbar entry and select "Show A Launcher When Not Running".
3. Close chrome.
4. Click newly created launcher
Opens program selection dialog to open executable file.
Application should launch
I figured out the problem. When I launch chrome from krunner by hitting alt+f2 and then typing chrome and selecting chrome, it takes /opt/google/chrome/chrome as launcher path and it doesn't work. When I open chrome from Application Launcher and then pin it to panel, then it works because in that case it takes /usr/bin/google-chrome-stable as path.
so there are two copies of chrome installed which one is not working?
ifthat's the case this is not valid, since we can't know what is the working one ;)
No just one copy is installed. But different file paths are detected when launched from krunner or application launcher.
What does it say as the group in krunner to the left of where you see chrome? Does it say "Applications" or "Command Line"
It says "Applications"
Maybe related to bug 335877
Related with the bug #340699
Git commit 83c5c176567177f70458a0f2890570613b70ab07 by Eike Hein.
Committed on 07/11/2014 at 15:26.
Pushed by hein into branch 'master'.
Install taskmanagerrulesrc again and add a mapping for Google-chrome-stable.
Google Chrome Beta uses a WM_CLASS matching it's .desktop storage id but
the stable version does not.
Related: bug 340699
M +2 -0 libtaskmanager/CMakeLists.txt
M +1 -0 libtaskmanager/taskmanagerrulesrc