Open probonopd opened 3 years ago
I can see why this would be an issue on FreeBSD/helloSystem, however I'm not able to reproduce this issue under Arch Linux/CyberOS. I can pin it to the dock just fine, and I can start it from the dock.
Seems like the Firefox desktop file, at least on Arch Linux, has StartupWMClass=firefox
: https://github.com/archlinux/svntogit-packages/blob/packages/firefox/trunk/firefox.desktop#L122
Can you check if Firefox's .desktop
file has StartupWMClass=firefox
by default on FreeBSD? @probonopd
It does not have that key.
Hmm. I have no idea how to help with this. Maybe you or @rekols could, you do have write access.
Should it be StartupWMClass=Navigator
(works for me) or StartupWMClass=firefox
?
I have no idea, but I'm pretty sure you can repackage Firefox in helloSystem with the necessary changes. StartupWMClass=firefox
works for me, but the safest bet for you would be to choose one that works the best.
Firefox (when installed on FreeBSD by
pkg
) cannot be launched when pinned to the Dock because the Dock cannot figure out the corresponding.desktop
file.xWindowWMClassName
is used inutils.cpp
to find "matching" desktop files;xWindowWMClassName
of Firefox isNavigator
utils.cpp
tries to matchNavigator
toNavigator.desktop
- no such file exists)StartupWMClass
in the desktop files (e.g.,StartupWMClass=Navigator
- no such key exists)Icon
in the desktop files (e.g.,Icon=Navigator.png
- this does not match)Exec
in the desktop files (e.g.,Exec=Navigator
- this does not match)If you add
StartupWMClass=Navigator
to/usr/local/share/applications/firefox.desktop
manually then you should be able to pin Firefox, but it also does not work as-is for many other applications.Reference: https://github.com/helloSystem/ISO/issues/114#issuecomment-796920251