如何解决 canberra-gtk-module 运行此游戏时出现的问题?

如何解决 canberra-gtk-module 运行此游戏时出现的问题?

似乎我需要移动路径,但我不知道具体该怎么做。看了看这里遇到同样问题的其他人,我已经安装了所有软件包(我猜)。

leo@leo:~/Public/Tesla Sim Linux - light$ ./Tesla-Sim-Linux.x86 
Set current directory to /home/leo/Public/Tesla Sim Linux - light
Found path: /home/leo/Public/Tesla Sim Linux - light/Tesla-Sim-Linux.x86
Mono path[0] = '/home/leo/Public/Tesla Sim Linux - light/Tesla-Sim-Linux_Data/Managed'
Mono config path = '/home/leo/Public/Tesla Sim Linux - light/Tesla-Sim-Linux_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Logging to /home/leo/.config/unity3d/Habrador/Tesla Simulator/Player.log

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.787: Unable to locate theme engine in module_path: "adwaita",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.787: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.788: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.819: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.819: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.819: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.820: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.820: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.820: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.820: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.820: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.821: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.822: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.822: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.822: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.822: Unable to locate theme engine in module_path: "murrine",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.822: Unable to locate theme engine in module_path: "murrine",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.823: Unable to locate theme engine in module_path: "pixmap",

(Tesla-Sim-Linux.x86:12120): Gtk-WARNING **: 12:10:05.823: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: 12:10:05.824: Failed to load module "canberra-gtk-module"
leo@leo:~/Public/Tesla Sim Linux - light$ 

但是我已经安装了 canberra-gtk-module 和其他东西,这是证据。

leo@leo:~$ sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
[sudo] password for leo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcanberra-gtk3-module is already the newest version (0.30-7ubuntu2).
libcanberra-gtk-module is already the newest version (0.30-7ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

答案1

文件路径名称中包含 x86,因此您必须安装 32 位版本的软件包

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libcanberra-gtk-module:i386 libcanberra-gtk3-module:i386   gtk2-engines-murrine:i386

以及其他软件包

sudo apt-get install adwaita-icon-theme

相关内容