LinuxQuestions.org
Register a domain and help support LQ
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 07-05-2007, 07:24 PM   #1
kholdstayr
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
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.
 
Old 07-05-2007, 08:20 PM   #2
WulfNStein
LQ Newbie
 
Registered: May 2007
Distribution: Slackware
Posts: 8

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

Last edited by WulfNStein; 06-18-2008 at 03:45 PM.
 
Old 07-05-2007, 08:52 PM   #3
kholdstayr
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 36

Original Poster
Rep: Reputation: 15
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.
 
Old 07-05-2007, 08:56 PM   #4
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
Add a line in /etc/X11/xorg.conf
Section "Extensions"
Option "Composite" "enable"
EndSection
 
Old 07-05-2007, 09:02 PM   #5
WulfNStein
LQ Newbie
 
Registered: May 2007
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
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.
 
Old 07-05-2007, 11:53 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,912

Rep: Reputation: Disabled
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 :-)
 
Old 07-06-2007, 12:41 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,202

Rep: Reputation: 291Reputation: 291Reputation: 291
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?

Last edited by dive; 07-06-2007 at 12:50 AM.
 
Old 07-06-2007, 06:54 AM   #8
WulfNStein
LQ Newbie
 
Registered: May 2007
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
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)
 
Old 07-06-2007, 07:59 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,202

Rep: Reputation: 291Reputation: 291Reputation: 291
Yes it's running and I'm using kde. No title bars though.
 
Old 07-06-2007, 08:36 AM   #10
msantinho
Member
 
Registered: Oct 2005
Location: Lisbon
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
Quote:
No title bars though.
Same here. Isn't Beryl or Emerald - or something else - missing?
 
Old 07-06-2007, 09:36 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,202

Rep: Reputation: 291Reputation: 291Reputation: 291
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.
 
Old 07-06-2007, 01:01 PM   #12
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
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?

Last edited by randomsel; 07-06-2007 at 01:46 PM.
 
Old 07-06-2007, 05:27 PM   #13
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
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.
 
Old 07-06-2007, 06:02 PM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,202

Rep: Reputation: 291Reputation: 291Reputation: 291
That works
 
Old 07-06-2007, 07:34 PM   #15
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
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?

Last edited by randomsel; 07-06-2007 at 09:53 PM.
 
  


Reply

Tags
compiz, nvidia, nvidia drivers, slackware12


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 - How do I include the compiz-extra plugins? lostinpurdy Linux - Desktop 2 05-29-2007 02:00 AM
mdv 2007 compiz cube not displaying and pictures not memorised by gset-compiz Emmanuel_uk Mandriva 0 10-10-2006 02:33 AM
Anyone using XGL/Compiz on Slack? Sugarat Slackware 5 09-25-2006 10:08 PM
Anyone using XGL/Compiz on Slack? Sugarat Slackware 1 09-23-2006 05:33 PM
What do you think about XGL/Compiz? Hunter2 Linux - Software 21 07-09-2006 03:52 PM


All times are GMT -5. The time now is 05:49 AM.

Main Menu
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