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.

gnome-icon-theme-legacy for xfce on EL7

Currently shiped by EL7, it’s for gnome 3:

In this scenario, we cannot see icons complete on Thunar.
problem is that Thunar still works on gtk2 and we still need the legacy icons.

fetch following src RPMs:

compile and we get:

 

then install the legacy RPM,

working.

I filed following rh bug for tracking…
https://bugzilla.redhat.com/show_bug.cgi?id=1120030

compiling xscreensaver for xfce

well, continue…

 

1. we have xflock4 already, but no xscreensaver ready.
I fetched xscreensaver here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=536981
xscreensaver-5.29-1.fc20.src.rpm

it has dependency on package: libgle

currently libgle-devel and  xorg-x11-reutils are not available in repo.
need to compile manually(maybe they will be ready when you read this post.)

fetch following src.rpm and compile

 

then:

well, Im using centos, if I have to compile the rpm, I need to modify spec.

modify spec:

re-run builddep:

finish the installation:

 

run xfce on EL7

well before this note, you should have read the install notes 1:

Install XFCE on CentOS 7 official release

 

further, we need to add pkgs manually.

1. install nm-applet, which is working on xfce desktop for net device management.

 

2. install im input.(if you use language other than eng. )

 

3. install related pkgs:
shotwell for picture viewing,
xfce4-screenshooter for screensnaps.
xfce4-terminal for xfterm4

 

btw, if you need the flash-player for firefox, check following links out:

flash-plugin-11.2.202.378-0.1.el7.rf.x86_64.rpm

other pkgs please just fell free to choose…

Install XFCE on CentOS 7 official release

Following Notes work on CentOS/RHEL/OEL 7.

As the release is fresh, we dont have rpmfusion packages on XFCE.

Also we dont have RHN access.

 

Alternative for now: install via EPEL repo

 

1. install CentOS 7 release
http://www.centos.org/download/

Minimal install without X window and Desktop setups.

 

2. install EPEL repo.

http://ftp.riken.jp/Linux/fedora/epel/beta/7/x86_64/repoview/epel-release.html

 

3. install XFCE sets.

 

Now OK:

or:

 

Get Necessary Packages:

Still there’s a fatal problem for now, that no thunar packages available yet.
#yum install Thunar thunar  # not work

Trying from scratch
# http://archive.xfce.org/src/xfce/thunar/1.6/Thunar-1.6.3.tar.bz2

Also: following build in progress, waiting…
https://apps.fedoraproject.org/packages/Thunar/builds/

Well ,  thunar package may be available now when you read this note, just ignore the following,

or if not yet ready, please keep noticed.
I tried  to fetch package from F20.

1. the latest version of Thunar is 1.6.3-3.fc21  ,  but EL7 is based on fc21,
google “Thunar-1.6.3-2.fc20.src.rpm” for the location

2. essential tools:

3. packages ready for build:

4.build RPM

RPMs now ready here:

 

Install is ok:

Same issue on xfdesktop,  fetch and compile together.
# google xfdesktop-4.10.2-2.fc20.src.rpm

 

Alternative:
I just saw following builds:

just download directly here:

Thunar    http://koji.fedoraproject.org/koji/buildinfo?buildID=543666
xfdesktop   http://koji.fedoraproject.org/koji/buildinfo?buildID=543669

 

Also xfdesktop have a dependency on desktop-backgrounds-basic

I uploaded all files here:
http://pan.baidu.com/s/1o6OB8ro