Enable compiz on EL7 with xfce

Im running CentOS7 and EPEL repo, with XFCE desktop.

by design compiz packages may not be prepared for EL release. but if you’re planning to use EL7( like Redhat EL, centos, Oracle Linux 7). and would like to enable compiz/emerald. please continue reading…

 

all packages are based on those fc20 src.rpms

You can visit following link for all src.RPMs, and RPMs compiled, mentioned here:

http://pan.baidu.com/s/1o6OB8ro
As before we need to install compiz as following:

So we are going to check out following src RPMs:  (and deps for compile)

packages like mate* are just prepared for compiling, we only need compiz-xfce after compile, no compiz-mate required then

Issues hit:
1. when installing compiz*

Error: Package: 1:compiz-0.8.8-25.el7.centos.x86_64 (/compiz-0.8.8-25.el7.centos.x86_64)
Requires: emerald
You could try using –skip-broken to work around the problem

but emerald also has dependency when running yum-builddep on compiz-devel
[fix]:
compile compiz, compiz-xfce and compiz-devel first,  install with “rpm –nodeps” option to force.
then build emerald package and install

2.  when building fusion-icon:

[fix]:
the condition is checking fedora version, but we are running EL, it’s safe to comment out the condition.

after the change: build from new spec, but not the src.rpm

after all packages built and installed, run fusion-icon, working!

 

ok , if you need to install RPMs directly, (not like to build your own.) please check out the links above.

and  cd RPMS/x86_64 or noarch, following * means the version:

if  you r using EPEL and xfce, all deps should be solved directly, if not please just find the broken rpms in the link lists.

Then,  after the installation, we can safely drop ALL mate related RPMs (they were just prepared to compile compiz* packages, while we only need compiz-xfce and compiz)

finally, If  you r using RHEL or OracleLinux, you may not hit following issue.

on CentOS, when you running compiz with cube, it may require access file

It’s safely to ignore,  or you can copy from other box, cover the folder “/usr/share/pixmaps/redhat”

As I was using OracleLinux 6, so I package a zip here:
http://pan.baidu.com/s/1o6OB8ro#dir/path=%2FSITE%2FEL7%2Fmy_app

unzip and copy folder to the target.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.