LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiz and Slack 12? (https://www.linuxquestions.org/questions/slackware-14/compiz-and-slack-12-a-566969/)

kholdstayr 07-05-2007 07:24 PM

compiz and Slack 12?
 
I am wondering about the compiz package that comes with Slackware 12. I didn't notice that it had come with it but I was reading some stuff about it and did a 'whereis compiz' and voila, it actually does come with Slack 12!

How does one actually activate compiz for Slack 12? It doesn't show up in xwmconfig and running 'compiz' after starting x in the xinitrc file doesn't work.

WulfNStein 07-05-2007 08:20 PM

to save you all the hassel that i went through trying to get compiz running all you have to do is open up a console and enter this...

compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom
kde-window-decorator &

and viola, you have a working compiz


[edit] you need to have your vid card installed and your xorg.conf file edited properly too. you can find all that info at http://www.compiz.org/Documentation/Documentation

kholdstayr 07-05-2007 08:52 PM

Quote:

Originally Posted by WulfNStein
to save you all the hassel that i went through trying to get compiz running all you have to do is open up a console and enter this...

compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom kde-window-decorator &

and viola, you have a working compiz


[edit] that's supposed to be 1 line btw
[edit2] you need to have your vid card installed and your xorg.conf file edited properly too. you can find all that info at http://www.compiz.org/Documentation/Documentation


Thanks for the information. That is a pretty scary command line. I actually didn't get it to work yet because whenever I try to start compiz I get an error message:

compiz: no composite extension

which seems to be a common error message if you search for it on Google. I haven't found a good solution for it yet.

thloh85 07-05-2007 08:56 PM

Add a line in /etc/X11/xorg.conf
Section "Extensions"
Option "Composite" "enable"
EndSection

WulfNStein 07-05-2007 09:02 PM

Quote:

Originally Posted by ghostdev85
Add a line in /etc/X11/xorg.conf
Section "Extensions"
Option "Composite" "enable"
EndSection

^^ what he said

there's also some other things you may need to add to xorg.conf depending on your video card. check out the documentation link. there's also a lot of info on their forums. good luck.

rworkman 07-05-2007 11:53 PM

On the subject of compiz, if you're wanting to use it in xfce or even gnome perhaps, you might be interested in this:
http://slackware.com/~rworkman/compiz/
That compiz package includes the gtk-window-decorator, which is not included with the stock Slackware package due to a dependency on libwnck. You'll need to install both of them, obviously.
Note: I have not personally tested those packages, as I made them at someone's request; however, several individuals have reported success with them. I said that to say this: don't ask me how to get compiz to work with *any* environment - I don't know, as I have no desire for the "fancy" stuff it provides :-)

dive 07-06-2007 12:41 AM

Quote:

Originally Posted by WulfNStein
compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom kde-window-decorator &

When I do that I lose my title bar and buttons:

compiz: glXCreateContext failed
compiz: Failed to manage screen: 1
compiz: Failed to load slide: freedesktop
compiz: Couldn't load plugin 'kde-window-decorator'

Any ideas?

WulfNStein 07-06-2007 06:54 AM

is compiz running?

to test, hold down alt and click anywhere on a window and drag it around. if it starts wobbeling compiz is up

the kde-window-decorator plugin is only for people running kde. if you're running something else the 'kde' part will be different. (ie. gnome-window-decorator)

dive 07-06-2007 07:59 AM

Yes it's running and I'm using kde. No title bars though.

msantinho 07-06-2007 08:36 AM

Quote:

No title bars though.
Same here. Isn't Beryl or Emerald - or something else - missing?

dive 07-06-2007 09:36 AM

Beryl is a different wm. Emerald is part of Beryl which is (was) a fork of the Compiz project. Now Compiz and Beryl have reunited to form Compiz Fusion.

randomsel 07-06-2007 01:01 PM

Same problem, no titlebars

Quote:

compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom kde-window-decorator
compiz: Failed to load slide: freedesktop
compiz: Couldn't load plugin 'kde-window-decorator'
The second error is kinda easy to understand, but don't know what the first one means...

anyone running an nvidia series 7 card got compiz to work with KDE?

raska 07-06-2007 05:27 PM

Quote:

Originally Posted by WulfNStein
to save you all the hassel that i went through trying to get compiz running all you have to do is open up a console and enter this...

compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom kde-window-decorator &

and viola, you have a working compiz


[edit] that's supposed to be 1 line btw

It should be 2 lines, because kde-window-decorator & should be an external command, not a compiz plugin.

dive 07-06-2007 06:02 PM

That works :)

randomsel 07-06-2007 07:34 PM

Thanks a bunch raska

hrm, so make a .sh script in ~/.kde/Autostart with those commands? or is there a more Slack way of doing this?

Edit: Alt-Tab not working with compiz :(

Edit: Nevermind, it's working now (don't know what's different).

Edit: Seems multiple restart of compiz and kde-window-decorator will fix the alt-tab issue... What's happening here?

here's a list of effects and how to activate it (don't know if it's complete)

Anyone know how to set up skydome and top image on the cube for Slackware?


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