Mailinglist Archive: opensuse-factory (279 mails)

< Previous Next >
[opensuse-factory] Re: Xgl: a much better way to start compiz on KDE
  • From: Peter Nixon <listuser@xxxxxxxxxxxxxx>
  • Date: Tue, 13 Jun 2006 21:42:57 +0300
  • Message-id: <200606132143.14480.listuser@xxxxxxxxxxxxxx>
On Mon 12 Jun 2006 15:09, Silviu Marin-Caea wrote:
> http://en.opensuse.org/Using_Xgl_on_SUSE_Linux
> In the above page, the user is advised to create a compiz.desktop file in
> KDE Autostart.
>
> This is not optimal, because KDE's window manager kwin is started first,
> then replaced by compiz. On my machines this also created problems with
> other programs that are autostarted (have icons in KDE systray).
>
> It also has the disadvantage that a compiz.desktop needs to be created in
> each user's home.
>
> I propose a much better way:
>
> 1. create /usr/local/bin/compiz.sh with this content:
> /usr/bin/compiz gconf & /usr/bin/gnome-window-decorator &
>
> 2. make it executable:
> chmod a+x /usr/local/bin/compiz.sh
>
> 3. create /etc/profile.d/kdewm.sh with this content
> export KDEWM=/usr/local/bin/compiz.sh
> No need to make it executable.
>
> This will start compiz directly, not kwin. It's effective for all users of
> the computer. If that's not desirable, you can add the line with "export
> KDEWM" to the ~/.profile file instead of /etc/profile.d
>
> If nobody objects to this method, I'll edit the wiki page.

I vote that you go ahead. This works ALOT better than the currently documented
method.

Cheers

--

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
< Previous Next >
References