Some launchers stopped working with custom desktop files (due to extensions that isolate workspaces in the dash, like "Dash to Dock" or "Workspace Isolated Dash")
I use several instances of Firefox, that I usually launch from various launchers.
For example, I have a firefox-test.desktop
file in ~/.local/share/applications
, that contains:
[Desktop Entry]
Version=1.0
Name=Firefox-Test
StartupWMClass=firetest
Exec=firefox --new-instance --no-remote -P Test --class firetest %u
Icon=firefox-developer-icon
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;pentest;
Actions=new-window;new-private-window;
It worked for ages, in many DE, including GNOME 3.28 (Ubuntu 18.04).
But, starting with Gnome 3.32, it has stopped working (Ubuntu 19.04, 19.10).
The launcher does show up in the Shell but clicking it does nothing.
On the other hand, the commands works from the terminal:
firefox --new-instance --no-remote -P Test --class firetest