CentOS添加快捷方式

eclipse.sh

#!/bin/bash
export PATH=$PATH:/home/arci/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm
bash -c "./eclipse/eclipse"

eclipse.desktop

[Desktop Entry]
Name=eclipse
Comment=eclipse
Exec=/home/arci/eclipse.sh
Icon=/home/arci/eclipse/icon.xpm
Terminal=false
Type=Application

PetaLinux.sh

#!/bin/bash
source /home/ac/PetaLinux/settings.sh
bash

PetaLinux.desktop

[Desktop Entry]
Name=PetaLinux
Comment=PetaLinux
Exec=/home/ac/PetaLinux/PetaLinux.sh
Icon=/home/ac/PetaLinux/PetaLinux.png
Terminal=true
Type=Application

qtcreator.sh

#!/bin/bash
export /home/arci/Xilinx/PetaLinux/hdmi_test/images/linux/sdk/environment-setup-cortexa9t2hf-neon-xilinx-linux-gnueabi
bash -c "/home/arci/Qt5.14.2/Tools/QtCreator/bin/qtcreator"

qtcreator.desktop

[Desktop Entry]
Name=qtcreator
Comment=qtcreator
Exec=/home/arci/qtcreator.sh
Icon=/home/arci/Qt5.14.2/icon.png
Terminal=false
Type=Application

posted @ 2019-12-27 15:06  阿C  阅读(1556)  评论(0编辑  收藏  举报