ubuntu安装pycharm并生成快捷方式:
进入如下目录:
cd /usr/share/applications
创建:Pycharm.desktop
touch Pycharm.desktop
编辑写入:
[Desktop Entry]
Name = PyCharm
Type = Application
Exec = /home/dong/下载/pycharm-community-2020.1.2/bin/pycharm.sh #解压文件绝对路径
Icon = /home/dong/下载/pycharm-community-2020.1.2/bin/pycharm.png #解压文件绝对路径
Terminal = False
Categories = Pycharm
创建pycharm.desktop
cd /usr/share/applications
sudo gedit pycharm.desktop
输入以下内容
[Desktop Entry]
Version=1.0
Type=Application
Name=Pycharm
Icon=(pycharm_path)/bin/pycharm.png
Exec=sh (pycharm_path)/bin/pycharm.sh
MimeType=application/x-py;
Name[en_US]=pycharm