View previous topic :: View next topic |
Author |
Message |
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Nov 17, 2007 6:26 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5925
|
Posted: Sun Nov 18, 2007 3:52 pm Post subject: |
|
|
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 |
|
|
downer Tux's lil' helper
Joined: 20 Sep 2007 Posts: 120 Location: sweden
|
Posted: Mon Nov 19, 2007 7:25 am Post subject: |
|
|
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 |
|
|
QM n00b
Joined: 19 Nov 2007 Posts: 1
|
Posted: Mon Nov 19, 2007 11:24 pm Post subject: |
|
|
To those who do not get decorations around their windows in KDE:
Try write in terminal
If it get decorations around windows
Then edit /usr/local/bin/compiz-fusion add then logout and login
That one I solved my problem |
|
Back to top |
|
|
|
|
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
|
|