之前在安裝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回車即可
看看效果:
現在已經可以了,之前百度了好多都沒解決,還是谷歌給力啊。