PDA

View Full Version : Unsolved compiz and .xinitrc file


jdewberr
February 24th, 2008, 06:15 PM
Hi,

I recently setup compiz-fusion on my gentoo box. I really enjoy KDE as my desktop but like the eye-candy now that I have a strong enough box to run compiz.

So here is my question....how do I put compiz-start into my .xinitrc file? here's my current

jdewberr@jdewberr-lnx ~ $ cat .xinitrc | grep -v \#
xmodmap ~/.xmodmaprc

exec /usr/kde/3.5/bin/startkde



plus if I could keep this part of my openbox/KDE mish-mash it'd be awesome!

#export KDEWM=/usr/bin/openbox

tips and assistance greatly appreciated.

Thanks in advance,

Joe

rcxdude
February 28th, 2008, 05:55 PM
as far as I know, compiz fusion replaces openbox, so you can't run both at the same time. In this case you can replace
export KDEWM=/usr/bin/openbox
with
export KDEWM=/usr/bin/compiz-start
(or whatever your compiz startup script is)
if you still want to run openbox before compiz, you can add it to the compiz-start script (but be aware this change will be lost when you updrage compiz fusion):

/usr/bin/openbox &
compiz $STARTOPTIONS (etc)

enigma_0Z
March 2nd, 2008, 05:59 AM
I found that when replacing kwin with compiz, there was some fighting regarding global shortcuts (such as ALT-F2). What I ended up doing is this:

1. Create a script in ~/.kde/Autostart
2. In that script, add your compiz-fusion startup script, or "compiz --replace" if you don't have one

That should load compiz w/o eating all of KDE's handy global shortcuts, but some tray icons may pop out of the kicker applet.