Ubuntu 22.04 amd64下Gnome Shell扩展无法启用且始终处于INITIALIZED状态求助
Ubuntu 22.04 amd64下Gnome Shell扩展无法启用且始终处于INITIALIZED状态求助
各位好,我碰到了一个挺头疼的问题:我的Ubuntu 22.04 amd64系统里,所有系统托盘的Shell扩展突然就消失了,而且看起来都处于未激活状态。我已经试过网上(包括本站)不少常见的解决办法,但都没起效,感觉我的情况有点特殊。如果我其实漏了什么简单的步骤,先提前说声抱歉!
下面是我的具体情况:
- 我检查了「Extension Manager」,顶部的总开关是打开的,我也反复切换过好几次。同时确认了dconf的相关设置,扩展并没有被全局禁用。
- 当然也试过在「Extension Manager」里手动启用扩展:开关能拨到开启状态,但完全没效果。重启Extension Manager之后,开关又变回关闭状态了。
- 运行
gnome-extensions list -d命令,只有4个预装扩展显示为「ENABLED」状态,其他所有扩展都是「INITIALIZED」。其中一个正常工作的是桌面图标扩展ding,它确实能正常显示桌面图标。 - 那些处于「INITIALIZED」状态的扩展,就算我用
gnome-extensions enable/disable ...命令去操作,状态也还是保持不变。
我已经尝试过的操作:
- 彻底卸载并重新安装gnome-shell-extensions
- 清空
~/.local/share/gnome-shell/目录 - 安装「user themes」扩展
下面是扩展列表的示例,包含正常工作的ding和突然失效的espresso:
oliver@kempen:~/.config/dconf> gnome-extensions list -d ... ding@rastersoft.com Name: Desktop Icons NG (DING) Description: Adds icons to the desktop. Fork of the original Desktop Icons extension, with several enhancements . Path: /usr/share/gnome-shell/extensions/ding@rastersoft.com URL: https://gitlab.com/rastersoft/desktop-icons-ng State: ENABLED ... espresso@coadmunkee.github.com Name: Espresso Description: Espresso disables the usual auto suspend and screensaver functionality and optionally Night Light with options to show an Espresso icon in the top panel, to enable Espresso when a fullscreen application is running, to restore state across reboots, to provide notifications, to enable Espresso when specific applications are running, or to pause Night Light when Espresso is enabled or only when specific applications are running. Espresso also provides some support for docking stations including options to enable Espresso when charging and/or when docked to external monitors and to allow temporarily overriding the docking support without affecting the stored state. Espresso is a fork of the Caffeine extension. Please leave feedback or report issues through the Extension Homepage Path: /home/oliver/.local/share/gnome-shell/extensions/espresso@coadmunkee.github.com URL: https://github.com/coadmunkee/gnome-shell-extension-espresso Version: 8 State: INITIALIZED
真心感谢各位能给我一些思路和建议!
备注:内容来源于stack exchange,提问作者Oliver Weise




