GNOME-BROWSER扩展和Chrome-gnome-shell负载扩展如何而无需重新加载gnome会话
gnome-extensions> gnome-extensions man page说:
命令解开扩展文件并将其移至预期 位置 用户的$ home,以便将其加载到下一个会话中。
因此,要通过脚本安装NetSpeed扩展程序,我们必须执行以下操作:
#!/bin/bash
gnome-extensions install --force [email protected]
killall -HUP gnome-shell
sleep 5s
gnome-extensions enable
请检查如何通过命令行正确启动Gnome-Shell扩展程序? 有关更多详细信息。
但是事实是,如果我们使用 gnome-browser-extension-extension-extension 和 Chrome-gnome-shell 从,然后不会重新加载Gnome会话。它只是顺利完成工作。
我想在命令行工具上改进我的脚本。如果我可以实现相同的机制以安装扩展而无需重新加载gnome会话,那么我的脚本将会更加抛光。这是这个问题的背景。
那么,Gnome-browser-Extension和Chrome-gnome-shell载荷扩展如何而不重新加载gnome会话?
gnome-extensions man page says:
The command unpacks the extension files and moves them to the expected
location in the
user’s $HOME, so that it will be loaded in the next session.
so to install netspeed extension via script, we have to do something like:
#!/bin/bash
gnome-extensions install --force [email protected]
killall -HUP gnome-shell
sleep 5s
gnome-extensions enable
Please check How to properly start a Gnome-Shell extension via command line? for more details.
But the thing is, if we use gnome-browser-extension and chrome-gnome-shell to install extensions from https://extensions.gnome.org/ , then it does not reload the gnome session. It just smoothly gets the work done.
I want to improve my script on Command line tool to install GNOME Shell extensions. If i can implement the same mechanism to install extension without reloading gnome session then my script will be more polished. This is the context of this question.
So, how does gnome-browser-extension and chrome-gnome-shell load extension without reloading gnome session?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要安装gnome扩展名而无需重新加载gnome会话,您必须运行:
或
To install gnome extensions without reloading the gnome session, you have to run:
or,