[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiz doesn't start when I log in



Le mercredi 09 juillet 2008 à 09:05 -0400, Adam C Powell IV a écrit :
> However, when I run "compiz &" from the command line, it works
> perfectly.  Why would that be?
> 
> A clue: when run from the command line, ps shows: 
> /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rendering ccp
> And in .gnome2/session, the compiz section is: 
> 12,id=103428a3d9000121560782100000082270004
> 12,RestartStyleHint=2
> 12,Program=/usr/bin/compiz.real
> 12,CloneCommand=/usr/bin/compiz.real --ignore-desktop-hints --indirect-rendering ccp 
> 12,RestartCommand=/usr/bin/compiz.real --sm-client-id 103428a3d9000121560782100000082270004 --ignore-desktop-hints --indirect-rendering ccp 
> 
> But running the compiz.real CloneCommand instead of "compiz &" fails in
> the same way as shown above.
> 
> How can I add whatever magic is in /usr/bin/compiz to make this work
> from the session manager, so I don't have to run it from the command
> line?

Compiz needs to be patched to report itself as compiz instead of argv[0]
to the session manager. GNOME applications do that with 
gnome_client_set_restart_command, I don’t know for compiz.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: