之前在安装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以上的版本,官方已经给出了回复:

ubuntu18.04安装dash-to-dock出错的问题

解决方案:

打开网址:https://github.com/micheleg/dash-to-dock/tree/gnome-3.30

下载zip文件解压后进入解压文件

输入一下命令:make

make install

然后按住Alt+f2,输入r回车即可

 

看看效果:

ubuntu18.04安装dash-to-dock出错的问题

现在已经可以了,之前百度了好多都没解决,还是谷歌给力啊。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2021-07-17
  • 2021-10-05
  • 2022-12-23
  • 2021-10-26
  • 2021-12-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
相关资源
相似解决方案