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 ./clion.sh
.
How can I add CLion icon to desctop?
desktop file to desktop. Now all you have to do here is to look for the application icon (or its desktop file). When you find it, either drag-drop the file to the desktop or copy the file (using Ctrl+C shortcut) and paste it on the desktop (using Ctrl+V shortcut).
To start, head over to the /usr/local/share/applications directory using either a graphical Linux file manager or the command line. Then, inside the folder, locate the desktop entry for the application you want to create a shortcut for. After moving the file, you'll notice that the shortcut has no icon.
it simple: just press Ctrl + Shift and drag.
You can add a desktop entry to your system directly in CLion :
Main Menu > 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/clion.sh
.
This will allow the launcher etc. to find clion, you can also copy the file to ~/Desktop
to have it on your desktop.
After you're done with the installation as described in Install-Linux-tar.txt
, you can create a desktop shortcut so that you can launch CLion
easily using Windows key and then typing CLion
(need not be case-sensitive).
cd
to your CLion installation directory; I use /usr/share/clion-2020.1.1
; Then do:
$ bash bin/clion.sh
That will launch CLion
window. At the bottom right of the window, there's configure
, click that and then click Create Desktop Entry
. That's it!
Now, you'll be able to search using the term clion
after pressing Windows key.
Tested on Ubuntu 19.10 and CLion 2020
From CLion welcome window select:
(if you don't have 'Create...' action available, you can add it using the button "Add Action" on the right side of the search bar)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With