把pycharm固定到启动栏

  • sudo gedit /usr/share/applications/jetbrains-pycharm.desktop

    粘贴以下内容

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    [Desktop Entry]     
    Version=1.0
    Type=Application
    Name=Pycharm
    Icon=/home/zhang/pycharm/pycharm-2018.2.4/bin/pycharm.png [路径]
    Exec="/home/zhang/pycharm/pycharm-2018.2.4/bin/pycharm.sh" %f [路径]
    Comment=The Drive to Develop
    Categories=Development;IDE;
    Terminal=false
    StartupWMClass=jetbrains-pycharm