Search Unity

Add Unity to favorites bar (/dock) on Ubuntu 18?

Discussion in 'Linux' started by TheAngryGuy, Aug 7, 2018.

  1. TheAngryGuy

    TheAngryGuy

    Joined:
    Dec 9, 2016
    Posts:
    6
    When an application is launched on Ubuntu 18, if you right click its icon in the dock, there will be an option to "add to favorites". i.e. keep it in the dock.

    Unity does not display this option when it is running.

    Does anyone know how to pin it to the dock?
    I'm not looking for a launcher, as that would show two unity icons in the dock (one for launching unity, and another when it is launched).

    Thank you
     
  2. Furai

    Furai

    Joined:
    Jul 22, 2016
    Posts:
    16
    Launcher as in .desktop entry?
     
  3. unity_WUPEixAeAKO3_Q

    unity_WUPEixAeAKO3_Q

    Joined:
    Jul 31, 2018
    Posts:
    2
    i too would like a .desktop :)
     
  4. Furai

    Furai

    Joined:
    Jul 22, 2016
    Posts:
    16
    You can write one yourself, it's not that hard, here's an example:

    Code (text):
    1. [Desktop Entry]
    2. Name=Unity3D
    3. Comment=Unity3D Editor
    4. Exec=<path to unity editor executable>
    5. Terminal=false
    6. Type=Application
    7. Categories=Application;Development;Graphics;IDE;
    8. Icon=<path to unity3d icon>
    Fill the missing information as you please (the ones in angle brackets). Save the file as e.g. unity3d.desktop and place it here:
    /usr/share/applications/unity3d.desktop


    Read more here.
     
    senkal_ and Anindya-Saha like this.
  5. unity_WUPEixAeAKO3_Q

    unity_WUPEixAeAKO3_Q

    Joined:
    Jul 31, 2018
    Posts:
    2
    That's great! Thanks for the help, I wasn't aware they were just text files :3
     
  6. Anindya-Saha

    Anindya-Saha

    Joined:
    Dec 16, 2019
    Posts:
    1
    Awesome...Thanks