LinuxQuestions.org
Review your favorite Linux distribution.
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 06-24-2008, 05:25 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Rep: Reputation: 32
Compiz and 3D-Desktop.


Hello!

Is it possible to install Compiz in Slackware 12.1 (with the cube and some of its effects? If so, please, let me know how to do it. Does it work well?

I've heard that there is another 3d desktop (3d-Desktop). Which one would you recommend or which one works better with Slackware 12.1?

Thank you!
 
Old 06-24-2008, 07:37 AM   #2
plenty
LQ Newbie
 
Registered: May 2008
Location: Russia
Distribution: Fedora, Slackware
Posts: 13

Rep: Reputation: 0
Hi! Yes, it is possible to install Compiz in Slackware 12.1 (x/compiz-0.7.4-i486.tgz). But you also need a little bit more packages to play with it. Look at slackbuilds.org: ccsm. You can find other packages in its description.
 
Old 06-24-2008, 10:06 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,519

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Starting compiz from within KDE requires executing two commands in a terminal window:
1. compiz --replace dbus png svg decoration wobbly fade minimize cube switcher move resize place rotate scale &
2. kde-window-decorator --replace &

The above assumes that your graphics supports direct rendering, (check the output from glxinfo) and that your xorg.conf contains the lines to enable the features that compiz requires. (I am lucky in that my nVidia card using the nVidia proprietary driver automatically writes a working xorg.conf). For other cards you could trying searching this forum for further information.

Once you have compiz running, KDE will automatically restart compiz for your next KDE session.

To stop compiz, from within KDE open a terminal window and kill the compiz and kde-window-decorator processes, then immediately logout of KDE. Upon next restart compiz should be gone.

This sounds simple and it should be, but experience shows that there are many pitfalls. Good luck!
 
Old 06-24-2008, 05:44 PM   #4
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
FYI
Slackware is the only distro I tried regarding compiz that offers an painless bailout:
Code:
kwin --replace &
doublechecked

YMMV
but i stil have nightmares of compiz on fedora,debian,pclinuxos,...
 
Old 06-24-2008, 06:54 PM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Compiz installed but...

Thanks for the help!

I've installed Compiz from Slackbuilds.org (all the packages except # 4 and 13). #4 I guess is for Gnome and can't install #13 because it says I have no permission (being root?). But, since it is optional, I think it doesn't make any difference.

These packages are:
Code:
1. compiz-bcop
 2. libcompizconfig
 3. compizconfig-backend-kconfig (optional)
 4. compizconfig-backend-gconf (optional)
 5. compizconfig-python
 6. ccsm
 7. simple-ccsm (optional)
 8. compiz-fusion-plugins-main
 9. compiz-fusion-plugins-extra (optional)
10. compiz-fusion-plugins-unsupported (optional)
11. emerald (optional)
12. emerald-themes (optional)
13. fusion-icon (optional)
Then, when running
Code:
1. compiz --replace dbus png svg decoration wobbly fade minimize cube switcher move resize place rotate scale &
2. kde-window-decorator --replace &
All the windows borders disappeared and terminal appears completely white. I have to restart and then everything goes back to normal (without Compiz of course).

So, I uninstalled Compiz (all the packages). Now I see there is another reply that says...

Code:
kwin --replace &
What is kwin --replace & ?

What am I doing wrong? Is it worth installing Compiz or not :-)?

By the way, my xorg.conf looks like:

Code:
Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    FontPath        "/usr/share/fonts/local/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/OTF/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/CID/"
    FontPath        "/usr/share/fonts/Speedo/"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/75dpi/"
 FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    Load           "dbe"        # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    Option     "XkbLayout"     "es"
    Identifier     "Keyboard1"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option "Protocol" "IMPS/2"
    Option "Buttons" "5"
    Option         "Device" "/dev/mouse"
EndSection

Section "Monitor"
    Identifier     "My Monitor"
    HorizSync       31 - 81
    VertRefresh     56 - 75
EndSection

Section "Device"
    Identifier     "VESA Framebuffer"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Thanks again.
Glore2002.-
 
Old 06-24-2008, 08:17 PM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 890

Rep: Reputation: 78
I had all the same problems that you had and found no solutions to them.
Sometimes it works and sometimes not. Sometimes it locks up the desk top and nuthin will work and the only way I could get out is with the Micky Soft Windows button. (reset switch)
Compiz is ok to play with when it works but I don't put it on a system that I have to depend on.

Last edited by slackass; 06-24-2008 at 08:21 PM.
 
Old 06-24-2008, 08:38 PM   #7
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thanks!

Thanks Slackass! You're completely right! I took Compiz away from my system! Nice to play with but not necessary for a system to work. It just makes things more difficult :-)

Thanks again,
Glore2002.-
 
Old 06-24-2008, 09:48 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,297

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
If you want Compiz to work with as few worries as possible, fusion-icon is a must. It automates most things for you so you don't lose your window decorations (and therefore don't have to manually restart them). However, even with fusion-icon it is WAY to unstable for me, and causes more headaches than it's worth. I gave the compiz thing a serious try and left it by the wayside, never to touch it again. There are some nice things in compiz that aren't just for looks, but they're just not worth the effort an instability in my opinion. However, if you disagree, I would definitely recommend getting fusion-icon to work (as well as CCSM, etc.).
 
Old 06-27-2008, 07:18 AM   #9
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Wink What if?

Quote:
Originally Posted by glore2002 View Post
Thanks for the help!


Then, when running
Code:
1. compiz --replace dbus png svg decoration wobbly fade minimize cube switcher move resize place rotate scale &
2. kde-window-decorator --replace &
You need 1sec delay in between those commands ;-)
Code:
compiz $args1
sleep 1
kde-window-decorator $args2
IMHO
(I didn't realize it was unstable on slackware - I didn't install one single unofficial package besides NVIDIA's OEM installer. YMMV.)

Quote:
All the windows borders disappeared and terminal appears completely white. I have to restart and then everything goes back to normal (without Compiz of course).
You have compiz, but the window-decorator (the borders) is not running.
What is the output of the second command when You enter it?

Quote:
So, I uninstalled Compiz (all the packages). Now I see there is another reply that says...

Code:
kwin --replace &
What is kwin --replace & ?
kwin is the 'engine' of KDE's own window porders ;-)
Quote:
What am I doing wrong? Is it worth installing Compiz or not :-)?
You don't seem to read enough or with enough understainding. :-) Like I once did. As compiz is part of Slackware now You can only refrain from 3rd party packages. Use XFCE instead of gnome...
Quote:
Thanks again.
Glore2002.-
You are very welcome.

Post te outcome, please?
 
  


Reply


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
Desktop effects could not be enabled - Nvidia - Compiz arthur42dent Linux - Desktop 16 07-26-2009 02:43 PM
Messed up my desktop. Need to reinstall compiz and desktop effect jobbe Linux - Software 2 09-20-2007 02:35 AM
3D desktop stops working after compiz update hansalfredche Mandriva 5 01-23-2007 01:32 PM
LXer: Animate the Desktop with Xgl and Compiz LXer Syndicated Linux News 0 09-14-2006 01:33 PM
Compiz vs 3D-Desktop Dragineez Linux - Newbie 9 03-17-2006 08:08 AM


All times are GMT -5. The time now is 04:01 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