[opensuse-factory] Xgl: a much better way to start compiz on KDE
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. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
Am Montag, 12. Juni 2006 14:09 schrieb Silviu Marin-Caea:
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
Don't do that in profile.d, put it in /opt/kde3/env or ~/.kde/env Greetings, Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
On Monday 12 June 2006 15:44, Stephan Kulow wrote:
Am Montag, 12. Juni 2006 14:09 schrieb Silviu Marin-Caea:
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
Don't do that in profile.d, put it in /opt/kde3/env or ~/.kde/env
If I put it in /opt/kde3/env, kicker doesn't appear unless I click once on the desktop. Weird, but that's what's happening. In profile.d it's fine, kicker appears by itself. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
Am Montag, 12. Juni 2006 15:25 schrieb Silviu Marin-Caea:
On Monday 12 June 2006 15:44, Stephan Kulow wrote:
Am Montag, 12. Juni 2006 14:09 schrieb Silviu Marin-Caea:
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
Don't do that in profile.d, put it in /opt/kde3/env or ~/.kde/env
If I put it in /opt/kde3/env, kicker doesn't appear unless I click once on the desktop. Weird, but that's what's happening. In profile.d it's fine, kicker appears by itself.
Pure luck? :) Greetings, Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
On Tuesday 13 June 2006 10:44, Stephan Kulow wrote:
Pure luck? :)
Reproducible pure luck :-) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
Silviu Marin-Caea wrote:
On Monday 12 June 2006 15:44, Stephan Kulow wrote:
Am Montag, 12. Juni 2006 14:09 schrieb Silviu Marin-Caea:
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
Don't do that in profile.d, put it in /opt/kde3/env or ~/.kde/env
If I put it in /opt/kde3/env, kicker doesn't appear unless I click once on the desktop. Weird, but that's what's happening. In profile.d it's fine, kicker appears by itself.
Curious, I'm now running Xgl on this Thinkpad T60p (I've tried it successfully with both KDE and Gnome). For the KDE setup I followed your instructions as modified by Stephen's suggestion (i.e., I created the /opt/kde3/env entry) and it works great .. no kicker issues or anything. - Bruce --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
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
participants (4)
-
Bruce A. Mallett
-
Peter Nixon
-
Silviu Marin-Caea
-
Stephan Kulow