Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiz Fusion 0.6.0 is OUT!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Nov 17, 2007 6:26 pm    Post subject: Reply with quote

FWIW, i've discovered that sometimes my windows decorator still doesn't come up when I use the compiz-start I posted above. I found that if I put a 2 second sleep right after the line that starts the window decorator (emerald in my case), I don't have the problem anymore. This may be an emerald only issue, since it has a few known stability problems with compiz-fusion. But if you are still having problems, try putting a 'sleep 2' after the your windows decorator line.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5925

PostPosted: Sun Nov 18, 2007 3:52 pm    Post subject: Reply with quote

I've emerged fusion from portage, but I dont seem to be able to start it, any hints?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
downer
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2007
Posts: 120
Location: sweden

PostPosted: Mon Nov 19, 2007 7:25 am    Post subject: Reply with quote

DaggyStyle, this worked for me:

avatar:0:0: wrote:
hi,
.
.
.
as root modify this script:

Code:
cat /usr/bin/compiz-start
# compiz-start script
#
# hacky autodetection of neccessary options for XGL/AIGLX/NVIDIA
#
# Hanno Boeck, http://www.hboeck.de/
#
# Licensed under the same conditions as compiz itself (MIT or GPL)

if [ ! -x /usr/bin/glxinfo ]; then
        echo "glxinfo not found, please install mesa-progs."
        exit -1
fi

GLX_WITH_DIRECT=`glxinfo|grep -c GLX_EXT_texture_from_pixmap`
GLX_WITH_INDIRECT=`LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep -c GLX_EXT_texture_from_pixmap`
GLX_RENDER=`glxinfo|grep -c "OpenGL renderer string: Mesa GLX Indirect"`


COMPIZ_OPTIONS="--replace"

if [ $GLX_WITH_DIRECT -eq 3 ]; then
        if [ $GLX_RENDER -eq 0 ]; then
                echo NVIDA detected
                export __GL_YIELD="NOTHING"
        else
                echo XGL detected
        fi
elif [ $GLX_WITH_INDIRECT -eq 3 ]; then
        echo AIGLX detected
        export LIBGL_ALWAYS_INDIRECT=1
fi

#if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
#       echo Using KDE decorator
#       kde-window-decorator --replace &
#else
#       echo Using GTK decorator
#       gtk-window-decorator --replace &
#fi
#
#compiz $COMPIZ_OPTIONS gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom dbus

emerald --replace &
compiz --replace ccp --sm-disable


logout, login, done!


Edit:
Forgot to mention, you of course need to set up so compiz-start runs at login, I leave that as homework if you don't have that set up already. :)
The original post is here.

Cheers,
//D
_________________
HP dv6500 (dv6501eo) Laptop and Dell Latitude E6420 work puter;
both running Gentoo x86_64 quite successfully.
Back to top
View user's profile Send private message
QM
n00b
n00b


Joined: 19 Nov 2007
Posts: 1

PostPosted: Mon Nov 19, 2007 11:24 pm    Post subject: Reply with quote

To those who do not get decorations around their windows in KDE:

Try write in terminal
Code:
 emerald --replace

If it get decorations around windows :wink:
Then edit /usr/local/bin/compiz-fusion add
Code:
 emerald --replace
then logout and login
That one I solved my problem :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum