这可能是一个奇怪的权限问题,但运行 ls -l 似乎没问题。我手动将多个扩展从本地扩展目录移到 /usr/share/gnome-shell/extensions 中。但是,这些扩展不再显示在 Gnome Tweak Tool 中,也不再适用。
以下是输出ls -l /usr/share/gnome-shell/extensions
total 80
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 5 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 5 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 4 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 3 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 native-window-placement@gnome-shell-extensions.gcampax.github.com
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 2 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
drwxr-xr-x 4 root root 4096 Aug 8 20:28 suspend-button@laserb
drwxr-xr-x 3 root root 4096 Aug 8 20:28 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
drwxr-xr-x 2 root root 4096 Apr 11 23:10 [email protected]
gnome-shell-extensions.gcampax.github.com 上的扩展随 Ubuntu Gnome 一起安装,并且运行正常。但是,所有其他扩展在 Tweak Tool 中根本就不显示。有什么想法吗?
答案1
可能还会有一个架构目录。扩展中的架构需要复制到该架构文件夹中。
之后,必须有一个触发器,以便调整工具或活动配置器可以发现它。(配置器本身就是一个扩展)。我还没有发现那个触发器。它实际上可能是文件 ~/.config/dconf/user