13

I downloaded Jetbrains' Datagrip application on Ubuntu 16.04 and started it by running it's datagrip.sh file on the terminal. When I try to select Lock to launcher by right clicking it's icon on the launcher, it does nothing. Can you explain me why it does not support locking the icon to the launcher? while other apps let me to do so.

Nuwan Thisara
  • 2,412
  • 6
  • 31
  • 52
  • 6
    You should be able to create a launcher from within the application itself though. In most Jetbrains apps, you can choose "_Tools_" > "_Create desktop entry / launcher_", and Datagrip should offer this too. This will create an item in the dash, which you can then drag onto the launcher. Check this also: [Intellij launcher doesn't work on unity?](http://stackoverflow.com/q/14424254) – Jonas Czech Jun 28 '16 at 14:35
  • I tried to find such an option in all the menu items since there is no tools menu, I don't say NO, but I will search more about it. thank you – Nuwan Thisara Jun 28 '16 at 14:42
  • Intellij IDEA let me to lock it's icon, actually I did not find any other app (considering the apps I already installed) that does not let me to lock to launcher. Anyway I will try to create an icon by using the information on link you provided. thank you – Nuwan Thisara Jun 28 '16 at 14:52
  • @JonasCz I followed that and it did not work. I checked $JAVA_HOME and have a path. There has to be something corrupt. – Winnemucca May 12 '17 at 15:17

1 Answers1

20

Use the command described by @JonasCz. "Tools" > "Create desktop entry / launcher"

Then go to unity, search for DataGrip and drag it to the bar.

I don't know why pinning it doesn't work but the above worked for me. I imagine it has to do with pining the shortcut vs the running java app. The shortcut is probably a wrapper to start the main app.

Frank V
  • 401
  • 1
  • 6
  • 14
  • 1
    Once you followed the instructions, remember that you still have to right-click the launcher icon of the launched Idea app, and choose 'lock to launcher'. – Jack Jun 07 '17 at 20:14