<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[CrunchBang Linux Forums - Compositing]]></title>
	<link rel="self" href="http://www.crunchbanglinux.org/forums/feed/atom/topic/1551/"/>
	<updated>2010-02-19T11:39:26Z</updated>
	<generator>PunBB</generator>
	<id>http://crunchbanglinux.org/forums/topic/1551/compositing/</id>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/55877/#p55877"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>scythe wrote:</cite><blockquote><p>You can add automatic transparency....</p></blockquote></div><p>Nice script. I&#039;m using 0.9 1 0.1 which gives just a little transparency on unfocused windows and a very fast transition.</p>]]></content>
			<author>
				<name><![CDATA[tawan]]></name>
				<uri>http://crunchbanglinux.org/forums/user/709/</uri>
			</author>
			<updated>2010-02-19T11:39:26Z</updated>
			<id>http://crunchbanglinux.org/forums/post/55877/#p55877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12668/#p12668"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>if your using the default autostart setting it is using the #! settings:<br /></p><div class="codebox"><pre><code>xcompmgr -cCfF -t-5 -l-5 -r4.2 -o.55 -D6</code></pre></div><p>I just launch:<br /></p><div class="codebox"><pre><code>xcompmgr</code></pre></div><p>and I don&#039;t get the bad effects, need to see which effect is causing it.</p><p>edit: if you still want to use the crunchbang launcher you can edit /usr/bin/crunchbang/xcompmgr-crunchbang to change the settings there</p><p>edit again: testing it out and I realized it still does it, just with the default settings it&#039;s fast enough I didn&#039;t notice before</p>]]></content>
			<author>
				<name><![CDATA[iggykoopa]]></name>
				<uri>http://crunchbanglinux.org/forums/user/202/</uri>
			</author>
			<updated>2009-02-28T19:30:42Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12668/#p12668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12666/#p12666"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Hmmm...Interesting.&nbsp; I launch it from autostart.sh and still get it.&nbsp; Maybe it has something to do with what effects are being used or one of the command line settings.&nbsp; What launch string are you using?</p>]]></content>
			<author>
				<name><![CDATA[taintedsushi]]></name>
				<uri>http://crunchbanglinux.org/forums/user/904/</uri>
			</author>
			<updated>2009-02-28T19:17:11Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12666/#p12666</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12665/#p12665"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>I get that with the default compositing settings used by #! as well, haven&#039;t bothered to see which effect is causing it but if I just manually launch xcompmgr I don&#039;t have the static.</p>]]></content>
			<author>
				<name><![CDATA[iggykoopa]]></name>
				<uri>http://crunchbanglinux.org/forums/user/202/</uri>
			</author>
			<updated>2009-02-28T19:13:13Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12665/#p12665</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12663/#p12663"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Here&#039;s probably a stupid question ...</p><p>Why do I sometimes see a bunch of static like you&#039;re changing the TV channel before a dialog or popup appears? Only happens with composting on.&nbsp; I noticed also with compiz as well under ubuntu.</p>]]></content>
			<author>
				<name><![CDATA[taintedsushi]]></name>
				<uri>http://crunchbanglinux.org/forums/user/904/</uri>
			</author>
			<updated>2009-02-28T19:11:34Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12663/#p12663</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12570/#p12570"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Thanks,</p><p>That helps alot&nbsp; &nbsp;\^_^/</p>]]></content>
			<author>
				<name><![CDATA[taintedsushi]]></name>
				<uri>http://crunchbanglinux.org/forums/user/904/</uri>
			</author>
			<updated>2009-02-27T22:15:03Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12570/#p12570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12538/#p12538"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>taintedsushi wrote:</cite><blockquote><p>Is there any way to change the behavior of compositing effects?&nbsp; Removing the fade effect perhaps or adding other compositing features?</p></blockquote></div><p>Hello taintedsushi :)</p><p>Compositing is handled by <em>xcompmgr</em>. It is possible to change its behaviour by modifying the arguments with which you call it. For more information about the available arguments, enter the following command in your terminal:</p><div class="codebox"><pre><code>man xcompmgr</code></pre></div><p>Hope this helps!</p><p>@scythe: Whoa, nice script, thank you for sharing, I will be sure to check it out. :)</p>]]></content>
			<author>
				<name><![CDATA[corenominal]]></name>
				<uri>http://crunchbanglinux.org/forums/user/2/</uri>
			</author>
			<updated>2009-02-27T16:03:36Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12538/#p12538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12530/#p12530"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>You can add automatic transparency changing for active/inactive windows. First, you&#039;ll need <a href="http://www.forchheimer.se/transset-df/">transset-df</a>, then you&#039;ll need the following perl script, created by a member of the Binary Revolution forums and referred to as focustran.pl:<br /></p><div class="codebox"><pre><code>#!/usr/bin/perl -w

# This script is written by Andrei Perhinschi
# and is licensed under the GNU GPL license
# http://www.gnu.org/licenses/gpl.html

# Much thanks goes to Daniel Forchheimer (http://www.forchheimer.se/)
# for creating transset-df and the eutotrans
# script from which this script gets its inspiration

if ( !defined $ARGV[0] || !defined $ARGV[1] || !defined $ARGV[2] ) {
die &quot;Usage: focustran &lt;unfocused value&gt; &lt;focused value&gt; &lt;refresh value (secs)&gt;\n&quot;;
}

# default values
$trans_val = $ARGV[0];
$opaque_val = $ARGV[1];
$sleep_val = $ARGV[2];

# grab all window IDs
@win_ids = `xwininfo -root -all`;
foreach my $win_id ( @win_ids ) {
unless ( $win_id =~ /has\ no\ name/ || $win_id !~ /0x/ || $win_id =~ /Desktop/ ) {
 $win_id =~ /\ \&quot;/;
 $win_id = &quot;$`&quot;;
 $win_id =~ s/\s//g;
 push @id_lines, $win_id;
 }
}

print &quot;ID_LINES:@id_lines\n&quot;;

# make all windows transparent
foreach my $win_id ( @id_lines ) {
system ( &quot;transset-df --id $win_id $trans_val&quot; );
}

$old_id = 0;
# get currently focused window&#039;s ID
while ( 1 ) {
my $active_id = `xprop -root  | grep &quot;_NET_ACTIVE_WINDOW(WINDOW): window id # &quot;`;
$active_id =~ /\#\s/;
$active_id = &quot;$&#039;&quot;;
chomp $active_id;
# set active window to opaque_val and old window to trans_val
if ( $old_id ne $active_id ) {
 system ( &quot;transset-df --id $active_id $opaque_val&quot; );
 system ( &quot;transset-df --id $old_id $trans_val&quot; );
 }
$old_id = $active_id;
print &quot;active_ID:$active_id\n&quot;;
select ( undef, undef, undef, $sleep_val );
}</code></pre></div><p>You use it like this<br /></p><div class="codebox"><pre><code>perl focustran.pl &lt;value to make transparent windows&gt; &lt;value to make opaque windows&gt; &lt;value to wait between loops&gt; (I recommend 0.3-0.4)</code></pre></div><p>I hope that helps. It&#039;d be cool to see those in #! 9.04, heh.</p>]]></content>
			<author>
				<name><![CDATA[scythe]]></name>
				<uri>http://crunchbanglinux.org/forums/user/1144/</uri>
			</author>
			<updated>2009-02-27T10:07:30Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12530/#p12530</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12525/#p12525"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>gnome-settings-visualeffects has some control over it I believe, i&#039;m not entirely sure how much though...</p>]]></content>
			<author>
				<name><![CDATA[wench]]></name>
				<uri>http://crunchbanglinux.org/forums/user/146/</uri>
			</author>
			<updated>2009-02-27T05:13:34Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12525/#p12525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Compositing]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/12523/#p12523"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Is there any way to change the behavior of compositing effects?&nbsp; Removing the fade effect perhaps or adding other compositing features?</p><p>Cheers.</p>]]></content>
			<author>
				<name><![CDATA[taintedsushi]]></name>
				<uri>http://crunchbanglinux.org/forums/user/904/</uri>
			</author>
			<updated>2009-02-27T04:52:05Z</updated>
			<id>http://crunchbanglinux.org/forums/post/12523/#p12523</id>
		</entry>
</feed>

