Search Unity

Feedback A fix for the Unity Hub launcher icon not showing while running

Discussion in 'Linux' started by kodenkm, May 30, 2019.

  1. kodenkm

    kodenkm

    Joined:
    Nov 17, 2015
    Posts:
    21
    The window class of an app can be checked by running this command in terminal and clicking on the open Unity Hub window:
    $ xprop WM_CLASS

    Result is like this:
    WM_CLASS(STRING) = "unityhub", "UnityHub"

    Edit the Unity Hub .desktop file to include StartupWMClass to link the app window class (from above) with the icon file:
    StartupWMClass=unityhub​
     
  2. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    That doesn't work for me but on Mint I launch with this which fixes the issue as well.
    $(XDG_CURRENT_DESKTOP=Unity;"/mnt/data/programs/unity/UnityHub/UnityHubSetup.AppImage" %U)
     
  3. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    244
    Have you tried the flatpak version? It didn't work previously, but the maintainer is quick to respond and it seems to work pretty well. But I think it just downloads and installs the app image anyway