Re: CCSM and Window Decorator
- From: Nikos Chantziaras <realnc@xxxxxxxx>
- Date: Thu, 31 Jul 2008 19:43:09 +0300
Chris wrote:
Chris wrote:
Nikos Chantziaras wrote:
Chris wrote:Where is the compiz command line? I think I know what you mean, because IFor some reason the Command field in Window Decorations (in CCSM) keepTry adding "ccp" (without quotes) to the compiz command line.
getting changed each time I logout.
I need to have the "--opacity 1.0" specified with the
kde-window-decoration command. Otherwise, the unfocused windows have
their frames invisible and corrupted. When I add the opacity switch and
restart the window manager via fusion icon, everything works fine.
So, anyone know what is making changes to my compiz config when I
logout?
used to execute compiz manually. However, I am using the fusion-icon so
it's kind of automatic now.
Perhaps its the fusion-icon that is giving me headaches. Here is what the
fusion-icon spit into .xsession-errors when I quit the fusion-icon:
Detected Session: kde
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Decorator "kde-window-decorator --opacity 1.0 --replace" is invalid.
* Setting decorator to KDE Window Decorator
("kde-window-decorator --replace")
Looks like they don't properly parse that field.
I remember having problems with fusion-icon too. I solved this by creating a new "Compiz Fusion" session for KDM (that way, "Compiz Fusion" shows up as a choice when you login). Not sure if this applies to openSUSE 11, but here the session files are in the /usr/share/xsessions/ directory. Create a file there called "compiz.desktop" that contains the following:
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Name=Compiz Fusion
Exec=/usr/local/bin/compiz.session
Icon=
Type=Application
Then create a file "/usr/local/bin/compiz.session" that contains:
#! /bin/sh
export LIBGL_ALWAYS_INDIRECT=1
export KDEWM=/usr/local/bin/compiz.wrapper
exec startkde
and make it executable (chmod +x /usr/local/bin/compiz.session). Omit the "export LIBGL_ALWAYS_INDIRECT=1" if you're using Xgl instead of AIGLX. Next, create the file "/usr/local/bin/compiz.wrapper" with the following contents:
#! /bin/sh
exec /usr/bin/compiz --sm-disable --ignore-desktop-hints ccp
--indirect-rendering
(The "--indirect-rendering" goes on the same line, my newsreader just wraps it.) Make it executable (chmod +x /usr/local/bin/compiz.wrapper). Again, omit "--indirect-rendering" if you're on Xgl and not on AIGLX. Adapt the rest of the command line as needed.
As you see, there's no "--replace" option since that way you're telling KDE to use compiz as window manager instead of using kwin first then replacing it with compiz.
Now when you logout, you will see "Compiz Fusion" as a new choice in the "Session" menu of KDM. Select that and you're good to go :) No fusion-icon is needed.
.
- Follow-Ups:
- Re: CCSM and Window Decorator
- From: Chris
- Re: CCSM and Window Decorator
- References:
- CCSM and Window Decorator
- From: Chris
- Re: CCSM and Window Decorator
- From: Nikos Chantziaras
- Re: CCSM and Window Decorator
- From: Chris
- Re: CCSM and Window Decorator
- From: Chris
- CCSM and Window Decorator
- Prev by Date: Re: Two dead machines
- Next by Date: Re: How does one install with ymp?
- Previous by thread: Re: CCSM and Window Decorator
- Next by thread: Re: CCSM and Window Decorator
- Index(es):
Relevant Pages
|