ubuntu 12.04下给xilinx ISE 12.04加了个launcher

ubuntu 12.04 添加launcher的方法。

首先,安装:

sudo apt-get install --no-install-recommends gnome-panel

然后,然后自己看吧。。。囧RZ

With the gnome-panel I was now able to create a launcher on the desktop using the command below.

gnome-desktop-item-edit ~/Desktop/ --create-new
In the create launcher dialog I filled it out as follows:
Type: Application
Name: PhpStorm
Command: /bin/bash /home/username/PhpStorm/PhpStorm-117.257/bin/phpstorm.sh

NOTE: You could use /bin/sh or whatever shell you use. I use bash so that is why I put /bin/bash.

To create a shortcut in the Unity Launcher I double clicked the new desktop launcher I created above. (NOTE: If you start PHPStorm by executing the phpstorm.sh you do not get any options at all when right clicking the icon in the Unity Launcher.) Then when PHPStorm was running I was then able to right click on the icon in the Unity Launcher and selected “Lock to Launcher”. Voila! Now I have phpstorm on the Unity Launcher.

用这种方法,给ISE和ModelSim加了launcher。先把PATH那些配置的东西写个脚本,然后是程序的启动指令,这些一起写个脚本找地方放着。然后在桌面用上面方法创建个快捷方式。

 

另一个发现,我把生成的xxx.desktop文件给mv到~/.local/share/applications/下面,我就可以在dash里找到我的刚mv进去的app了,再把它给拖到launcher里,这样就完美了。

好吧,可以专门为我的工具协议个launcher.sh,然后可以弹出个对话框,选择程序。。。貌似扯远了。。。据说有个ubuntu shell的,可以简单做UI,也不是不可以试。。。

posted @   Biiigfish  阅读(983)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
点击右上角即可分享
微信分享提示