Oracle的SQL Developer 在Ubuntu上以表徵圖顯示且雙擊能運行

來源:互聯網
上載者:User

Oracle的SQL Developer 在Ubuntu上以表徵圖顯示且雙擊能運行

終端進入/usr/share/applications,
 
建立檔案  gedit SqlDeveloper.desktop
添加如下內容:

[Desktop Entry]
 Name=SQLDeveloper
 Comment=SQLDeveloper
 Exec=/home/chaohua/app/chaohua/product/11.2.0/dbhome_1/sqldeveloper/sqldeveloper.sh
 Icon=/home/chaohua/app/chaohua/product/11.2.0/dbhome_1/sqldeveloper/icon.png
 Terminal=false
 Type=Application
 Categories=Application;Development;

安裝完後在Dash home 可以看到想要的表徵圖
 
如若不能運行請在終端打ls -al 看 .sqldeveloper所在使用者是不是你的使用者,如若不是請用chown -R chaohua chaohua .sqldeveloper改成自己 在用chmod 775 .sqldeveloper改成可執行
 
可在Dash Home  中搜此表徵圖拖到案頭即可

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.