ubuntu创建pycharm图标&在终端中使用命令行启动pycharm的配置
---恢复内容开始---
一、创建pycharm图标
/usr/lib/pycharm-2019.3.1/bin
sudo gedit pycharm.desktop
[Desktop Entry] Version=1.0 Type=Application Name=Pycharm Icon=/usr/lib/pycharm-2019.3.1/bin/pycharm.png Exec=sh /usr/lib/pycharm-2019.3.1/bin/pycharm.sh MimeType=application/x-py; Name[en_US]=pycharm
其中Icon、Exec为pycharm.sh的绝对路径
二、在终端中使用命令行启动pycharm
在根目录下
vi .bashrc
最后一行添加
alias pycharm="/usr/lib/pycharm-2019.3.1/bin/pycharm.sh"
更新一下
source .bashrc
相关推荐
NANGEBOKE 2020-11-23
wuguangbin0 2020-11-17
shuhaojie 2020-11-17
skyplay0 2020-11-17
BigYellow 2020-11-16
shuhaojie 2020-08-16
NANGEBOKE 2020-08-15
mmwalker 2020-08-11
wuguangbin0 2020-07-18
vshacker 2020-07-05
jameslaughing 2020-07-04
jameslaughing 2020-07-04
maoyongfan 2020-06-28
hanxia 2020-06-27
无缘公子 2020-06-18
NANGEBOKE 2020-06-15