B.nana Technology Log in
Version e41b1da committed by Binokkio.

Compiz on Arch Linux

The Compiz packages are currently in the Arch User Repository. Tools like yaourt can make installing these a lot easier. But the following information and script should also yield a basic working Compiz window manager.

Dependency tree

The following tree shows the dependencies between the Compiz packages. Every package depends on the nodes in the tree above it.

Install script

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash

(

set -e

work_dir="compiz-install-$(date -I)"

if [[ -d "$work_dir" ]]
then
        echo "$work_dir already exists, exiting"
        exit 1
fi

mkdir $work_dir
cd $work_dir

packages=("compiz-core" "libcompizconfig" "compizconfig-python" "ccsm" "compiz-bcop" "compiz-fusion-plugins-main" "compiz-fusion-plugins-extra")

for package in "${packages[@]}"
do
        wget "https://aur.archlinux.org/cgit/aur.git/snapshot/$package.tar.gz"
        tar -xf "$package.tar.gz"
        cd $package
        makepkg -si
        cd ..
done

)

.xinitrc

Replace or add the exec line in ~/.xinitrc to have Compiz run as a standalone window manager.

exec compiz ccp

The above will yield a black screen with a mouse cursor. I generally combine it with the delayed start of a terminal emulator, ending up with:

sleep 1 && tilda &
exec compiz ccp