Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Explain Ubuntu 16.04 pycharm setup Desktop Quick start method

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the quick startup method of Ubuntu 16.04 pycharm setting desktop, and shares it with you. The details are as follows:

Each time you use pycharm in a ubuntu environment, you need to execute. / pycharm.sh in its installation directory to start pycharm. It's troublesome, since ubuntu provides a desktop environment, we should use it separately.

All shortcuts under Ubuntu are available:

/ usr/share/applications

Decompression

Here I downloaded and extracted the pycharm to the / home/snakeson/developer folder

Pycharm.sh here is the batch execution file, and prcharm.png is the shortcut icon.

Open the terminal.

Use the Ubuntu terminal to open:

Method 1 (using vim):

Sudo vi / usr/share/applications/pycharm.desktop

Method 2 (using gedit):

Sudo gedit / usr/share/applications/pycharm.desktop

Then a new box pops up:

Post

Let's post the following:

[Desktop Entry] Type=ApplicationName=PycharmGenericName=Pycharm3Comment=Pycharm3:The Python IDEExec= "/ home/snakeson/developer/pycharm-community-2017.2.3/bin/pycharm.sh" fIcon=/home/snakeson/developer/pycharm-community-2017.2.3/bin/pycharm.pngTerminal=pycharmCategories=Pycharm

Be sure to copy the Desktop Entry in, that is, all the above must be copied in. Here we need to replace two places: Exec= "xx" and Icon=,. Of course, I have already replaced it. If your directory is different from mine, you have to change the path, whether you are pycharm2017 or pycharm2016, such as Comment. Just change the two paths mentioned above.

Add executable permissions

Sudo chmod + x / usr/share/applications/pycharm.desktop

Copy to Desktop

Copy the / usr/share/applications/pycharm.desktop file to the desktop and double-click to run it.

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report