首先查看gnome shell 的version
代码语言:javascript复制gnome-shell --version
GNOME Shell 3.28.4
下载对应的版本。
查看这个扩展的uuid:
代码语言:javascript复制unzip -c ./openweather-extension@jenslody.de.v94.shell-extension.zip metadata.json | grep uuid | cut -d " -f4
# openweather-extension@jenslody.de
进入目录安装扩展
代码语言:javascript复制mkdir -p ~/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de
unzip -q ./openweather-extension@jenslody.de.v94.shell-extension.zip -d ~/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/
启用扩展:
代码语言:javascript复制gnome-shell-extension-tool -e openweather-extension@jenslody.de