Post

Install compiz on Kali Linux/debian wheezy on 32 bit

compiz-kali

exactly, this article has too long i keep :)
but unfortunately that dumped, you certainly known his post ;)
okay, first i tell why post article install compiz on kali linux? this answer; but kali linux based on debian wheezy, while debian wheezy not supplied compiz.
the begin i used kali linux, i got confused to install compiz on kali linux and until can installed.
let’s see:

  • install gdebi on your kali linux/debian wheezy
1
# apt-get install gdebi
  • Download necessary packages:

    • python-compizconfig_0.8.4-2_i386.deb
1
# wget http://ftp.us.debian.org/debian/pool/main/c/compizconfig-python/python-compizconfig\_0.8.4-2\_i386.deb  
  • compiz-gtk_0.8.4-4_i386.deb
1
# wget http://ftp.us.debian.org/debian/pool/main/c/compiz/compiz-gtk\_0.8.4-4\_i386.deb
  • libgnome-desktop-2-17_2.30.2-2_i386.deb
1
# wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-desktop/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb
  • libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
1
# wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-control-center/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
  • Create the following directories:
1
# mkdir /(user)/rep
  • for example i use root user
1
# mkdir /root/rep
  • and then
1
# mkdir /root/rep/compiz-gtk_0.8.4-4_i386/
  • Extract the package compiz-gtk_0.8.4-4_i386 into the created directory
1
# dpkg-deb -x compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/
1
# dpkg-deb -e compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/
  • and then edit the control file
1
# leafpad /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/control  
  • Find in text libmetacity-private0 ( 1:2.26.0) delete and replace with libmetacity-private0a

  • Save and exit

  • extract yet

1
# dpkg-deb -b /root/rep/compiz-gtk_0.8.4-4_i386 /root/rep/compiz-gtk_0.8.4-4_i386.deb
  • Created directory
1
# mkdir /root/rep/python-compizconfig_0.8.4-2_i386/
  • Extract the package python-compizconfig_0.8.4-2_i386 into the created directory
1
# dpkg-deb -x python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386/
1
# dpkg-deb -e python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/
  • Edit the control file
1
# leafpad /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/control  
  • Find in text python (« 2.7) delete and replace with python (« 3.0)

  • Save and exit

  • Modify python-compizconfig.public

1
# leafpad /root/rep/python-compizconfig_0.8.4-2_i386/usr/share/python-support/python-compizconfig.public  

Delete all copy and paste this text

1
2
3
4
5
6
7
pyversions=2.5,2.6,2.7

/usr/lib/pyshared/python2.5/compizconfig.so

/usr/lib/pyshared/python2.6/compizconfig.so

/usr/lib/pyshared/python2.7/compizconfig.so
  • Create directory python2.7 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared
1
# mkdir /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
  • Copy compizconfig.so python2.6 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
1
# cp /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.6/compizconfig.so /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
  • Edit pack
1
# dpkg-deb -b /root/rep/python-compizconfig_0.8.4-2_i386 /root/rep/python-compizconfig_0.8.4-2_i386.deb
  • Install the dependencies that are needed
1
2
3
# gdebi /root/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb

# gdebi /root/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
  • Edit your sources.list adding deb http://ftp.us.debian.org/debian squeeze main
1
# leafpad /etc/apt/sources.list  
  • adjust to each your favorite repository, but don’t forget follow above instruction

  • My Sources list:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 

deb http://http.kali.org/ /kali main contrib non-free

deb http://http.kali.org/ /wheezy main contrib non-free

deb http://http.kali.org/kali kali-dev main contrib non-free

deb http://http.kali.org/kali kali-dev main/debian-installer

deb-src http://http.kali.org/kali kali-dev main contrib non-free

deb http://http.kali.org/kali kali main contrib non-free

deb http://http.kali.org/kali kali main/debian-installer

deb-src http://http.kali.org/kali kali main contrib non-free

deb http://security.kali.org/kali-security kali/updates main contrib non-free

deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

deb http://ftp.us.debian.org/debian squeeze main
  • Save and exit

  • Update System

1
# apt-get update
  • Install Compiz
1
# apt-get install libdecoration0 libdecoration0-dev compiz-core libcompizconfig0 libcompizconfig-dev compizconfig-backend-gconf compiz-fusion-bcop compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-plugins-unsupported compiz-plugins
  • Install compiz-gtk_0.8.4-4_i386 previously edited
1
# gdebi /root/rep/compiz-gtk_0.8.4-4_i386.deb
  • Install python-compizconfig_0.8.4-2_i386.deb
1
# gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
  • Install other dependencies
1
# apt-get install compiz-gnome compizconfig-settings-manager compiz-dev compiz
  • Add compize to autostart, and add compize –replace

  • Reboot

  • After restarting, Edit your sources.list remove deb http://ftp.it.debian.org/debian squeeze main

1
# leafpad /etc/apt/sources.list
  • save and exit

  • and the update your system with #apt-get update

  • Optional to be performed only if the launcher does not work

  • in case of failure of the launcher reinstall python-compizconfig_0.8.4-2_i386.deb

1
# gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
  • if the problem is not resolved install kernel headers
1
# apt-get install -y linux-headers-$(uname -r)

and reinstall python-compizconfig_0.8.4-2_i386.deb

1
# gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
  • if it does not work unformatted simply uninstall the packages

Have fun, Arief I hope work, CMIIW ;)

source:kali/debian

This post is licensed under CC BY 4.0 by the author.