You are not logged in.

#1 2009-02-14 10:24:28

syms
Member
Registered: 2008-12-25
Posts: 296

[Solved] compiz --replace doesnt work

hi,
when i type in run dialog compiz --replace, i see that window borders gone, but there isnt any effects. anyway when i open compiz fusion icon, right click on it and when i choose compiz as my window manager everything works fine, compiz runs and i see effects. how can i fix that problem, because i really need to run compiz via run dialog, not fusion icon.

Last edited by syms (2009-02-14 13:32:35)

Offline

#2 2009-02-14 10:26:56

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: [Solved] compiz --replace doesnt work

try compiz-manager ?

Offline

#3 2009-02-14 10:49:18

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: [Solved] compiz --replace doesnt work

you could try this: start fusion-icon in console, select compiz as window manager, on the console should appear the exact command fusion icon uses to start compiz (with options etc..);
then close fusion icon and use that command with those options for starting compiz..

hope you understand (my english is bad I know)

Offline

#4 2009-02-14 13:27:38

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Re: [Solved] compiz --replace doesnt work

The 'borders gone' issue imho is caused by the thing that you start only compiz and do not start emerald (which is a window decorator). Fusion-icon selects emerald as a default window manager so that's why you do not have any problems when starting compiz via fusion-icon.

So you could try doing:

compiz --replace
emerald --replace

However i am using for a long time the following script which works just fine:

#!/bin/sh
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi
exec compiz --replace ccp --ignore-desktop-hints --sm-disable --loose-binding --no-libgl-fallback &
exec emerald &

Of course all those special options like --ignore-desktop-hints --sm-disable are not necessary, however i find them pretty useful as they improve number of fps in compiz.

Offline

#5 2009-02-14 13:31:47

syms
Member
Registered: 2008-12-25
Posts: 296

Re: [Solved] compiz --replace doesnt work

thanks for your help, compiz-manager helped to me solve the problem.

Offline

Board footer

Powered by FluxBB