Hi im working on making it so that when ever i start one of my games using Wine that all the compiz effects are turned off then when the game closes they automatically turn back on. I did a little research to find the commands to do this and found this: Code: sudo killall avant-window-navigator killall compiz.real xfwm4 #and to restart Engage engage -b 70707099 -R 1 -Z 2 -d 0.32 -i 1 -I 1 -T My question is how do i make this code work when i start up a certain wine App and then when the app closes make the other command work to get my effects working again? -Mike
mikedmor wrote:> Hi im working on making it so that when ever i start one of my games using Wine that all the compiz effects are turned off then when the game closes they automatically turn back on. I did a little research to find the commands to do this and found this: > > Code: > > sudo killall avant-window-navigator > killall compiz.real > xfwm4 > > #and to restart Engage > engage -b 70707099 -R 1 -Z 2 -d 0.32 -i 1 -I 1 -T > > My question is how do i make this code work when i start up a certain wine App and then when the app closes make the other command work to get my effects working again? > > -Mike > >Use a UNIX script to run the program and point the menu item at the script. Since this is specific to your Linux distribution and windows manager, I would ask in their support forums how to do this. James McKenzie
isnt this the support forums? And im using Ubuntu 8.10
well thats where i went to first for help cause i figured they would know more about it. But my post has not been answered by anyone after two days. so i kinda gave up... :(
If you want to do it the manual way install Fusion-icon and add it to your session startup to switch window managers easily.
no. i already have the command to do it. i just need to know how to link it all together. i just need to know what im suppose to do with the code (step by step, im new to this) and how do i tell the shortcut to run it? maybe i can have it run then have the code wait till the app closes then it runs a close script that tells it to restart Compiz?