LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install Compiz on Slackware 12 (The simple way) [ Nvidia videocard] (https://www.linuxquestions.org/questions/slackware-14/how-to-install-compiz-on-slackware-12-the-simple-way-%5B-nvidia-videocard%5D-584645/)

IsTI37 09-14-2007 08:42 AM

How to install Compiz on Slackware 12 (The simple way) [ Nvidia videocard]
 
Because I have search google and I have not find anything good about installing Compiz Fusion on Slackware KDE 3.5.7 and I have made this tutorial ...

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 1 :

First of all we want to download all resources in the easy way , in this case we will install Slapt-Get and gslapt ..

They can be found at http://software.jaos.org/#slapt-get ..
We download the packages for our slackware version (12 in this tutorial) and we install them ..
Start Slapt-Get with gslapt command or going to K -> System -> Gslapt Package Manager
After we start it we go to EDIT -> Preferences we go to Sources tab and we remove all existing sources , after we removed then we add one of the following repository :

Code:

http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.0/
http://slacky.uglyplace.org/repository/slackware-12.0/
http://filer-1.filearena.net/pub/slackware/addon/slacky/slackware-12.0/


Put all or find anothers !



after this it will ask us to update repositoryes , click Yes and wait ..

( You can search google and compile yourself with Mesa the packages and obtain better quality, unfortunately Slacky.eu didn't do this ...)

Our Slapt-get is configured to my favorite repository and we can start working ...
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 2 :

We write in the Search box Compiz and we install from that list this things :
- ccsm
- Compiz
- compiz-bcop
- compiz-fusion-plugins-extra
- compiz-fusion-plugins-main
- compiz-fusion-plugins-unsupported
- compizconfig-python
- compizconfig-backend-kconfig
- emerald
- emerald-themes
- libcompizconfig

At some packages you will get errors like :

Quote:

compiz: Depends: qt >= 3.3.8-i486-5_slack12.0
compizconfig-backend-kconfig: Depends: qt >= 3.3.8-i486-5_slack12.0
Just Ignore them and press Ok

When we set all things to install gslapt should look like this :

http://i230.photobucket.com/albums/e...napshot2-1.png

When looks like this click http://i230.photobucket.com/albums/e.../snapshot3.png button to download and install compiz , (you can watch your favorite cartoon in this time) ..

Unfortunately we encounter other problems , see next step to resolve them ... READ THE ENTIRE TUTORIAL TO RESOLVE ALL PROBLEMS !!!

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 3 :

We need the libwnck library ! (We write in gslapt search box libwnck and we install it)
We need the pygtk module ! ( The same thing)
We need the sexy-python module ! *Optional but I think usefull*

After we installed this things we can start to do the settings ....

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 4 :

To remove the No Composite Extension found ! error we enter in the terminal the following command:

Quote:

nvidia-xconfig --composite
After we do this we will restart our X server (Ctrl+Alt+Backspace)

Now we will try to start the compiz confgurator ... (Write ccsm in console)
I think if you did it good you should not encounter errors ....
But I encountered myself this error :

Quote:

Traceback (most recent call last):
File "/usr/bin/ccsm", line 22, in <module>
import pygtk
ImportError: No module named pygtk
We need pygobject and pycairo , don't worry they can be installed with gslapt ....

I think now we resolved all errors , but don't close your konsole , might you need it ! ...

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 5 :

We start ccsm with ccsm command , if you get any errors post here ...
When started it should look like this :

http://img65.imageshack.us/img65/3676/snapshot5fi7.png

Now we can setup our plugins .... You can choose the plugins you want to work .. if you don't know the action command from a plugin see the following ss to get info about it or change the action button :

http://i230.photobucket.com/albums/e.../snapshot8.png

The Super button is the Windows button ...

I think that I sayd enough about this ...

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Step 6 :

To start compiz write LIBGL_ALWAYS_INDIRECT=true compiz --replace ccp && emerald & in konsole ...

We can set the emerald skin going to K -> Settings -> Emerald Theme Manager
We can choose themes , add themes , edit them , choose some animations ...

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

* This tutorial was made for mxsoft forum ...
* Images and tutorial created by IsTI37
* If you have any problems installing compiz call 112 and say that you have problems installing compiz on slackware 12 , a cop will come to your home and he will install for you the latest compiz fusion for a few bucks ...
I AM NO MORE A SLACKWARE FAN BUT I USED IT A LOT, I WILL MAKE WHEN I WILL HAVE TIME A TOOL THAT WILL SIMPLY INSTALL THE DRIVER, WILL CONFIGURE X,WILL DOWNLOAD AND INSTALL COMPIZ AND HIS NEEDS AND IT WILL START IT ! All of this in a safe way. (I am learning how to program now and I hope that I will do this.)

T3slider 09-14-2007 07:37 PM

You obviously didn't see these threads:
http://www.linuxquestions.org/questi...d.php?t=569705
http://www.linuxquestions.org/questi...d.php?t=566969

And specifically these posts:
http://www.linuxquestions.org/questi...7&postcount=20
http://www.linuxquestions.org/questi...0&postcount=49

But hey, you can never have too much documentation.

IsTI37 09-15-2007 02:35 PM

I don't make this tutorial for this forum but I posted it if someone noob in linux slackware is trying to install compiz ... you are right I didn't search before I post ...

T3slider 09-15-2007 04:09 PM

Don't worry about it -- I wasn't trying to insult you, just pointing out other threads just in case someone reads this thread and needs more info (a discussion about Compiz/Beryl was already started in the other threads, so there may be more info). You also added some stuff that isn't in the other threads, which is great. As I said before, you can never have too much documentation.

Scorpion_Linux 10-17-2007 09:25 AM

Everything worked fine until......
 
Hello and thanks for a VERY nice tutorial..!! =D =)

For me everything worked out fine until the end when I should start the program... =/ then I got this message:

"
root@Master:~# LIBGL_ALWAYS_INDIRECT=true compiz --replace ccp && emerald &
[1] 15037
root@Master:~# compiz (core) - Fatal: No composite extension
"

I am new in Linux but really want to learn!! So I would be very glad if you "IsTI37" or someone ells could help me with this..???

//Robert

IsTI37 10-20-2007 05:39 AM

Quote:

Originally Posted by Scorpion_Linux (Post 2927368)
Hello and thanks for a VERY nice tutorial..!! =D =)

For me everything worked out fine until the end when I should start the program... =/ then I got this message:

"
root@Master:~# LIBGL_ALWAYS_INDIRECT=true compiz --replace ccp && emerald &
[1] 15037
root@Master:~# compiz (core) - Fatal: No composite extension
"

I am new in Linux but really want to learn!! So I would be very glad if you "IsTI37" or someone ells could help me with this..???

//Robert



Resolvation :

Open /etc/X11/xorg.conf with a text editor and add this to the end :
Quote:

Section "Extensions"
Option "Composite" "enable"
EndSection



Save and after that press CTRL+ALT+BACKSPACE to restart X.

-Start Compiz-
-Have fun-

Sorry, I forget this from the tutorial :D

svetlio0o 10-24-2007 10:16 AM

in step 3 I install the pygtk module but when I try to start the compiz configurator I get:

Quote:

root@svetlio:~# ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 22, in <module>
import pygtk
ImportError: No module named pygtk
I just can't understand what's wrong...

Edit: oops :) I fixed it ;]

Mikro 10-27-2007 02:30 PM

I've got the same problem as svetlio0o;

File "/usr/local/bin/ccsm", line 24, in <module>
import pygtk
ImportError: No module named pygtk

How did you fix it? pygtk is installed...


Fixed it; just modified the ccsm file adding

import sys
sys.path.insert (-1,"/usr/local/lib/python2.5/site-packages/")

before import pygtk

IsTI37 10-28-2007 04:39 AM

READ THE ENTIRE TUTORIAL !!! If you do it right no errors will be received !

svetlio0o 10-30-2007 04:19 AM

Every time I start kde I have to write "emerald --replace" in console, because the windows decorations are missing and I find this very annoying :mad: ... Can u tell me how to fix this problem ? :rolleyes:

sevillo 11-10-2007 05:00 PM

error on ccsm
 
Hi. i just made all the tutorial you post this way, but when i try to run the ccsm for the compiz configuration it trough the following error:

root@riot:~/Desktop# ccsm
/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
File "/usr/bin/ccsm", line 39, in <module>
import ccm
File "/tmp/tgz/package/ccsm/usr/lib/python2.5/site-packages/ccm/__init__.py", line 1, in <module>
File "/tmp/tgz/package/ccsm/usr/lib/python2.5/site-packages/ccm/Conflicts.py", line 25, in <module>
File "/usr/lib/python2.5/site-packages/ccm/Constants.py", line 36, in <module>
CurrentScreenNum = gtk.gdk.display_get_default().get_default_screen().get_number()
AttributeError: 'NoneType' object has no attribute 'get_default_screen'


what is it about the get_default_screen?


thanks anyway

xandizitxu 01-11-2008 01:05 PM

Quote:

Originally Posted by svetlio0o (Post 2941954)
Every time I start kde I have to write "emerald --replace" in console, because the windows decorations are missing and I find this very annoying :mad: ... Can u tell me how to fix this problem ? :rolleyes:

Im getting the same problem :/

evilDagmar 01-11-2008 02:11 PM

Quote:

Originally Posted by T3slider (Post 2892202)

You can when it's wrong--it wastes other people's time. They have to try to sort through what's nonsense and what isn't, and that's not useful. Beyond a certain point it becomes nearly impossible to do this when there's 100 people posting crazy-talk for every two clued people online.

This won't be the first time I've had to demand someone explain what they think they're telling people to do with the LIBGL_ALWAYS_INDIRECT variable, which is completely not necessary for any nVidia install using reasonably recent versions and especially the versions cited here for compiz-fusion. If people actually looked into what these things do instead of treating them like some magic salt you just sprinkle on to make things taste better, maybe they'd learn something in the process.

As to the xorg.conf end of things, I pretty much covered "teh everything" on that just six days ago at http://www.linuxquestions.org/questi...74#post3012474 Note that there is no real reason to manually edit xorg.conf for this--so no one should even have to know or care which section the directive goes in.

BULPulse 01-20-2008 05:39 PM

When i change the repository : http://www.slacky.eu/repository/slackware-12.0 it gives me the message : This package source failed or is not available. what can i do why is it doing?

IsTI37 01-23-2008 02:11 PM

Quote:

Originally Posted by BULPulse (Post 3029554)
When i change the repository : http://www.slacky.eu/repository/slackware-12.0 it gives me the message : This package source failed or is not available. what can i do why is it doing?

Hmm , try one of this repository :
Code:

http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.0/
http://slacky.uglyplace.org/repository/slackware-12.0/
http://filer-1.filearena.net/pub/slackware/addon/slacky/slackware-12.0/

evilDagmar thanks for info...


If it not saves the settings when you shut down slackware with compiz open it must be a problem with the kernel is is recompiled, I don't included in the tutorial how to make it to start when it enters in kde but is simple I will update the tutorial...

I don't know the errors I will try to figure them out and post resolvation...


All times are GMT -5. The time now is 02:58 AM.