2011-11-29 50 views

回答

3

从答案的网址是下降

这里是如何做到这一点:

创建〜/。当地/ share文件/应用程序名为 XXX.desktop如flashplayer.desktop

内容文件的

[Desktop Entry] 
Encoding=UTF-8 
Version=1.0 
Type=Application 
Exec=/home/executable-path %f 
Name=flashplayer 
Comment=Custom definition for flashplayer 
NoDisplay=true 

注意:%f之后,可执行文件的路径对于应用程序出现在“打开方式”菜单中是必需的。

在鹦鹉螺,

- right click on file 
- open with other applications 
- show other applications 
- select the one created e.g flashplayer 

而且更新属性/开放带,并设置为默认

+0

感谢这个 - 最好的答案我发现这个问题。 – alexleonard

+3

%f是非常重要的部分。我有一个预制的.desktop文件,因为%f丢失而无法工作 - 这意味着应用程序接受传递给它的文件位置。 – Vadi

相关问题