之前在安装dash-to-dock出现了这种错误:
TypeError: ExtensionUtils.initTranslations is not a function
Stack trace:
init@/home/luxuan/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/prefs.js:856:5
_getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:68:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:82:31
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:235:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:389:5
@
:1:43
这是因为dash-to-dock不支持3.32以上的版本,官方已经给出了回复:
解决方案:
打开网址:https://github.com/micheleg/dash-to-dock/tree/gnome-3.30
下载zip文件解压后进入解压文件
输入一下命令:make
make install
然后按住Alt+f2,输入r回车即可
看看效果:
现在已经可以了,之前百度了好多都没解决,还是谷歌给力啊。