html如何设置使用firefox打开
Tofloor
poster avatar
widon1104
deepin
2019-09-20 19:29
Author
我的firefox是单独下载放在/home/widon/soft目录下面的
widon@widon-PC:~$ cat ~/.local/share/applications/firefox.desktop
[Desktop Entry]
Version=1.0
Name=firefox
Exec=/home/widon/soft/firefox/firefox/firefox
Terminal=false
Icon=/home/widon/soft/firefox/firefox/browser/chrome/icons/default/default128.png
Type=Application
Categories=Development

我现在想在html文件上面右键,然后通过firefox打开html文件,我发现我做不到
添加应用程序,选择”/home/widon/soft/firefox/firefox/firefox“以后,firefox打开了,但是html文件没有在firefox中打开

我的情况下,如何使用右键在firefox打开html文件?



Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2019-09-20 20:00
#1
不是有个打开方式吗?
Reply View the author
avatar
走钢丝
deepin
2019-09-20 20:24
#2
Exec= 那一行,后面要加 %F 之类的占位符才行,不然无法输入参数。。你可以看看其他软件的 desktop 是怎么写的。
Reply View the author