unity-gtk-モジュールをロードできません。

unity-gtk-モジュールをロードできません。

Gnome 3を搭載したCentOS Linuxバージョン7.4.1708(コア)でUnity GTKを使用する際にいくつかの問題があります。

$ emacs
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module "unity-gtk-module"

$ evince
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module "unity-gtk-module"

gtk2-enginesパッケージをインストールしようとしましたが、問題は解決しませんでした。

$ sudo yum install gtk2-engines*
Package gtk2-engines-2.20.2-7.el7.x86_64 already installed and latest version
Package gtk2-engines-devel-2.20.2-7.el7.x86_64 already installed and latest version

再インストールしてください。

$ sudo yum reinstall gtk2-engines*                                                                                                                                                                                                                              
[sudo] password for klaus: 
[...]
Resolving Dependencies
--> Running transaction check
---> Package gtk2-engines.x86_64 0:2.20.2-7.el7 will be reinstalled
---> Package gtk2-engines-devel.x86_64 0:2.20.2-7.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies
======================================================================
Package         Arch          Version       Repository    Size
======================================================================
Reinstalling:
 gtk2-engines       x86_64    2.20.2-7.el7  epel          301 k
 gtk2-engines-devel x86_64    2.20.2-7.el7  epel          17 k

Transaction Summary
======================================================================
Reinstall  2 Packages

Total download size: 318 k
Installed size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): gtk2-engines-2.20.2-7.el7.x86_64.rpm       | 301 kB  00:00:00     
(2/2): gtk2-engines-devel-2.20.2-7.el7.x86_64.rpm |  17 kB  00:00:00     
----------------------------------------------------------------------
Total                                    2.7 MB/s | 318 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gtk2-engines-2.20.2-7.el7.x86_64         1/2 
  Installing : gtk2-engines-devel-2.20.2-7.el7.x86_64   2/2 
  Verifying  : gtk2-engines-2.20.2-7.el7.x86_64         1/2 
  Verifying  : gtk2-engines-devel-2.20.2-7.el7.x86_64   2/2 

Installed:
  gtk2-engines.x86_64 0:2.20.2-7.el7 
  gtk2-engines-devel.x86_64 0:2.20.2-7.el7                                                                                                 

Complete!

...しかし、まだエラーが発生します。

ベストアンサー1

おすすめ記事