Page 1 of 1

ON/OFF Button

PostPosted: Sun Jan 25, 2009 7:50 am
by deate
Here's a thought for all you programmer types here...develop a desktop "ON/OFF" button (if it doesn't already exist) for the gamers and video guys that would turn off and on the "Extra Effects and Compiz" with one switch on the desktop...in other words...ready to game...click the switch...Through? Click your effects back on????
If it does exist: write a How-To for it!!!

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 8:31 am
by stanca
I know this one:

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 8:39 am
by LeadFingers
This Gentoo link should get you started, create a launcher and use the script in the command section.

Several months back I read a post where someone had a script that would disable desktop effects for gaming and automatically restore them once the game was exited, of course I can't find that post now!

This post http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/910000125931 suggested running these 2 commands...
To turn off
Code: Select all
metacity --replace

To turn on
Code: Select all
compiz --replace

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 8:44 am
by deate
stanca wrote:I know this one:

Ok...now just design a nice little desktop icon button that will control both the window decorator and compiz with one click,and you got my vote! Being this lazy is never easy :lol:

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 9:08 am
by LeadFingers
Oh but you're wrong here!
Give this page a read
http://forlong.blogage.de/entries/pages/Compiz-Switch
Seems like someone already made a package to switch it on and off
compiz-switch_0.4.3~ubuntu-1_all.deb

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 9:22 am
by deate
That looks great! So now all the gamers and video guys can use this and hopefully avoid so many conflicts!

Re: ON/OFF Button

PostPosted: Sun Jan 25, 2009 2:07 pm
by pch.shot
Here is your virtual switch, Deate.

Re: ON/OFF Button

PostPosted: Mon Jan 26, 2009 5:21 am
by ixnod
Have it as a toggle button click once, "GAME ON!!" Click it again, "GAME OFF"