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.将程序锁定到启动栏中
时间: 2024-10-10 11:01:42