Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
深度文管启动 desktop 丢失参数
Experiences and Insight
633
views ·
0
replies ·
To
floor
Go
海天鹰
deepin
2020-07-23 17:26
Author
本帖最后由 sonichy 于 2020-7-23 09:38 编辑
为了使 Chrome 能打开本地文件跨域,添加启动参数 --allow-file-access-from-files。
把 google-chrome 的 desktop 的 Exec 改为:
Exec=google-chrome-stable --allow-file-access-from-files
从深度文管启动无效,其他文管有效,这个问题很久了。
如果把这个 desktop 放到启动器里启动,可以识别参数。步骤:启动器里的Chrome发送到桌面,重命名desktop文件(启动器好像对相同的文件名进行了过滤),注意不是修改desktop的Name属性,然后复制到 ~/.local/share/applications
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
为了使 Chrome 能打开本地文件跨域,添加启动参数 --allow-file-access-from-files。
把 google-chrome 的 desktop 的 Exec 改为:
Exec=google-chrome-stable --allow-file-access-from-files
从深度文管启动无效,其他文管有效,这个问题很久了。
如果把这个 desktop 放到启动器里启动,可以识别参数。步骤:启动器里的Chrome发送到桌面,重命名desktop文件(启动器好像对相同的文件名进行了过滤),注意不是修改desktop的Name属性,然后复制到 ~/.local/share/applications