答案的网址已关闭
操作方法如下:
在 ~/.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
Run Code Online (Sandbox Code Playgroud)
注意:可执行文件的路径%f
后面是应用程序出现在“打开方式”菜单中所必需的。
在鹦鹉螺号中,
- right click on file
- open with other applications
- show other applications
- select the one created e.g flashplayer
Run Code Online (Sandbox Code Playgroud)
还要更新属性 / open-with 并将其设置为默认值
归档时间: |
|
查看次数: |
3066 次 |
最近记录: |