Dissable and Enable Compiz help
Dissable and Enable Compiz help
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
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
Dissable and Enable Compiz help
mikedmor wrote:
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
Use a UNIX script to run the program and point the menu item at theHi 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
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
Dissable and Enable Compiz help
mikedmor wrote:
a UNIX script vice calling wine directly. I don't know how to do this,
that is why I recommended visiting your Linux Distribution support
pages. It is possible that someone else here can help. However,
compliz issues are technically off-topic here per the moderators. Would
it be possible to see what you can find on the Ubuntu forums as far as
editing menu items?
James McKenzie
What you would have to do is edit the menu item within Gnome/KDE to callisnt this the support forums?
And im using Ubuntu 8.10
a UNIX script vice calling wine directly. I don't know how to do this,
that is why I recommended visiting your Linux Distribution support
pages. It is possible that someone else here can help. However,
compliz issues are technically off-topic here per the moderators. Would
it be possible to see what you can find on the Ubuntu forums as far as
editing menu items?
James McKenzie
Dissable and Enable Compiz help (Need Scripting help in Linu
mikedmor wrote:
if you can find something on how to call a script from a menu item in
Ubuntu. My knowledge of that distribution is very limited as I only
used it as a live boot CD a long time ago (pre 7.0 days I think.) My
experience is more along RedHat/CentOS/Fedora and I've been away from
them for a while (Fedora 4 is the last distribution I installed and I do
have Fed 9 disks here, but I don't have the time to load them.)
Good luck and maybe someone else here will be able to provide more
assistance.
James McKenzie
Ouch! At this point all I can provide for help is to use Google and seewell 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 can find something on how to call a script from a menu item in
Ubuntu. My knowledge of that distribution is very limited as I only
used it as a live boot CD a long time ago (pre 7.0 days I think.) My
experience is more along RedHat/CentOS/Fedora and I've been away from
them for a while (Fedora 4 is the last distribution I installed and I do
have Fed 9 disks here, but I don't have the time to load them.)
Good luck and maybe someone else here will be able to provide more
assistance.
James McKenzie
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?
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?
You should look over at the programming section of the ubuforums. That might help you get pointed in the right direction-> Programming