appium-desktop 命令行啟動(dòng)日志會(huì)報(bào):
cmd@TR:~/AppImage$ appium-desktop-1.6.2-x86_64.AppImage
Gtk-Message: 16:03:12.974: Failed to load module "unity-gtk-module"
Gtk-Message: 16:03:12.979: Failed to load module "unity-gtk-module"
Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
[Appium] Welcome to Appium v1.8.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[Appium] Welcome to Appium v1.8.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
安裝的XMind 命令行啟動(dòng)也會(huì)報(bào):
?cmd@TR:/opt/xmind/XMind_amd64$ XMind
Gtk-Message: 16:16:57.274: Failed to load module "unity-gtk-module"
Gtk-Message: 16:16:57.525: Failed to load module "unity-gtk-module"
搜 ubuntu 18.04 failed to load module unity-gtk-module 搜到
發(fā)現(xiàn)有提到unity-gtk3-module 于是:
嘗試安裝 unity-gtk2-module unity-gtk3-module
cmd@TR:/opt/xmind/XMind_amd64$ sudo apt install unity-gtk2-module unity-gtk3-module
正在讀取軟件包列表... 完成
正在分析軟件包的依賴(lài)關(guān)系樹(shù)
正在讀取狀態(tài)信息... 完成
將會(huì)同時(shí)安裝下列軟件:
libunity-gtk2-parser0 libunity-gtk3-parser0 unity-gtk-module-common
下列【新】軟件包將被安裝:
libunity-gtk2-parser0 libunity-gtk3-parser0 unity-gtk-module-common unity-gtk2-module unity-gtk3-module
升級(jí)了 0 個(gè)軟件包,新安裝了 5 個(gè)軟件包妓蛮,要卸載 0 個(gè)軟件包钧惧,有 0 個(gè)軟件包未被升級(jí)。
再行嘗試啟動(dòng)上述appium-desktop或xmind完美解決 failed to load module unity-gtk-module 命令行啟動(dòng)的話啟動(dòng)日志不會(huì)報(bào)該錯(cuò)了。
另外平挑,加說(shuō)些內(nèi)容 目前18.04 解壓zip形式安裝的xmind8
無(wú)法正常生成啟動(dòng)desktop文件客税,需要自己添加.desktop 。
我是個(gè)人習(xí)慣安裝到了/opt/目錄下蹈胡,unzip xmind-pro-8-linux.zip -d /opt/xmind渊季。
sudo gedit /usr/share/applications/xmind.desktop 或者 ~/.local/share/applications 都可以。
內(nèi)容:
[Desktop Entry]
Version = 1.0
Encoding=UTF-8
Type=Application
Name=Xmind
Comment=Xmind
Path=/opt/xmind/XMind_amd64
Exec=/opt/xmind/XMind_amd64/XMind
Icon=/opt/xmind/XMind_6_icon.png
Terminal=false
Categories=Application
StartupWMClass=XMind
注意給下權(quán)限sudo chmod 755 xmind.desktop
自己搜索 xmind icon 128x128 找一個(gè)差不多的放入路徑/opt/xmind/ 即可罚渐。