ubuntu - 将应用程序添加到 'Open with other applications' 对话框

标签 ubuntu komodo

我今天早些时候安装了 Komodo,但无法在“使用其他应用程序打开”对话框中找到它。除此以外,该应用程序按预期工作。

使用 ubuntu 11.10

最佳答案

答案的 URL 已关闭

方法如下:

在 ~/.local/share/applications 中创建名为 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

同时更新属性/打开方式并将其设置为默认值

关于ubuntu - 将应用程序添加到 'Open with other applications' 对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8304928/

相关文章:

ruby - sudo ./starling start 运行良好,但 sudo service starling start 失败

docker - 尝试构建 Docker 镜像时找不到 Conda

c++ - 无法在 Ubuntu 上将共享库与 Eclipse 链接

java Api目录? komodoedit java 自动完成功能

debugging - 如何调试 SCons 脚本

linux - API Connect 在更新架构时显示 "Cannot GET/apim/"错误

c++ - 虚拟机上的opencv视频捕获和摄像头访问

mysql - 连接到 Mysql 时,将 Xdebug 与 Netbeans 或 Komodo 结合使用失败

javascript - 有没有办法让 komodo edit 突出显示以 '$' 美元符号开头的变量?

javascript - javascript 中缩进到下一行