打开链接跳转到chrome中是开始页
Tofloor
poster avatar
sinknight
deepin
2020-11-06 17:51
Author
昨天更新了chrome之后,从外部点击链接,打开了chrome,总是打开新窗口但是没有跳页面


从商店中卸载了重装也是一样

Reply Favorite View the author
All Replies
scv
deepin
2020-11-06 18:32
#1

出现这个问题跟 google-chrome.desktop 有关,它缺少一个参数 %U
打开文件:/usr/share/applications/google-chrome.desktop
找到下面这行:
Exec=/opt/apps/cn.google.chrome/files/google-chrome
在末尾添加一个空格和 %U:
Exec=/opt/apps/cn.google.chrome/files/google-chrome %U
然后保存文件即可。

Reply View the author
sinknight
deepin
2020-11-06 18:37
#2
scv

出现这个问题跟 google-chrome.desktop 有关,它缺少一个参数 %U
打开文件:/usr/share/applications/google-chrome.desktop
找到下面这行:
Exec=/opt/apps/cn.google.chrome/files/google-chrome
在末尾添加一个空格和 %U:
Exec=/opt/apps/cn.google.chrome/files/google-chrome %U
然后保存文件即可。

解决了,谢谢!

Reply View the author
走钢丝
deepin
2020-11-06 18:52
#3
scv

出现这个问题跟 google-chrome.desktop 有关,它缺少一个参数 %U
打开文件:/usr/share/applications/google-chrome.desktop
找到下面这行:
Exec=/opt/apps/cn.google.chrome/files/google-chrome
在末尾添加一个空格和 %U:
Exec=/opt/apps/cn.google.chrome/files/google-chrome %U
然后保存文件即可。

看来又是打包的问题。

@jingle


Reply View the author
is-not-lie
deepin
2020-11-16 05:11
#4
sinknight

解决了,谢谢!

[哭]可这是个只读文件啊, 它不让我改。。。。

Reply View the author
SamLukeYes
deepin
2020-11-16 05:18
#5
is-not-lie

[哭]可这是个只读文件啊, 它不让我改。。。。

你需要用 sudo[尾]

顺便推荐一波 vivaldi,用官网的版本(可以从星火商店下载),可以远离 deepin 的胡乱打包[喜欢]

Reply View the author