<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>transparent on Silicone&#39;s web</title>
		<link>https://silicone.homelinux.org/tags/transparent/</link>
		<description>Recent content in transparent on Silicone&#39;s web</description>
		<generator>Hugo</generator>
		<language>fr</language>
		
		
		
		
			<lastBuildDate>Tue, 26 Oct 2010 23:40:44 +0100</lastBuildDate>
		
			<atom:link href="https://silicone.homelinux.org/tags/transparent/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>ANSI Color support for xrootconsole</title>
				<link>https://silicone.homelinux.org/2009/04/02/ansi-color-support-for-xrootconsole/</link>
				<pubDate>Thu, 02 Apr 2009 23:34:31 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2009/04/02/ansi-color-support-for-xrootconsole/</guid>
				<description>&lt;p&gt;Having the system log on a background transparent window on the desktop look nice and can be useful (USB key plug events, network connection events and so on).&lt;br&gt;&#xA;One way is to use a terminal like &lt;code&gt;aterm&lt;/code&gt; or &lt;code&gt;Eterm&lt;/code&gt; for instance using the following command:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&#xA;aterm -tr -bl -ib 0 -title log -name log +sb -geometry &amp;#39;140x16+0+791&amp;#39; -e bash -c &amp;#34;tail --follow=name /var/log/full.log | ccze&amp;#34; &amp;amp;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With the &lt;code&gt;-title&lt;/code&gt; and &lt;code&gt;-name&lt;/code&gt; option the window decoration can be removed at the window manager level. OK, this is nice.&lt;/p&gt;&#xA;&lt;p&gt;But when using &lt;a href=&#34;http://www.fluxbox.org/&#34;&gt;fluxbox&lt;/a&gt; desktop wheeling will not work over the log as it is a window not the desktop.&lt;/p&gt;&#xA;&lt;p&gt;So I switched to &lt;code&gt;xrootconsole&lt;/code&gt;, but it has no color support… not a big deal, I just hacked it in 😉&lt;/p&gt;&#xA;&lt;p&gt;Here is a sample usage of the hacked &lt;code&gt;xrootconsole&lt;/code&gt;, the important part is the &lt;code&gt;-A&lt;/code&gt; parameter for ANSI to &lt;code&gt;ccze&lt;/code&gt; as the default is to use curses:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&#xA;tail -n 16 --follow=name /var/log/full.log | ccze -A | xrootconsole --wrap --bottomup -geometry 233x16+1+818 &amp;amp;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
			</item>
	</channel>
</rss>
