以前在安裝dash-to-dock出現了這種錯誤:git
TypeError: ExtensionUtils.initTranslations is not a functiongithub
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
@shell
:1:43app
這是由於dash-to-dock不支持3.32以上的版本,官方已經給出了回覆:blog
解決方案:ip
打開網址:https://github.com/micheleg/dash-to-dock/tree/gnome-3.30get
下載zip文件解壓後進入解壓文件it
輸入一下命令:makeio
make installfunction
而後按住Alt+f2,輸入r回車便可
看看效果:
如今已經能夠了,以前百度了好多都沒解決,仍是谷歌給力啊。