首页 > 代码库 > ubuntu中为Pycharm添加快捷启动方式

ubuntu中为Pycharm添加快捷启动方式

1.

sudo gedit /usr/share/applications/Pycharm.desktop

2.在文件中添加:

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm5
Comment=Pycharm5:The Python IDE 
Exec="/home/hupeng/pycharm/bin/pycharm.sh" %f  #pycham路径
Icon=/home/hupeng/pycharm/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm

3.在搜索框中查找pycham,并打开

技术分享

4.将程序锁定到启动栏中

技术分享

 

ubuntu中为Pycharm添加快捷启动方式