| Author |
Message |
lawmanuk
|
|
Post subject: autostart compiz
Posted: Aug 08, 2008 - 08:03 PM
|
|
Joined: Aug 08, 2008
Posts: 141
Status: Offline
|
|
i manage to start compiz by running the compiz fusion icon and then restarting window manager.
the problem is that i have to do this on each pc start.
is there an auto way for this to happen every time?
thanks |
|
|
| |
|
|
|
 |
cmost
|
|
Post subject: RE: autostart compiz
Posted: Aug 08, 2008 - 09:15 PM
|
|
Forum Moderator

Joined: Feb 19, 2008
Posts: 135
Location: Cincinnati, Ohio
Status: Offline
|
|
Yes! Navigate to System --> Preferences --> Sessions
Click the 'Add' button
Fill out the dialog:
Name: Compiz-Fusion 3D desktop (or whatever you like)
Command: fusion-icon
Comment: Enable dazzling 3D effects (or leave it blank, whatever.)
This will autostart Fusion-icon (and thus Compiz-fusion) for every session!
Another way to do this (a better way) in my opinion, is to create a little shell script designed so that Compiz-fusion is the last thing to start. This prevents weird visual anomalies from occurring as Compiz-fusion and other services / applications try to start at the same time. To do this:
1. Create a new text file...
Copy and paste the following...
#!/bin/bash
killall fusion-icon
killall emerald
sleep 12s
fusion-icon
Note: The sleep command forces a 12 second pause before the fusion-icon command is issued. You can change this to anything.
Save the file as Start-compiz-fusion
Right-click the file and select 'properties' then the 'permissions' tab
tick the box for "allow executing of file as program"
Browse for this file in place of the raw 'fusion-icon' command in the above instructions.
In either case, Compiz-fusion will start at each session. Enjoy! |
|
|
| |
|
|
|
 |
grasshopper
|
|
Post subject: RE: autostart compiz
Posted: Aug 09, 2008 - 12:26 AM
|
|
Joined: Aug 07, 2008
Posts: 28
Status: Offline
|
|
| Never saw the last bit before. Thanks for the info. |
|
|
| |
|
|
|
 |
alan
|
|
Post subject: RE: autostart compiz
Posted: Aug 09, 2008 - 06:22 AM
|
|
Developer

Joined: Jan 25, 2005
Posts: 325
Location: Glendale, California
Status: Offline
|
|
There is a better way:
Applications -> System Tools -> Configuration Editor
Navigate to: /desktop/gnome/applications/window_manager/
Change "current" and "default" values to /usr/bin/compiz
This would be faster and does not cause delays. Because, compiz is directly loaded and not after loading metacity. |
|
|
| |
|
|
|
 |
cmost
|
|
Post subject: RE: autostart compiz
Posted: Aug 09, 2008 - 11:09 AM
|
|
Forum Moderator

Joined: Feb 19, 2008
Posts: 135
Location: Cincinnati, Ohio
Status: Offline
|
|
| Hey, awesome! I didn't know about starting Compiz that way! Thanks! |
|
|
| |
|
|
|
 |
grasshopper
|
|
Post subject: RE: autostart compiz
Posted: Aug 10, 2008 - 01:32 AM
|
|
Joined: Aug 07, 2008
Posts: 28
Status: Offline
|
|
| I didn't know that either. Cool.And I don't even use Compiz. |
|
|
| |
|
|
|
 |
lawmanuk
|
|
Post subject: RE: autostart compiz
Posted: Aug 10, 2008 - 04:42 PM
|
|
Joined: Aug 08, 2008
Posts: 141
Status: Offline
|
|
i'm getting errors with this solution. when i restart the computer, compiz doesn't start, and the windows don't have borders.
to fix this i have to restart the window with the compiz icon.
any solution? |
|
|
| |
|
|
|
 |
lawmanuk
|
|
Post subject:
Posted: Sep 03, 2008 - 08:58 PM
|
|
Joined: Aug 08, 2008
Posts: 141
Status: Offline
|
|
just checking if anyone's figured out why compiz messes up spasmodically, with no borders - until window manager reloaded.
seems to happen more on some machines than others.  |
|
|
| |
|
|
|
 |
alan
|
|
Post subject:
Posted: Sep 03, 2008 - 10:33 PM
|
|
Developer

Joined: Jan 25, 2005
Posts: 325
Location: Glendale, California
Status: Offline
|
|
| For me it happens very rarely. |
|
|
| |
|
|
|
 |
st0.0pidn0.0bie
|
|
Post subject:
Posted: Sep 03, 2008 - 11:05 PM
|
|
Joined: Jun 25, 2008
Posts: 42
Status: Offline
|
|
it happens every time, so i can't even use compiz / compiz fusion icon. must be a laptop driver or ati thing. oh well i guess, more memory is free for programs |
|
|
| |
|
|
|
 |
lawmanuk
|
|
Post subject:
Posted: Sep 07, 2008 - 08:19 AM
|
|
Joined: Aug 08, 2008
Posts: 141
Status: Offline
|
|
i was finding a lot of noborder problems when compiz was started from the configuration editor as per alan's suggestion above.
i even found that sometimes, compiz wouldn't start this way and metacity was still loading... but still noborder problems.
i've put the configuration editor setting back to metacity, and now start compiz from pref/sessions.
this seems to have removed the noborder problems... so far at least.
(ps. not sure if this is because it reloads the window manager after start?)
 |
|
|
| |
|
|
|
 |
|
|