LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-14-2007, 09:42 AM   #1
IsTI37
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
Post 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.)

Last edited by IsTI37; 04-11-2008 at 08:33 PM.
 
Old 09-14-2007, 08:37 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,297

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
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.
 
Old 09-15-2007, 03:35 PM   #3
IsTI37
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
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 ...
 
Old 09-15-2007, 05:09 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,297

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
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.
 
Old 10-17-2007, 10:25 AM   #5
Scorpion_Linux
LQ Newbie
 
Registered: Oct 2007
Location: Sweden
Distribution: Slackware 12
Posts: 19

Rep: Reputation: 0
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
 
Old 10-20-2007, 06:39 AM   #6
IsTI37
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Talking

Quote:
Originally Posted by Scorpion_Linux View Post
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

Last edited by IsTI37; 10-20-2007 at 06:41 AM.
 
Old 10-24-2007, 11:16 AM   #7
svetlio0o
LQ Newbie
 
Registered: Oct 2007
Distribution: slackware 12.2
Posts: 16

Rep: Reputation: 0
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 ;]

Last edited by svetlio0o; 10-24-2007 at 11:56 AM.
 
Old 10-27-2007, 03:30 PM   #8
Mikro
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 40

Rep: Reputation: 17
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

Last edited by Mikro; 10-27-2007 at 03:42 PM.
 
Old 10-28-2007, 05:39 AM   #9
IsTI37
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
READ THE ENTIRE TUTORIAL !!! If you do it right no errors will be received !
 
Old 10-30-2007, 05:19 AM   #10
svetlio0o
LQ Newbie
 
Registered: Oct 2007
Distribution: slackware 12.2
Posts: 16

Rep: Reputation: 0
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 ... Can u tell me how to fix this problem ?
 
Old 11-10-2007, 06:00 PM   #11
sevillo
LQ Newbie
 
Registered: Nov 2007
Location: Valencia
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
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
 
Old 01-11-2008, 02:05 PM   #12
xandizitxu
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by svetlio0o View Post
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 ... Can u tell me how to fix this problem ?
Im getting the same problem :/
 
Old 01-11-2008, 03:11 PM   #13
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by T3slider View Post
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.
 
Old 01-20-2008, 06:39 PM   #14
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Rep: Reputation: 15
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?
 
Old 01-23-2008, 03:11 PM   #15
IsTI37
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BULPulse View Post
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...

Last edited by IsTI37; 01-23-2008 at 03:26 PM.
 
  


Reply

Tags
compiz, install, slack, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiz +kde +nvidia (Slackware-current) XGizzmo Slackware 31 09-16-2008 09:17 AM
Compiz on Xgl with fglrx - segmentation fault (Slackware 12) RiNSpy Linux - Desktop 0 07-11-2007 07:05 PM
Slackware Current-xfce4-compiz davimint Linux - Software 1 05-01-2007 09:44 PM
Compiz on Slackware 11 with kde+ati. Help!!!! jonny_b4e Slackware 0 04-26-2007 12:59 PM
mdv 2007 compiz cube not displaying and pictures not memorised by gset-compiz Emmanuel_uk Mandriva 0 10-10-2006 03:33 AM


All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration