Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: how to install compiz on Kali 1.0.4 No sid repo!

  1. #1
    Member
    Join Date
    Aug 2013
    Location
    Italy
    Posts
    63

    Lightbulb How to install Compiz on Kali linux No sid repo!

    Hello to all! I noticed with regret that in Kali1.0.4 and 1.0.5 it is impossible to install compiz, and sid repo no longer work.
    To solve this problem created my personal solution, sprero helpful to those who love me as graphical effects compiz (warning only works with the operating system installed is not tested on persistent usb or virtual machines tested on kali 1.0.4 32bit kali 1.0.5 32bit )
    we start
    1. Install gdebi
    Code:
    apt-get install gdebi
    2. Download the necessary packages:
    . python-compizconfig_0.8.4-2_i386.deb
    Code:
    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
    Code:
    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
    Code:
    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
    Code:
    wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-control-center/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
    3. Create the following directories:
    Code:
    mkdir /root/rep/
    Code:
    mkdir /root/rep/compiz-gtk_0.8.4-4_i386/
    4. Extract the package compiz-gtk_0.8.4-4_i386 into the created directory
    Code:
    dpkg-deb -x compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/
    Code:
    dpkg-deb -e compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/
    . Edit the control file
    Code:
    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
    . Edit pack
    Code:
    dpkg-deb -b /root/rep/compiz-gtk_0.8.4-4_i386 /root/rep/compiz-gtk_0.8.4-4_i386.deb
    5. Created directory
    Code:
    mkdir /root/rep/python-compizconfig_0.8.4-2_i386/
    6. Extract the package python-compizconfig_0.8.4-2_i386 into the created directory
    Code:
    dpkg-deb -x python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386/
    Code:
    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
    Code:
    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
    Code:
    leafpad /root/rep/python-compizconfig_0.8.4-2_i386/usr/share/python-support/python-compizconfig.public
    . Delete all copy and paste this text
    Code:
    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
    Code:
    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
    Code:
    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
    Code:
     dpkg-deb -b  /root/rep/python-compizconfig_0.8.4-2_i386 /root/rep/python-compizconfig_0.8.4-2_i386.deb
    7. Install the dependencies that are needed
    Code:
    gdebi /root/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb
    Code:
    gdebi /root/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
    8. Edit your sources.list adding deb http://ftp.us.debian.org/debian squeeze main
    Code:
    leafpad /etc/apt/sources.list
    .My sources.list
    Code:
    # 
    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
    9. Update system
    Code:
    apt-get update
    10. Install compiz
    Code:
    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
    11. Install compiz-gtk_0.8.4-4_i386 previously edited
    Code:
    gdebi /root/rep/compiz-gtk_0.8.4-4_i386.deb
    12. Install python-compizconfig_0.8.4-2_i386.deb
    Code:
    gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
    13. Install other dependencies
    Code:
    apt-get install compiz-gnome compizconfig-settings-manager compiz-dev compiz
    14. Reboot
    Code:
    reboot
    15. After restarting
    . Go on application>system tools>preferences>compiz setting
    . Edit your preferences
    . Run command
    Code:
    compiz --replace
    . My results
    Desktop.jpg
    Desktop2.jpg
    Desktop4.jpg
    16. Edit your sources.list remove deb http://ftp.it.debian.org/debian squeeze main
    Code:
    leafpad /etc/apt/sources.list
    tutorial (next i update video quality)

    Save and exit
    enjoy Free is nice
    P.S
    Warning to those who copy and paste post on the various sites remember to mention the sources
    Free is nice
    P.P.S
    Excuse me for my English really to eat spagetti if there are errors is the fault of goole translate or is mine? I do not know English well

    17. 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
    Code:
    gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
    . if the problem is not resolved install kernel headers
    Code:
    apt-get install -y linux-headers-$(uname -r)
    and reinstall python-compizconfig_0.8.4-2_i386.deb
    Code:
    gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
    if it does not work unformatted simply uninstall the packages
    Last edited by Devil_D; 2013-09-13 at 08:32 PM.

  2. #2
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    53
    No working dear i have seen your this post on some other site as well

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    2
    Agreed. Not working. Had to do complete reinstall on my test box. Steps 11 and steps 12 seem to fail.

  4. #4
    Member
    Join Date
    Aug 2013
    Location
    Italy
    Posts
    63
    Quote Originally Posted by Hitman View Post
    No working dear i have seen your this post on some other site as well
    so sorry guides operate the mistake I did reposytory wrong and I corrected immediately tested and works fine now and ok in the short posterior the video to ensure the safety of guide I apologize very much to err is human and driving up correctly
    thanks for making me notice the error
    Last edited by Devil_D; 2013-09-13 at 08:19 PM.

  5. #5
    Member
    Join Date
    Aug 2013
    Location
    Italy
    Posts
    63
    The guide has been, properly tested and personally I added the video of the test (tested on clean install of Kali linux 1.0.5) now works perfectly again I apologize for the problems arising from my mistake

  6. #6
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    53
    Define the restore process for all steps taken till step 11 & 12 for those who reached there and stuck d in the middle so that they can do a clean installation of compiz again. I did not tested your new modifications yet after testing i will give you my feedback.

  7. #7
    Member
    Join Date
    Mar 2013
    Location
    n0wh3r3
    Posts
    53
    Finally working buddy u did it well done for your hard work :-)

  8. #8
    Junior Member
    Join Date
    Sep 2013
    Posts
    22
    im sorry but jesus what a nightmare to install compiz 0.84 !!!, im running compiz 1:0.9.10+13.10.20130828.2-0ubuntu1 from saucy, easily possible by adding ubuntu repos. Just dont use compiz-gtk, compile emerald 9.5 and use that instead.
    If using kali straight try compiz from quantal or raring, if like me you are running a kali/jessie box run the compiz from saucy, i know it works, am typing on it now
    And dont be using synaptic or anything stupid like that, you need controll over your box on a per-package baisis, use aptitude and examin every package you install, eg when insalling compiz you only need 1 lib from ubuntu, and the compiz binaries, use aptitude to make sure you dont pull in half of ubuntu This is critical also if your upgrading to jessie and want to keep all your kali goodies unbroken

  9. #9
    Member
    Join Date
    Aug 2013
    Location
    Italy
    Posts
    63
    Quote Originally Posted by jubei View Post
    im sorry but jesus what a nightmare to install compiz 0.84 !!!, im running compiz 1:0.9.10+13.10.20130828.2-0ubuntu1 from saucy, easily possible by adding ubuntu repos. Just dont use compiz-gtk, compile emerald 9.5 and use that instead.
    If using kali straight try compiz from quantal or raring, if like me you are running a kali/jessie box run the compiz from saucy, i know it works, am typing on it now
    And dont be using synaptic or anything stupid like that, you need controll over your box on a per-package baisis, use aptitude and examin every package you install, eg when insalling compiz you only need 1 lib from ubuntu, and the compiz binaries, use aptitude to make sure you dont pull in half of ubuntu This is critical also if your upgrading to jessie and want to keep all your kali goodies unbroken
    I tried to install compiz from ubuntu honestly I'm trying to change the installer of 9.10 but I miss some library will soon be ready to change. The question is how did you implement in the library libx11-6 l 'XCB? I'm trying to do it in an experimental but I'm afraid we can generate some break, then I have another small block the damn unity (which I love) and the dependence of gnome gnome control center with my basic goal is not the simplicity of installation more than anything else is not to create any failure of the system and the use of external libraries not possible email if you want your results i would be curious to know which packages and libraries you used could be useful also for other users interested in the topic
    Last edited by Devil_D; 2013-09-16 at 04:06 PM.

  10. #10
    Junior Member
    Join Date
    Sep 2013
    Posts
    22
    Well you need to start with a jessie base if trying to go for 9.10 , all the libs from jessie are up to date with those needed for compiz 9.10.
    Ok to be a bit more specific,
    1) add jessie repo, use aptitude to update your box to jessie, !!!! REMEMBER, FIRST tHING TO DO IS DISABLE AUTOMATIC INSTALLATION OF RECOMENDS, ITS IN THE TOP MENU......... DONOT UPDATE ANYTHING WITH kali IN THE PACKAGE NAME, also do not update any PERL or related packages, also avoid updating anything related to networking,databases, or anything yoursuspicious of........... DO update gnome ( complete, excluding gvfs+related , udisks and upower, also keep blutooth at 3.4 cos its broken in jessie ) the entire x11 stack, messa stack, all the dev stuff uncluding gcc etc, trust me youl mess up a few times till you get the hang of it
    1a) Make sure you have a aceelerated graphics card and have the appropriate drivers loaded and working ( tested on a nvidia 470 )
    2) add saucy to your sources.list and fetch the signing key ( get the entries from http://repogen.simplylinux.ch/ , add them to sources.list, apt-get update, then note the number of the key your missing, then apt-key adv --keyserver keyserver.ubuntu.com --recv-keys < your number > , apt-update again )
    2a) alternativly you can download the debs from ubuntu and gdebi them in, but thats a MUCH inferior method, with aptitude you can check EVERY package you change before they go in, thats essential.
    3) use apitude to install compiz-core etc NOT compiz ( the meta package ) or compiz-gnome or compiz-gconf-backend, you should only be pulling in the compiz binaries, you will not be pulling in any ubuntu libs ( well untill you have to build emerald )
    4) now you have compiz installed ( and all the plugins, compiz-config, obviously ) you need a decorator, the ubuntu gtk decorator brings in half of ubuntu with it, so you need emerald which is a lot better anyway, you will need libdecoration0-dev from ubuntu, but apart from that follow this http://askubuntu.com/questions/28705...tu-13-04-64bit it works flawlesly with 9.10
    5) download some emerald themes http://gnome-look.org/?xcontentmode=103 and load em in with the theme manager
    6) use compiz config to set up compiz ( while still in your gnome-fallback session ) set your window decorator path to /usr/bin/emerald, use sane defaults to start off with
    7) test with compiz --replace, if something is fu##ed you have missed updating a lib, go though aptitude and check
    8) Ok i am running xinit, and using the alternatives system to decide window manager, so use alterantives-configurator to create a new x-window-manager alternative, point it to /usr/bin/compiz, if your using a display manager create a new session file etc ( google )
    9) enjoy bleeding edge compiz
    10) no real bugs to speak of, i am using it for everyday stuff, all the plugins seem to work, but there is one small bug with emerald, the mix of libs when compiling is the prob, i want as few of the ubuntu libs as possible so ended up using libwnck from jessie, think should have used the ubunu one , but since its only 1 bug on 1 type of window am not getting to it yet

    If you want bleeding edge cinnamon, you can do a similar trick , and use the ubuntu daily build cinammon ppa https://launchpad.net/~gwendal-lebih...nnamon-nightly,
    use th followin script to add ppas

    Code:
    #!/bin/bash
    if [ $# -eq 2 ]
    NM=`uname -a && date`
    NAME=`echo $NM | md5sum | cut -f1 -d" "`
    then
    	ppa_name=`echo "$2" | cut -d":" -f2 -s`
    	if [ -z "$ppa_name" ]
    	then
    		echo "PPA name not found"
    		echo "Utility to add PPA repositories in your debian machine"
    		echo "$0 ubunturelease ppa:user/ppa-name"
    	else
    		echo "$ppa_name"
    		echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu $1 main" >> /etc/apt/sources.list
    		apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
    		key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
    		apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    		rm -rf /tmp/${NAME}_apt_add_key.txt
    	fi
    else
    	echo "Utility to add PPA repositories in your debian machine"
    	echo "$0 ubunturelease ppa:user/ppa-name"
    fi

    also if you are going to be messing wth ubuntu packages you will need this script to modify deps ( ubuntu is increasingly renaming their package versions, i think to stop people like us )

    Code:
    #!/bin/bash
     
    if [[ -z "$1" ]]; then
      echo "Syntax: $0 debfile"
      exit 1
    fi
     
    DEBFILE="$1"
    TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1
    OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb
     
    if [[ -e "$OUTPUT" ]]; then
      echo "$OUTPUT exists."
      rm -r "$TMPDIR"
      exit 1
    fi
     
    dpkg-deb -x "$DEBFILE" "$TMPDIR"
    dpkg-deb --control "$DEBFILE" "$TMPDIR"/DEBIAN
     
    if [[ ! -e "$TMPDIR"/DEBIAN/control ]]; then
      echo DEBIAN/control not found.
     
      rm -r "$TMPDIR"
      exit 1
    fi
     
    CONTROL="$TMPDIR"/DEBIAN/control
     
    MOD=`stat -c "%y" "$CONTROL"`
    nano "$CONTROL"
     
    if [[ "$MOD" == `stat -c "%y" "$CONTROL"` ]]; then
      echo Not modfied.
    else
      echo Building new deb...
      dpkg -b "$TMPDIR" "$OUTPUT"
    fi
     
    rm -r "$TMPDIR"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •