How to add CLion icon to desktop in Ubuntu

I am using Ubuntu and CLion 2016.1.

I installed it by downloading tar.gz archive.

Now I have such CLion-2016.1/bin folder. For launching Clion I run ./

How can I add CLion icon to desctop?


You can add a desktop entry to your system directly in CLion :

Tools > Create Desktop entry...

Download the file clion.desktop, put it in ~/.local/share/applications and mark it executable. You may need to adapt the Icon and Exec path to point to CLion-2016.1/bin/clion.svg and resp. CLion-2016.1/bin/

This will allow the launcher etc. to find clion, you can also copy the file to ~/Desktop to have it on your desktop.

Need Your Help

iOS Swift Pass Closure as Property?

ios uitextfield closures swift uitextfielddelegate

Let's say I have a custom UIView, lets call it MyCustomView. Inside this view is a UITextField property. Suppose my goal is to be able to create an instance of MyCustomView and add it to some view