Ubuntu 16.04 pycharm Setup desktop quick start mode
- 2020-06-19 12:37:37
- OfStack
This article introduces Ubuntu 16.04 pycharm to set up the desktop quick start mode, share to everyone, specific as follows:
Each use of pycharm in the ubuntu environment requires execution in its installation directory./ pycharm.sh to start pycharm. The trouble is that since ubuntu provides a desktop environment we should take advantage of it from scratch.
All the shortcuts under Ubuntu are:
/usr/share/applications
Unpack the
Here I downloaded and unzipped pycharm under /home/snakeson/developer
Here pycharm.sh is the batch executable and prcharm.png is the shortcut icon
Open a terminal
Open using Ubuntu terminal:
Method 1 (using vim) :
sudo vi /usr/share/applications/pycharm.desktop
Method 2 (using gedit) :
sudo gedit /usr/share/applications/pycharm.desktop
A new box will pop up:
post
We'll post the following:
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec="/home/snakeson/developer/pycharm-community-2017.2.3/bin/pycharm.sh" %f
Icon=/home/snakeson/developer/pycharm-community-2017.2.3/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;
Note 1 set to Desktop Entry copied into, that is all of the above to be copied into, here we need to replace the two places: Exec = "xx and Icon =", here to replace our pycharm extracted directory, of course, I'll have to replace, if you don't directory directory with me 1 sample, you have to give in the path, whether you're pycharm2017 or pycharm2016,, such as Comment what all don't change, just change the above mentioned two paths.
Add executable permissions
sudo chmod +x /usr/share/applications/pycharm.desktop
Copy to desktop
Will/usr/share/applications/pycharm desktop file copy to the desktop, double-click to run.