[问题求助] 在浏览器中无法通过 xdg-open无法打开绑定的程序
桌面专业版14次浏览 ·0个回复
电梯直达到第
小黄鱼
uos^1
发表于2025-03-14 02:37
楼主

我的.desktop

[Desktop Entry]
Name=FastReportApplication
Exec=/data/home/jtzx/Program/fastreport/linux-arm64/linux-arm64/FastreportRegister %U
Terminal=true
Type=Application
Icon=/data/home/jtzx/Program/fastreport/linux-arm64/linux-arm64/source/img/report.png
MimeType=x-scheme-handler/jtprint
StartupNotify=true
Categories=Utility

桌面图标已经产生了,可以点击图标打开可执行程序,但是xdg-open打不开,在浏览器中使用window.location.href='jtprint://action'也不能打开,都只是闪现一下终端命令行就没反应了。

能查到关联协议

jtzx@jtzx-PC:/data/home/jtzx/ydyksoft/redis$ xdg-mime query default x-scheme-handler/jtprint  # :ml-citation{ref="3,4" data="citationList"
jtprint.desktop

我主要是想通过浏览器调用唤醒UOS上的可执行程序,求各位大佬拯救我

回复收藏只看作者
所有回复

暂无回复,快来抢沙发吧

发布帖子

版块推荐

查看更多>

  • 桌面家庭版
  • 应用软件
  • 新闻公告
  • 桌面专业版
  • 资源分享
  • 社区活动

小编推荐

换一批
  • 年度更新!统信UOS桌面操作系统V20专业版(1070)来了
  • 统信软件官方知识分享平台介绍
  • 统信UOS家庭版入门简易攻略集合!
  • Deepin-wine适配知识库&工具包(最新)

光荣榜

  • 周榜
  • 月榜
  • 总榜
  • 1𝐌𝐫.⠀𝐖𝐚𝐢46个帖子
  • 2星罗秋旻18个帖子
  • 3娃哈哈11个帖子
  • 4锟斤拷10个帖子
  • 5139******3110个帖子
  • 6飞鸟9个帖子