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

How to set up Desktop Quick launch with Ubuntu pycharm

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces the relevant knowledge of "how to set up desktop quick startup in Ubuntu pycharm". The editor shows you the operation process through an actual case. The operation method is simple and fast, and it is practical. I hope this article "how to set up desktop quick startup in Ubuntu pycharm" can help you solve the problem.

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=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

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.

This is the end of the introduction to "how to set up the Desktop Quick start in Ubuntu pycharm". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

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

Development

Wechat

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

12
Report