#!/usr/bin/env xdg-open [Desktop Entry] Type=Application Icon=/usr/share/icons/matlab.png Name=MATLAB R2011a Comment=Start MATLAB - The Language of Technical Computing Exec=/your matlab directory/bin/matlab -desktop Categories=Development;สุดท้ายเปลี่ยนโหมดในการเข้าถึงไฟล์โดยใช้คำสั่ง sudo chmod 777 /usr/share/applications/matlab.desktop แค่นี้ก็เรียบร้อยแล้วครับ สามารถทดสอบโดยการค้นหาที่ dash bar ได้ครับ
Friday, October 26, 2012
วิธีสร้าง launcher ของ matlab ใน ubuntu
เริ่มต้นให้เราทำการ copy เอา icon ของ matlab ไปไว้ที่ /usr/share/icons/matlab.png ในที่นี้สมมติว่า icon ของเราชื่อว่า matlab.png เสร็จแล้วให้เราสร้างไฟล์ /usr/share/applications/matlab.desktop โดยใส่ content ตามด้านล่าง
Labels:
Matlab in Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment