1

NB: My question is essentially identical to this, but it was recommended I open a new question as the given solution doesn't work.

Basically, I have Firefox Develop Edition installed. I managed to add the icon to the dock, and changed the icon to be correct. As such, I am 100% certain this is the correct .desktop file to be editing.

This is my firefox-developer.desktop file:

[Desktop Entry]
Version=1.0
Type=Application
Name=Firefox Developer Edition
Icon=/home/jhpratt/.local/share/umake/web/firefox-dev/browser/chrome/icons/default/default128.png
Exec=/home/jhpratt/.local/share/umake/web/firefox-dev/firefox %u
Comment=Firefox Aurora with Developer tools
Categories=Development;IDE;
Terminal=false
StartupWMClass=Firefox Developer Edition

The final line of this is what the recommended solution in the post above is. Running xprop WM_CLASS and clicking on the Firefox window returns WM_CLASS(STRING) = "Navigator", "Firefox Developer Edition". I have tried setting StartupWMClass to Navigator, Firefox Developer Edition, and Navigator, Firefox Developer Edition, none of which have worked. I restarted my session in between.

Update: It does not work in a Wayland session, but works as expected in Xorg.

pomsky
  • 67,112
  • 21
  • 233
  • 243
jhpratt
  • 622
  • 1
  • 8
  • 19
  • Are you in a Wayland session? What happens if you [switch to an Xorg session](https://askubuntu.com/questions/961304/how-do-you-switch-from-wayland-back-to-xorg-in-ubuntu-17-10)? – pomsky Apr 11 '18 at 01:15
  • It does not work in a Wayland session, but works as expected in Xorg. I was under the impression that Xorg is the older, less favored, of the two, however. – jhpratt Apr 11 '18 at 01:19
  • 1
    Wayland is certainly more secure than Xorg, but I'm not sure about the "*less favored*" part though. Many feel Wayland is not ready yet to completely replace X. In fact Ubuntu developers have decided to ship the next LTS release (18.04) with X as default instead of Wayland. – pomsky Apr 11 '18 at 01:24
  • 1
    Software requirements state that `X.Org 1.0 or higher (1.7 or higher is recommended)` is required. See https://www.mozilla.org/en-US/firefox/58.0.2/system-requirements/ – Terrance Apr 11 '18 at 01:39
  • @Terrance That doesn't make much sense, cause I was still running FF under Wayland. It's _just_ the icon. – jhpratt Apr 11 '18 at 01:41
  • 1
    @jhpratt you were probably running FF in XWayland in Wayland, not in Wayland directly. – muru Apr 11 '18 at 01:43

0 Answers0