summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Bellanger <keeguon@perception.(none)>2007-05-30 21:10:50 +0200
committerFelix Bellanger <keeguon@perception.(none)>2007-05-30 21:10:50 +0200
commit7bc5bafc7d413f28f1188ba3c0a9633d8f1aa53e (patch)
tree4f1205ec3aec1e58c0fe9a321564532b6f283fbb
parent6448e95de17bb37f170fea4c213872e7a035085f (diff)
downloadcompiz-icon-7bc5bafc7d413f28f1188ba3c0a9633d8f1aa53e.tar.gz
compiz-icon-7bc5bafc7d413f28f1188ba3c0a9633d8f1aa53e.tar.bz2
Fixed some bugs with the compiz starter.
-rwxr-xr-xsrc/compiz-icon.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compiz-icon.py b/src/compiz-icon.py
index 41436bf..b3b0908 100755
--- a/src/compiz-icon.py
+++ b/src/compiz-icon.py
@@ -79,12 +79,12 @@ def activate_config_ini():
decorator_replace = configuration.get('decorator', 'decorator_replace')
# Start Compiz WM
Popen(['killall' , 'compiz.real' , 'compiz' , 'metacity' , 'kwin'])
- if installed('compiz'):
- run_compiz = env_variables + ' compiz ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
- Popen(run_compiz, shell=True)
if installed('compiz.real'):
run_compiz = env_variables + ' compiz.real ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
Popen(run_compiz, shell=True)
+ else:
+ run_compiz = env_variables + ' compiz ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
+ Popen(run_compiz, shell=True)
# Start GL Decorator
Popen(['killall' , 'gtk-window-decorator' , 'kde-window-decorator' , 'emerald'])
Popen(set_active_decorator + ' ' + decorator_replace, shell=True)
@@ -147,12 +147,12 @@ def compiz_menu_activate(widget):
decorator_replace = configuration.get('decorator', 'decorator_replace')
# Run compiz
Popen(['killall' , 'compiz.real' , 'compiz' , 'metacity' , 'kwin'])
- if installed('compiz'):
- run_compiz = env_variables + ' compiz ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
- Popen(run_compiz, shell=True)
if installed('compiz.real'):
run_compiz = env_variables + ' compiz.real ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
Popen(run_compiz, shell=True)
+ else:
+ run_compiz = env_variables + ' compiz ' + wm_replace + ' ' + sm_disable + ' ' + fast_filter + ' ' + indirect_rendering + ' ' + loose_binding + ' ' + backend
+ Popen(run_compiz, shell=True)
# Start GL Decorator
Popen(['killall' , 'gtk-window-decorator' , 'kde-window-decorator' , 'emerald'])
Popen(set_active_decorator + ' ' + decorator_replace, shell=True)