——————————————————————————————————————————————————————How to add more apps to the Ubuntu Messaging Menu
By Joey, Published October 14, 2010
Share story:
0diggsdigg
Tweet
The Ubuntu Messaging Menu is a fantastic idea: it contains handy ‘launchers’ for supported applications and stores notifications from them until you’re ready to act or respond.
By default Ubuntu comes with three Messaging Menu entries: Evolution (Mail), Empathy (IM Client) and Gwibber (Social Client) and we’ve previously covered how you can add full Thunderbird, GMail & other application support to it.
But what about applications that show no-sign of integrating?
Mario Tomljenović sent us the following tip to add custom entries to the menu. Whilst this won’t provide notification support – which is sort of the point of the Messaging Menu – but it’s nevertheless an easy way to insert a simple launcher to a ‘messaging’ application within it.
Say we want to add popular MSN application Emesene to the menu. We need to open Terminal (Applications > Accessories > Terminal) and enter the following command to ‘create’ the menu entry:
gksu gedit /usr/share/indicators/messages/applications/emesene
Next we we would specify the path to the .desktop file in the text editor:
/usr/share/applications/emesene.desktop
Save the document and the entry now appears in the Messaging Menu, like so: -
You can add pretty much any application you want to the menu so long as it has a launcher in /usr/share/applications.
好啦,我英语很菜的啦。
大概的意思是这个邮件图标的功能很有趣,我们可以加自己喜欢的软件快捷方式到那个邮件图标里啦
方法很简单就三步:(这里我们以"firefox"为例)
一、在 /usr/share/indicators/messages/applications/这个目录里用gedit建立一个文件
代码: 全选
gksu gedit /usr/share/indicators/messages/applications/firefox/
二、这时我们在文本编辑器里将指定的软件快捷方式文件路径复制进入,什么你不知道软件快捷方式文件的路径。
嘿嘿,别急一般都在/usr/share/applications/这个目录下,查看一下就行了。,
代码: 全选
cd /usr/share/applications/ && ls -al
OK,行了,连注销也不用,现在看一下,爽不,还不快来一个/usr/share/applications/firefox.desktop