How to fix error xfce can’t open file manager


Example error 1:

Failed to execute default File Manager

Failed to execute default File Manager

Example error 2: when run command:

exo-open --launch FileManager

Get error:

gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

Solution: use Xfce Theme Manager

Step 1:

yum install xfconf-devel -y

Result:

[root@tutorialspots ~]# yum install xfconf-devel -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.host-engine.com
 * epel: mirror.steadfastnet.com
 * extras: mirrors.usinternet.com
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.pit.teraswitch.com
 * updates: repos-tx.psychz.net
Resolving Dependencies
--> Running transaction check
---> Package xfconf-devel.x86_64 0:4.12.0-3.el7 will be installed
--> Processing Dependency: dbus-glib-devel for package: xfconf-devel-4.12.0-3.el7.x86_64
--> Processing Dependency: pkgconfig(dbus-glib-1) for package: xfconf-devel-4.12.0-3.el7.x86_64
--> Running transaction check
---> Package dbus-glib-devel.x86_64 0:0.100-7.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                                  Arch                            Version                                Repository                     Size
=====================================================================================================================================================
Installing:
 xfconf-devel                             x86_64                          4.12.0-3.el7                           epel                           35 k
Installing for dependencies:
 dbus-glib-devel                          x86_64                          0.100-7.el7                            base                           53 k

Transaction Summary
=====================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 88 k
Installed size: 538 k
Downloading packages:
(1/2): dbus-glib-devel-0.100-7.el7.x86_64.rpm                                                                                 |  53 kB  00:00:00
(2/2): xfconf-devel-4.12.0-3.el7.x86_64.rpm                                                                                   |  35 kB  00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                270 kB/s |  88 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : dbus-glib-devel-0.100-7.el7.x86_64                                                                                                1/2
  Installing : xfconf-devel-4.12.0-3.el7.x86_64                                                                                                  2/2
  Verifying  : dbus-glib-devel-0.100-7.el7.x86_64                                                                                                1/2
  Verifying  : xfconf-devel-4.12.0-3.el7.x86_64                                                                                                  2/2

Installed:
  xfconf-devel.x86_64 0:4.12.0-3.el7

Step 2: download source code:

cd /tmp
wget https://github.com/KeithDHedger/Xfce-Theme-Manager/archive/v3.8.zip
unzip v3.8.zip
cd Xfce-Theme-Manager-3.8

Step 3: ./autogen.sh

[root@tutorialspots Xfce-Theme-Manager-3.8]# ./autogen.sh
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GLIB... yes
checking for XCURSOR... yes
checking for XFCE4UI... no
INFORMATION ... Not using Xfce4 dialog header
checking for XFCONF... yes
checking for unzip... true
Failed to parse arguments: Cannot open display:
./configure: line 5044: test: -gt: unary operator expected
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Xfce-Theme-Manager/app/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Step 4:

make
make install

Step 5:

xfce4-panel --restart

Now you can see Xfce Theme Manager in menu Settings

Xfce Theme Manager

Step 6: change controls
Xfce Theme Manager change controls

Done!

Leave a Reply