ubuntu18.04安裝dash-to-dock出錯的問題


之前在安裝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回車即可

 

看看效果:

現在已經可以了,之前百度了好多都沒解決,還是谷歌給力啊。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM